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

Function CecCommandManaged

src/dotnetlib/CecSharpTypes.h:2130–2140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2128 }
2129
2130 int CecCommandManaged(const CEC::cec_command &command)
2131 {
2132 try {
2133 CecCommand^ newCommand = gcnew CecCommand((CecLogicalAddress)command.initiator, (CecLogicalAddress)command.destination, command.ack == 1 ? true : false, command.eom == 1 ? true : false, (CecOpcode)command.opcode, command.transmit_timeout);
2134 for (uint8_t iPtr = 0; iPtr < command.parameters.size; iPtr++)
2135 newCommand->Parameters->PushBack(command.parameters[iPtr]);
2136 return ReceiveCommand(newCommand);
2137 }
2138 catch (...) {}
2139 return 0;
2140 }
2141
2142 int CecConfigManaged(const CEC::libcec_configuration &config)
2143 {

Callers

nothing calls this directly

Calls 2

CecCommandFunction · 0.70
PushBackMethod · 0.45

Tested by

no test coverage detected