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

Method CreateVars

cpp/src/command_classes/MeterPulse.cpp:131–140  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

129// Create the values managed by this command class
130//-----------------------------------------------------------------------------
131void MeterPulse::CreateVars
132(
133 uint8 const _instance
134)
135{
136 if( Node* node = GetNodeUnsafe() )
137 {
138 node->CreateValueInt( ValueID::ValueGenre_User, GetCommandClassId(), _instance, 0, "Count", "", true, false, 0, 0 );
139 }
140}
141
142
143

Callers

nothing calls this directly

Calls 2

GetCommandClassIdFunction · 0.85
CreateValueIntMethod · 0.80

Tested by

no test coverage detected