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

Method GetValue

cpp/src/Driver.cpp:5317–5330  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get a pointer to a Value object for the specified ValueID -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

5315// Get a pointer to a Value object for the specified ValueID
5316//-----------------------------------------------------------------------------
5317Value* Driver::GetValue
5318(
5319 ValueID const& _id
5320)
5321{
5322
5323 // This method is only called by code that has already locked the node
5324 if( Node* node = m_nodes[_id.GetNodeId()] )
5325 {
5326 return node->GetValue( _id );
5327 }
5328
5329 return NULL;
5330}
5331
5332//-----------------------------------------------------------------------------
5333// Controller commands

Callers 1

EnablePollMethod · 0.45

Calls 1

GetNodeIdMethod · 0.80

Tested by

no test coverage detected