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

Method GetValue

cpp/src/command_classes/CommandClass.cpp:140–152  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get a pointer to a value by its instance and index -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

138// Get a pointer to a value by its instance and index
139//-----------------------------------------------------------------------------
140Value* CommandClass::GetValue
141(
142 uint8 const _instance,
143 uint16 const _index
144)
145{
146 Value* value = NULL;
147 if( Node* node = GetNodeUnsafe() )
148 {
149 value = node->GetValue( GetCommandClassId(), _instance, _index );
150 }
151 return value;
152}
153
154//-----------------------------------------------------------------------------
155// <CommandClass::RemoveValue>

Callers 15

SetValueMethod · 0.45
SetValueMethod · 0.45
SetValueMethod · 0.45
SetValueMethod · 0.45
SetStateMethod · 0.45
SetValueMethod · 0.45
SetValueMethod · 0.45
SetValueMethod · 0.45
SetValueMethod · 0.45
SetMethod · 0.45
TestMethod · 0.45
HandleMsgMethod · 0.45

Calls 1

GetCommandClassIdFunction · 0.85

Tested by 1

TestMethod · 0.36