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

Method SetSceneValueListSelection

cpp/src/Manager.cpp:5123–5136  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Set a scene's ValueID list item value (as string). -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

5121// Set a scene's ValueID list item value (as string).
5122//-----------------------------------------------------------------------------
5123bool Manager::SetSceneValueListSelection
5124(
5125 uint8 const _sceneId,
5126 ValueID const& _valueId,
5127 string const& _value
5128)
5129{
5130 Scene *scene = Scene::Get( _sceneId );
5131 if( scene != NULL )
5132 {
5133 return scene->SetValue( _valueId, _value );
5134 }
5135 return false;
5136}
5137
5138//-----------------------------------------------------------------------------
5139// <Manager::SetSceneValueListSelection>

Callers

nothing calls this directly

Calls 2

GetFunction · 0.70
SetValueMethod · 0.45

Tested by

no test coverage detected