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

Method ProcessCommand

src/libcec/CECProcessor.cpp:556–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554}
555
556void CCECProcessor::ProcessCommand(const cec_command &command)
557{
558 // log the command
559 m_libcec->AddLog(CEC_LOG_TRAFFIC, ToString(command).c_str());
560
561 // find the initiator
562 CCECBusDevice *device = m_busDevices->At(command.initiator);
563
564 if (device)
565 device->HandleCommand(command);
566}
567
568bool CCECProcessor::IsPresentDevice(cec_logical_address address)
569{

Callers

nothing calls this directly

Calls 4

ToStringFunction · 0.85
AddLogMethod · 0.45
AtMethod · 0.45
HandleCommandMethod · 0.45

Tested by

no test coverage detected