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

Method GetNodeBasic

cpp/src/Driver.cpp:4842–4855  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the basic type of a node -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4840// Get the basic type of a node
4841//-----------------------------------------------------------------------------
4842uint8 Driver::GetNodeBasic
4843(
4844 uint8 const _nodeId
4845)
4846{
4847 uint8 basic = 0;
4848 LockGuard LG(m_nodeMutex);
4849 if( Node* node = GetNode( _nodeId ) )
4850 {
4851 basic = node->GetBasic();
4852 }
4853
4854 return basic;
4855}
4856
4857//-----------------------------------------------------------------------------
4858// <Driver::GetNodeGeneric>

Callers

nothing calls this directly

Calls 1

GetBasicMethod · 0.80

Tested by

no test coverage detected