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

Function ProcessCommandLA

src/cec-client/cec-client.cpp:559–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559bool ProcessCommandLA(ICECAdapter *parser, const std::string &command, std::string &arguments)
560{
561 if (command == "la")
562 {
563 cec_logical_address addr = GetAddressFromInput(arguments);
564 if ((addr != CECDEVICE_UNKNOWN) && (addr != CECDEVICE_BROADCAST))
565 {
566 parser->SetLogicalAddress(addr);
567 return true;
568 }
569 }
570
571 return false;
572}
573
574bool ProcessCommandP(ICECAdapter *parser, const std::string &command, std::string &arguments)
575{

Callers 1

ProcessConsoleCommandFunction · 0.85

Calls 2

GetAddressFromInputFunction · 0.85
SetLogicalAddressMethod · 0.45

Tested by

no test coverage detected