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

Method QueueCommandHandler

src/libcec/CECClient.cpp:1670–1679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1668}
1669
1670int CCECClient::QueueCommandHandler(const cec_command& command)
1671{
1672 CCallbackWrap *wrapState = new CCallbackWrap(command, true);
1673 m_callbackCalls.Push(wrapState);
1674 int result(wrapState->Result(1000));
1675
1676 if (wrapState->m_keepResult)
1677 delete wrapState;
1678 return result;
1679}
1680
1681void* CCECClient::Process(void)
1682{

Callers 1

CommandHandlerCBMethod · 0.80

Calls 2

PushMethod · 0.80
ResultMethod · 0.45

Tested by

no test coverage detected