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

Method GetGroupLabel

cpp/src/Driver.cpp:6152–6166  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Gets the label for a particular group -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

6150// Gets the label for a particular group
6151//-----------------------------------------------------------------------------
6152string Driver::GetGroupLabel
6153(
6154 uint8 const _nodeId,
6155 uint8 const _groupIdx
6156)
6157{
6158 string label = "";
6159 LockGuard LG(m_nodeMutex);
6160 if( Node* node = GetNode( _nodeId ) )
6161 {
6162 label = node->GetGroupLabel( _groupIdx );
6163 }
6164
6165 return label;
6166}
6167
6168//-----------------------------------------------------------------------------
6169// <Driver::AddAssociation>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected