Class CClientGate

Class Documentation

class CClientGate

Public Functions

CClientGate()
~CClientGate()
void Start()
void Stop()
bool Register(const std::string &service_name_, const std::shared_ptr<CServiceClientImpl> &client_)
bool Unregister(const std::string &service_name_, const std::shared_ptr<CServiceClientImpl> &client_)
void ApplyServiceRegistration(const Registration::Sample &ecal_sample_)
void GetRegistrations(Registration::SampleList &reg_sample_list_)

Protected Types

using ServiceNameClientIDImplMapT = std::multimap<std::string, std::shared_ptr<CServiceClientImpl>>

Protected Attributes

std::shared_timed_mutex m_service_client_map_mutex
ServiceNameClientIDImplMapT m_service_client_map

Protected Static Attributes

static std::atomic<bool> m_created