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

Method CCECClient

src/libcec/CECClient.cpp:52–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50#define ToString(x) CCECTypeUtils::ToString(x)
51
52CCECClient::CCECClient(CCECProcessor *processor, const libcec_configuration &configuration) :
53 m_processor(processor),
54 m_bInitialised(false),
55 m_bRegistered(false),
56 m_iCurrentButton(CEC_USER_CONTROL_CODE_UNKNOWN),
57 m_initialButtontime(0),
58 m_updateButtontime(0),
59 m_repeatButtontime(0),
60 m_releaseButtontime(0),
61 m_pressedButtoncount(0),
62 m_releasedButtoncount(0),
63 m_iPreventForwardingPowerOffCommand(0)
64{
65 m_configuration.Clear();
66 // set the initial configuration
67 SetConfiguration(configuration);
68 CreateThread(false);
69}
70
71CCECClient::~CCECClient(void)
72{

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected