Go to the documentation of this file.
12 #ifndef RTCTK_COMPONENTFRAMEWORK_SERVICEDISCOVERYFILEADAPTER_HPP
13 #define RTCTK_COMPONENTFRAMEWORK_SERVICEDISCOVERYFILEADAPTER_HPP
18 #include <mal/Cii.hpp>
33 ServiceEndpoint Get(
const std::string& comp_name,
const std::string& service_name)
override;
39 static const std::string RUNTIME_REPO_ENDPOINT;
40 static const std::string PERSISTENT_REPO_ENDPOINT;
41 static const std::string OLDB_ENDPOINT;
42 DataPointPath CalcDatapointUri(
const std::string& comp_name,
const std::string& service_name);
43 std::unique_ptr<FileRepository> m_service_registry;
48 #endif // RTCTK_COMPONENTFRAMEWORK_SERVICEDISCOVERYFILEADAPTER_HPP
Definition: commandReplier.cpp:20
ServiceEndpoint GetRuntimeRepoEndpoint() override
Get the Runtime Repository Endpoint from the service registry.
Definition: fileServiceRegistryAdapter.cpp:84
elt::mal::Uri ServiceEndpoint
Definition: serviceRegistryIf.hpp:30
Class that implements a very basic service discover mechanism.
Class that implements a service registry to be used by the service discovery.
Definition: serviceRegistryIf.hpp:27
FileServiceRegistryAdapter(const elt::mal::Uri &endpoint)
Definition: fileServiceRegistryAdapter.cpp:32
ServiceEndpoint GetOldbEndpoint() override
Get the Oldb Endpoint from the service registry.
Definition: fileServiceRegistryAdapter.cpp:80
Declaration of FileRepository that provides a simple file based repository.
Class that implements a very basic service discovery mechanism.
Definition: fileServiceRegistryAdapter.hpp:29
Header file for DataPointPath.
ServiceEndpoint Get(const std::string &comp_name, const std::string &service_name) override
Get endpoint of specific service of a specific component.
Definition: fileServiceRegistryAdapter.cpp:37
This class provides a wrapper for a data point path.
Definition: dataPointPath.hpp:65
std::vector< std::string > ListComponents() override
Get known components.
Definition: fileServiceRegistryAdapter.cpp:69
ServiceEndpoint GetPersistentRepoEndpoint() override
Get the Persistent Repository Endpoint from the service registry.
Definition: fileServiceRegistryAdapter.cpp:88