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

Method PollDevice

src/libcec/CECClient.cpp:1498–1507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1496}
1497
1498bool CCECClient::PollDevice(const cec_logical_address iAddress)
1499{
1500 // try to find the primary device
1501 CCECBusDevice *primary = GetPrimaryDevice();
1502 // poll the destination, with the primary as source
1503 if (primary)
1504 return primary->TransmitPoll(iAddress, true);
1505
1506 return m_processor ? m_processor->PollDevice(iAddress) : false;
1507}
1508
1509cec_logical_addresses CCECClient::GetActiveDevices(void)
1510{

Callers

nothing calls this directly

Calls 1

TransmitPollMethod · 0.45

Tested by

no test coverage detected