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

Method DisablePoll

cpp/src/Manager.cpp:750–762  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Disable polling of a value -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

748// Disable polling of a value
749//-----------------------------------------------------------------------------
750bool Manager::DisablePoll
751(
752 ValueID const &_valueId
753)
754{
755 if( Driver* driver = GetDriver( _valueId.GetHomeId() ) )
756 {
757 return( driver->DisablePoll( _valueId ) );
758 }
759
760 Log::Write( LogLevel_Info, "mgr, DisablePoll failed - Driver with Home ID 0x%.8x is not available", _valueId.GetHomeId() );
761 return false;
762}
763
764//-----------------------------------------------------------------------------
765// <Manager::isPolled>

Callers

nothing calls this directly

Calls 1

WriteFunction · 0.85

Tested by

no test coverage detected