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

Method IsPrimaryController

cpp/src/Manager.cpp:510–522  ·  view source on GitHub ↗

----------------------------------------------------------------------------- -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

508//
509//-----------------------------------------------------------------------------
510bool Manager::IsPrimaryController
511(
512 uint32 const _homeId
513)
514{
515 if( Driver* driver = GetDriver( _homeId ) )
516 {
517 return driver->IsPrimaryController();
518 }
519
520 Log::Write( LogLevel_Info, "mgr, IsPrimaryController() failed - _homeId %d not found", _homeId );
521 return false;
522}
523
524//-----------------------------------------------------------------------------
525// <Manager::IsStaticUpdateController>

Callers

nothing calls this directly

Calls 1

WriteFunction · 0.85

Tested by

no test coverage detected