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

Method IsPresentDevice

src/libcec/CECProcessor.cpp:568–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566}
567
568bool CCECProcessor::IsPresentDevice(cec_logical_address address)
569{
570 CCECBusDevice *device = m_busDevices->At(address);
571 return device && device->GetStatus() == CEC_DEVICE_STATUS_PRESENT;
572}
573
574bool CCECProcessor::IsPresentDeviceType(cec_device_type type)
575{

Callers

nothing calls this directly

Calls 2

GetStatusMethod · 0.80
AtMethod · 0.45

Tested by

no test coverage detected