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

Method PollDevice

src/libcec/CECProcessor.cpp:400–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400bool CCECProcessor::PollDevice(cec_logical_address iAddress)
401{
402 // try to find the primary device
403 CCECBusDevice *primary = GetPrimaryDevice();
404 // poll the destination, with the primary as source
405 if (primary)
406 return primary->TransmitPoll(iAddress, true);
407
408 CCECBusDevice *device = m_busDevices->At(CECDEVICE_UNREGISTERED);
409 if (device)
410 return device->TransmitPoll(iAddress, true);
411
412 return false;
413}
414
415CCECBusDevice *CCECProcessor::GetDeviceByPhysicalAddress(uint16_t iPhysicalAddress, bool bSuppressUpdate /* = true */)
416{

Callers

nothing calls this directly

Calls 2

TransmitPollMethod · 0.45
AtMethod · 0.45

Tested by

no test coverage detected