MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / GetSceneLabel

Method GetSceneLabel

cpp/src/Manager.cpp:5163–5174  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Return a scene's label -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

5161// Return a scene's label
5162//-----------------------------------------------------------------------------
5163string Manager::GetSceneLabel
5164(
5165 uint8 const _sceneId
5166)
5167{
5168 Scene *scene = Scene::Get( _sceneId );
5169 if( scene != NULL )
5170 {
5171 return scene->GetLabel();
5172 }
5173 return NULL;
5174}
5175
5176//-----------------------------------------------------------------------------
5177// <Manager::SetSceneLabel>

Callers

nothing calls this directly

Calls 2

GetFunction · 0.70
GetLabelMethod · 0.45

Tested by

no test coverage detected