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

Method IsPresentDeviceType

src/libcec/CECProcessor.cpp:574–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572}
573
574bool CCECProcessor::IsPresentDeviceType(cec_device_type type)
575{
576 CECDEVICEVEC devices;
577 m_busDevices->GetByType(type, devices);
578 CCECDeviceMap::FilterActive(devices);
579 return !devices.empty();
580}
581
582uint16_t CCECProcessor::GetDetectedPhysicalAddress(void) const
583{

Callers

nothing calls this directly

Calls 1

GetByTypeMethod · 0.80

Tested by

no test coverage detected