MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / SwitchMonitoring

Method SwitchMonitoring

src/libcec/CECClient.cpp:1484–1496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1482}
1483
1484bool CCECClient::SwitchMonitoring(bool bEnable)
1485{
1486 LIB_CEC->AddLog(CEC_LOG_NOTICE, "== %s monitoring mode ==", bEnable ? "enabling" : "disabling");
1487
1488 if (m_processor)
1489 {
1490 m_processor->SwitchMonitoring(bEnable);
1491 m_configuration.bMonitorOnly = bEnable;
1492 return bEnable ? true: m_processor->RegisterClient(this);
1493 }
1494
1495 return false;
1496}
1497
1498bool CCECClient::PollDevice(const cec_logical_address iAddress)
1499{

Callers

nothing calls this directly

Calls 2

AddLogMethod · 0.45
RegisterClientMethod · 0.45

Tested by

no test coverage detected