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

Method Get

cpp/src/Scene.cpp:271–281  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Return the Scene object given the Scene Id -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

269// Return the Scene object given the Scene Id
270//-----------------------------------------------------------------------------
271Scene* Scene::Get
272(
273 uint8 const _sceneId
274)
275{
276 if ( s_scenes[_sceneId] != NULL )
277 {
278 return s_scenes[_sceneId];
279 }
280 return NULL;
281}
282
283//-----------------------------------------------------------------------------
284// <Scene::GetAllScenes>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected