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

Method GetMaxAssociations

cpp/src/Node.cpp:3016–3028  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Gets the maximum number of associations for a group -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

3014// Gets the maximum number of associations for a group
3015//-----------------------------------------------------------------------------
3016uint8 Node::GetMaxAssociations
3017(
3018 uint8 const _groupIdx
3019)
3020{
3021 uint8 maxAssociations = 0;
3022 if( Group* group = GetGroup( _groupIdx ) )
3023 {
3024 maxAssociations = group->GetMaxAssociations();
3025 }
3026
3027 return maxAssociations;
3028}
3029
3030//-----------------------------------------------------------------------------
3031// <Node::IsMultiInstance>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected