casa
5.7.0-16
|
#include <Registrar.h>
Public Member Functions | |
Registrar () | |
virtual | ~Registrar () |
std::list< ServiceId > | services () |
get map of registrations More... | |
std::list< std::string > | types () |
get list of service types More... | |
bool | remove (std::string id) |
returns true if a registration for 'id' was found More... | |
ServiceId | add (const ServiceId &proposed) |
returns assigned identifier (likely based upon the proposed_id) More... | |
std::string | uri () |
Private Attributes | |
std::mutex | service_list_mutex |
std::list< ServiceId > | service_list |
std::mutex | uri_mutex |
std::string | uri_ |
Definition at line 71 of file Registrar.h.
casatools::Registrar::Registrar | ( | ) |
|
virtual |
returns assigned identifier (likely based upon the proposed_id)
Referenced by casatools::State::addService().
bool casatools::Registrar::remove | ( | std::string | id | ) |
returns true if a registration for 'id' was found
Referenced by casatools::State::removeService().
|
inline |
get map of registrations
Definition at line 79 of file Registrar.h.
References service_list, and service_list_mutex.
Referenced by casatools::State::services().
|
inline |
get list of service types
Definition at line 85 of file Registrar.h.
References service_list, and service_list_mutex.
|
inline |
Definition at line 101 of file Registrar.h.
References uri_, and uri_mutex.
Referenced by casatools::State::registryURI().
|
private |
Definition at line 108 of file Registrar.h.
Referenced by services(), and types().
|
private |
Definition at line 107 of file Registrar.h.
Referenced by services(), and types().
|
private |
Definition at line 110 of file Registrar.h.
Referenced by uri().
|
private |
Definition at line 109 of file Registrar.h.
Referenced by uri().