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

Method GetNodeUnsafe

cpp/src/Driver.cpp:922–932  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Returns a pointer to the requested node without locking. Only to be used by main thread code. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

920// Only to be used by main thread code.
921//-----------------------------------------------------------------------------
922Node* Driver::GetNodeUnsafe
923(
924 uint8 _nodeId
925)
926{
927 if( Node* node = m_nodes[_nodeId] )
928 {
929 return node;
930 }
931 return NULL;
932}
933
934//-----------------------------------------------------------------------------
935// <Driver::GetNode>

Callers 5

CheckAutoMethod · 0.45
AddAssociationMethod · 0.45
RemoveAssociationMethod · 0.45
OnGroupChangedMethod · 0.45
SetInstanceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected