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

Method ResetMembers

src/libcec/CECProcessor.cpp:147–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void CCECProcessor::ResetMembers(void)
148{
149 // close the connection
150 SAFE_DELETE(m_communication);
151
152 // reset the other members to the initial state
153 m_iStandardLineTimeout = 3;
154 m_iRetryLineTimeout = 3;
155 m_iLastTransmission = 0;
156 m_busDevices->ResetDeviceStatus();
157}
158
159bool CCECProcessor::OpenConnection(const char *strPort, uint16_t iBaudRate, uint32_t iTimeoutMs, bool bStartListening /* = true */)
160{

Callers

nothing calls this directly

Calls 1

ResetDeviceStatusMethod · 0.45

Tested by

no test coverage detected