1#include "state_representation/parameters/ParameterInterface.hpp"
7) :
State(
StateType::PARAMETER, name), parameter_type_(type), parameter_state_type_(parameter_state_type) {}
11 parameter_type_(parameter.get_parameter_type()),
12 parameter_state_type_(parameter.get_parameter_state_type()) {}
16 this->parameter_type_ = state.get_parameter_type();
17 this->parameter_state_type_ = state.get_parameter_state_type();
22 return parameter_type_;
26 return parameter_state_type_;
StateType get_parameter_state_type() const
Get the state type of the parameter.
ParameterInterface & operator=(const ParameterInterface &state)
Copy assignment operator that has to be defined to the custom assignment operator.
ParameterType get_parameter_type() const
Get the parameter type.
ParameterInterface(const std::string &name, const ParameterType &type, const StateType ¶meter_state_type=StateType::NONE)
Constructor with parameter name and type.
Abstract class to represent a state.
State & operator=(const State &state)
Copy assignment operator that have to be defined to the custom assignment operator.
Core state variables and objects.
ParameterType
The parameter value types.
StateType
The class types inheriting from State.