Class Mode

Inheritance Relationships

Base Type

Class Documentation

class system_modes::Mode : public system_modes::ModeBase

Represents a (non-default) system mode.

For default modes of nodes it holds the according parametrization, for default modes of systems, it holds the according states and modes of its system parts.

Public Functions

explicit Mode(const std::string &mode_name) = delete
Mode(const std::string &mode_name, const DefaultModePtr default_mode)
virtual ~Mode() = default
virtual void set_parameter(const rclcpp::Parameter &parameter)
virtual void set_parameters(const std::vector<rclcpp::Parameter> &parameters)
virtual void set_part_mode(const std::string &part, const StateAndMode stateAndMode)