astra_ros
Public Types | Public Member Functions | List of all members
astra_ros::ParameterImpl< T > Class Template Reference

Internal implementation of a Parameter. More...

#include <Parameter.hpp>

Public Types

typedef T ValueType
 
typedef std::function< bool(const T &value, const T &previous)> OnChange
 

Public Member Functions

 ParameterImpl (const T &value)
 
bool set (const T &value) noexcept
 
const T & get () const noexcept
 
void setOnChangeHandler (const boost::optional< OnChange > &on_change)
 
const boost::optional< OnChange > & getOnChangeHandler () const
 

Detailed Description

template<typename T>
class astra_ros::ParameterImpl< T >

Internal implementation of a Parameter.


The documentation for this class was generated from the following file: