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

Method CreateVars

cpp/src/command_classes/Lock.cpp:155–164  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

153// Create the values managed by this command class
154//-----------------------------------------------------------------------------
155void Lock::CreateVars
156(
157 uint8 const _instance
158)
159{
160 if( Node* node = GetNodeUnsafe() )
161 {
162 node->CreateValueBool( ValueID::ValueGenre_User, GetCommandClassId(), _instance, 0, "Locked", "", false, false, false, 0 );
163 }
164}
165
166

Callers

nothing calls this directly

Calls 2

GetCommandClassIdFunction · 0.85
CreateValueBoolMethod · 0.80

Tested by

no test coverage detected