LocalGuidance
A library that generates velocity references to follow a path.
parameter_handler::ParameterInterface Class Reference

#include <ParameterInterface.hpp>

Inheritance diagram for parameter_handler::ParameterInterface:
Inheritance graph

Public Member Functions

 ParameterInterface ()
 
 ParameterInterface (const ParameterInterface &other)
 
virtual ~ParameterInterface ()
 
const std::string & getName () const
 
void setName (const std::string &name)
 
const std::type_index & getType () const
 
template<typename ValueType_ >
const ValueType_ & getValue () const
 
template<typename ValueType_ >
const ValueType_ & getMinValue () const
 
template<typename ValueType_ >
const ValueType_ & getMaxValue () const
 
template<typename ValueType_ >
const ValueType_ & getDefaultValue () const
 
template<typename ValueType_ >
void setValue (const ValueType_ &value)
 
template<typename ValueType_ >
void setMinValue (const ValueType_ &value)
 
template<typename ValueType_ >
void setMaxValue (const ValueType_ &value)
 
template<typename ValueType_ >
void setDefaultValue (const ValueType_ &value)
 
ParameterInterface clone () const
 
ParameterInterfaceoperator= (const ParameterInterface &other)
 
void notifyObservers ()
 
void addObserver (ParameterObserverInterface *observer)
 
void removeObserver (ParameterObserverInterface *observer)
 

Protected Member Functions

 ParameterInterface (const std::type_index &type, const internal::ParameterValuePtr &value, const std::string &name=std::string())
 

Protected Attributes

std::type_index type_
 
internal::ParameterValuePtr value_
 
std::string name_
 

Constructor & Destructor Documentation

parameter_handler::ParameterInterface::ParameterInterface ( const std::type_index &  type,
const internal::ParameterValuePtr &  value,
const std::string &  name = std::string() 
)
inlineprotected
parameter_handler::ParameterInterface::ParameterInterface ( )
inline
parameter_handler::ParameterInterface::ParameterInterface ( const ParameterInterface other)
inline
virtual parameter_handler::ParameterInterface::~ParameterInterface ( )
inlinevirtual

Member Function Documentation

void parameter_handler::ParameterInterface::addObserver ( ParameterObserverInterface observer)
inline
ParameterInterface parameter_handler::ParameterInterface::clone ( ) const
inline
template<typename ValueType_ >
const ValueType_& parameter_handler::ParameterInterface::getDefaultValue ( ) const
inline
template<typename ValueType_ >
const ValueType_& parameter_handler::ParameterInterface::getMaxValue ( ) const
inline
template<typename ValueType_ >
const ValueType_& parameter_handler::ParameterInterface::getMinValue ( ) const
inline
const std::string& parameter_handler::ParameterInterface::getName ( ) const
inline
const std::type_index& parameter_handler::ParameterInterface::getType ( ) const
inline
template<typename ValueType_ >
const ValueType_& parameter_handler::ParameterInterface::getValue ( ) const
inline
void parameter_handler::ParameterInterface::notifyObservers ( )
inline
ParameterInterface& parameter_handler::ParameterInterface::operator= ( const ParameterInterface other)
inline
void parameter_handler::ParameterInterface::removeObserver ( ParameterObserverInterface observer)
inline
template<typename ValueType_ >
void parameter_handler::ParameterInterface::setDefaultValue ( const ValueType_ &  value)
inline
template<typename ValueType_ >
void parameter_handler::ParameterInterface::setMaxValue ( const ValueType_ &  value)
inline
template<typename ValueType_ >
void parameter_handler::ParameterInterface::setMinValue ( const ValueType_ &  value)
inline
void parameter_handler::ParameterInterface::setName ( const std::string &  name)
inline
template<typename ValueType_ >
void parameter_handler::ParameterInterface::setValue ( const ValueType_ &  value)
inline

Member Data Documentation

std::string parameter_handler::ParameterInterface::name_
protected
std::type_index parameter_handler::ParameterInterface::type_
protected
internal::ParameterValuePtr parameter_handler::ParameterInterface::value_
protected

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