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

Method GetAssociations

cpp/src/Driver.cpp:6071–6086  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Gets the associations for a group -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

6069// Gets the associations for a group
6070//-----------------------------------------------------------------------------
6071uint32 Driver::GetAssociations
6072(
6073 uint8 const _nodeId,
6074 uint8 const _groupIdx,
6075 uint8** o_associations
6076)
6077{
6078 uint32 numAssociations = 0;
6079 LockGuard LG(m_nodeMutex);
6080 if( Node* node = GetNode( _nodeId ) )
6081 {
6082 numAssociations = node->GetAssociations( _groupIdx, o_associations );
6083 }
6084
6085 return numAssociations;
6086}
6087
6088//-----------------------------------------------------------------------------
6089// <Driver::GetAssociations>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected