1#include "state_representation/parameters/ParameterInterface.hpp"
7) :
State(name), parameter_type_(type), parameter_state_type_(parameter_state_type) {
13 parameter_type_(parameter.get_parameter_type()),
14 parameter_state_type_(parameter.get_parameter_state_type()) {
15 this->
set_type(StateType::PARAMETER);
20 this->parameter_type_ = state.get_parameter_type();
21 this->parameter_state_type_ = state.get_parameter_state_type();
26 return parameter_type_;
30 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.
void set_type(const StateType &type)
Setter of the state type attribute.
State & operator=(const State &state)
Copy assignment operator that has 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.