Go to the documentation of this file.
12 #ifndef RTCTK_DATATASK_PARAMETER_HPP
13 #define RTCTK_DATATASK_PARAMETER_HPP
35 :
rtctk::componentFramework::
RtctkException(
"Parameter '" + par_name +
"' not writeable!") {}
67 void Set(T
const& value)
121 const std::string m_name;
Provides macros and utilities for exception handling.
name
Definition: wscript:15
bool IsSet()
checks if the value in paramter has been set
Definition: parameter.hpp:107
Definition: parameter.hpp:32
RtctkException() noexcept
Definition: exceptions.cpp:101
void Set(T const &value)
Set interface for setting values.
Definition: parameter.hpp:67
ParameterNotSet(const std::string &par_name)
Definition: parameter.hpp:27
void Unlock()
unlock interface
Definition: parameter.hpp:86
The RtctkException class is the base class for all Rtctk exceptions.
Definition: exceptions.hpp:207
ParameterNotWriteable(const std::string &par_name)
Definition: parameter.hpp:34
Definition: parameter.hpp:25
Class for basic handling of Paramters in read thread Gives a simple interface for locking parameters ...
Definition: parameter.hpp:46
Definition: messageQueue.hpp:20
void CheckSet()
Check if set if not set throw error.
Definition: parameter.hpp:114
Parameter(std::string const &name, T const &value)
Definition: parameter.hpp:56
Parameter(std::string const &name)
Definition: parameter.hpp:49
void Lock()
lock parameter so cannot be changed while locked
Definition: parameter.hpp:79
Definition: agnostictopicifPubSubTypes.cpp:31
T & Get()
get the value set in paramter
Definition: parameter.hpp:95