#include <settings.h>
Public Member Functions | |
VariablesPublisher (const std::string &root="") | |
Constructor. | |
virtual | ~VariablesPublisher () |
Destructor. | |
void | setRoot (const std::string &root) |
Set the root of this publisher. | |
template<typename T, bool ro, Size sz, bool warningWhenInitializedWithDefaultValue> | |
void | add (T *var, const std::string &name, const StringsAccumulator &subnames=StringsAccumulator()) |
Expose a new variable. | |
template<typename T, bool ro, Size sz> | |
void | add (T *var, const std::string &name, const StringsAccumulator &subnames=StringsAccumulator()) |
Expose a new variable. | |
template<typename T, bool ro> | |
void | add (T *var, const std::string &name, const StringsAccumulator &subnames=StringsAccumulator()) |
Expose a new variable. | |
template<typename T> | |
void | add (T *var, const std::string &name, const StringsAccumulator &subnames=StringsAccumulator()) |
Expose a new variable. | |
Protected Attributes | |
std::vector< Service * > | accessors |
the services for exposing the variables | |
std::string | root |
The ishtar root of this publisher. |