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

Method GetNumGroups

cpp/src/Driver.cpp:6052–6065  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Gets the number of association groups reported by this node -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

6050// Gets the number of association groups reported by this node
6051//-----------------------------------------------------------------------------
6052uint8 Driver::GetNumGroups
6053(
6054 uint8 const _nodeId
6055)
6056{
6057 uint8 numGroups = 0;
6058 LockGuard LG(m_nodeMutex);
6059 if( Node* node = GetNode( _nodeId ) )
6060 {
6061 numGroups = node->GetNumGroups();
6062 }
6063
6064 return numGroups;
6065}
6066
6067//-----------------------------------------------------------------------------
6068// <Driver::GetAssociations>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected