13#ifndef RTCTK_COMPONENTFRAMEWORK_SERVERALIASCACHE_HPP
14#define RTCTK_COMPONENTFRAMEWORK_SERVERALIASCACHE_HPP
60 for (
const auto&
entry : m_cache) {
62 found != std::string::npos) {
63 return std::get<1>(
entry);
73 std::vector<std::tuple<std::string, std::string>> m_cache;
This class provides a wrapper for a data point path.
Definition dataPointPath.hpp:74
const std::string & ToString() const noexcept
Get string representing the DataPointPath.
Definition dataPointPath.hpp:428
A utility class used to lookup the Server Alias for a given Data Point Path.
Definition serverAliasCache.hpp:30
std::string GetServerAlias(const DataPointPath &path)
Get Server Alias for a specific datapoint.
Definition serverAliasCache.hpp:56
void AddServerAlias(const DataPointPath &path, const std::string &alias)
Adds a new entry into the Cache.
Definition serverAliasCache.hpp:45
void Clear()
Clears the Cache.
Definition serverAliasCache.hpp:35
Header file for DataPointPath.
Definition commandReplier.cpp:22
elt::mal::future< std::string > InjectReqRepEvent(StateMachineEngine &engine)
Definition malEventInjector.hpp:23