Internal implementation of a Parameter. More...
#include <Parameter.hpp>
Public Types | |
| typedef std::function< bool(const T &value, const T &previous)> | OnChange |
| typedef T | ValueType |
Public Member Functions | |
| const T & | get () const noexcept |
| const boost::optional< OnChange > & | getOnChangeHandler () const |
| ParameterImpl () | |
| ParameterImpl (const T &value) | |
| bool | set (const T &value) noexcept |
| void | setOnChangeHandler (const boost::optional< OnChange > &on_change) |
Private Attributes | |
| std::mutex | mutex_ |
| boost::optional< OnChange > | on_change_ |
| T | value_ |
Internal implementation of a Parameter.
Definition at line 16 of file Parameter.hpp.
| typedef std::function<bool (const T &value, const T &previous)> astra_ros::ParameterImpl< T >::OnChange |
Definition at line 20 of file Parameter.hpp.
| typedef T astra_ros::ParameterImpl< T >::ValueType |
Definition at line 19 of file Parameter.hpp.
|
inline |
Definition at line 22 of file Parameter.hpp.
|
inline |
Definition at line 27 of file Parameter.hpp.
|
inlinenoexcept |
Definition at line 53 of file Parameter.hpp.
|
inline |
Definition at line 64 of file Parameter.hpp.
|
inlinenoexcept |
Definition at line 32 of file Parameter.hpp.
|
inline |
Definition at line 59 of file Parameter.hpp.
|
mutableprivate |
Definition at line 70 of file Parameter.hpp.
|
private |
Definition at line 73 of file Parameter.hpp.
|
private |
Definition at line 72 of file Parameter.hpp.