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

Method GetNodeGeneric

cpp/src/Driver.cpp:4861–4874  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Get the generic type of a node -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4859// Get the generic type of a node
4860//-----------------------------------------------------------------------------
4861uint8 Driver::GetNodeGeneric
4862(
4863 uint8 const _nodeId
4864)
4865{
4866 uint8 genericType = 0;
4867 LockGuard LG(m_nodeMutex);
4868 if( Node* node = GetNode( _nodeId ) )
4869 {
4870 genericType = node->GetGeneric();
4871 }
4872
4873 return genericType;
4874}
4875
4876//-----------------------------------------------------------------------------
4877// <Driver::GetNodeSpecific>

Callers

nothing calls this directly

Calls 1

GetGenericMethod · 0.80

Tested by

no test coverage detected