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

Method IsMultiInstance

cpp/src/Driver.cpp:6133–6146  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Returns true if group supports multi instance -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

6131// Returns true if group supports multi instance
6132//-----------------------------------------------------------------------------
6133bool Driver::IsMultiInstance
6134(
6135 uint8 const _nodeId,
6136 uint8 const _groupIdx
6137)
6138{
6139 bool multiInstance = false;
6140 LockGuard LG(m_nodeMutex);
6141 if( Node* node = GetNode( _nodeId ) )
6142 {
6143 multiInstance = node->IsMultiInstance( _groupIdx );
6144 }
6145 return multiInstance;
6146}
6147
6148//-----------------------------------------------------------------------------
6149// <Driver::GetGroupLabel>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected