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

Method CreateVars

cpp/src/command_classes/SceneActivation.cpp:160–170  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Create the values managed by this command class -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

158// Create the values managed by this command class
159//-----------------------------------------------------------------------------
160void SceneActivation::CreateVars
161(
162 uint8 const _instance
163)
164{
165 if( Node* node = GetNodeUnsafe() )
166 {
167 node->CreateValueInt( ValueID::ValueGenre_User, GetCommandClassId(), _instance, SceneActivationIndex_SceneID, "Scene", "", true, false, 0, 0 );
168 node->CreateValueInt( ValueID::ValueGenre_User, GetCommandClassId(), _instance, SceneActivationIndex_Duration, "Duration", "", true, false, 0, 0 );
169 }
170}

Callers

nothing calls this directly

Calls 2

GetCommandClassIdFunction · 0.85
CreateValueIntMethod · 0.80

Tested by

no test coverage detected