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

Method CreateVars

cpp/src/command_classes/SwitchToggleMultilevel.cpp:191–200  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

189// Create the values managed by this command class
190//-----------------------------------------------------------------------------
191void SwitchToggleMultilevel::CreateVars
192(
193 uint8 const _instance
194)
195{
196 if( Node* node = GetNodeUnsafe() )
197 {
198 node->CreateValueByte( ValueID::ValueGenre_User, GetCommandClassId(), _instance, 0, "Level", "", false, false, 0, 0 );
199 }
200}
201

Callers

nothing calls this directly

Calls 2

GetCommandClassIdFunction · 0.85
CreateValueByteMethod · 0.80

Tested by

no test coverage detected