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

Method GetClient

src/libcec/CECProcessor.cpp:1032–1039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1030}
1031
1032CECClientPtr CCECProcessor::GetClient(const cec_logical_address address)
1033{
1034 CLockObject lock(m_mutex);
1035 std::map<cec_logical_address, CECClientPtr>::const_iterator client = m_clients.find(address);
1036 if (client != m_clients.end())
1037 return client->second;
1038 return CECClientPtr();
1039}
1040
1041CECClientPtr CCECProcessor::GetPrimaryClient(void)
1042{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected