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

Method CreateVars

cpp/src/command_classes/SensorBinary.cpp:234–243  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

232// Create the values managed by this command class
233//-----------------------------------------------------------------------------
234void SensorBinary::CreateVars
235(
236 uint8 const _instance
237)
238{
239 if( Node* node = GetNodeUnsafe() )
240 {
241 node->CreateValueBool( ValueID::ValueGenre_User, GetCommandClassId(), _instance, 0, "Sensor", "", true, false, false, 0 );
242 }
243}

Callers

nothing calls this directly

Calls 2

GetCommandClassIdFunction · 0.85
CreateValueBoolMethod · 0.80

Tested by

no test coverage detected