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

Method GetDevicePowerStatus

src/libcec/CECClient.cpp:712–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712cec_power_status CCECClient::GetDevicePowerStatus(const cec_logical_address iAddress)
713{
714 CCECBusDevice *device = m_processor->GetDevice(iAddress);
715 if (device)
716 return device->GetPowerStatus(GetPrimaryLogicalAddress());
717 return CEC_POWER_STATUS_UNKNOWN;
718}
719
720uint32_t CCECClient::GetDeviceVendorId(const cec_logical_address iAddress)
721{

Callers

nothing calls this directly

Calls 2

GetPowerStatusMethod · 0.80
GetDeviceMethod · 0.45

Tested by

no test coverage detected