Class ModeBase
Defined in File mode.hpp
Inheritance Relationships
Derived Types
public system_modes::DefaultMode
(Class DefaultMode)public system_modes::Mode
(Class Mode)
Class Documentation
-
class system_modes::ModeBase
Subclassed by system_modes::DefaultMode, system_modes::Mode
Public Functions
-
explicit ModeBase(const std::string &mode_name)
-
virtual ~ModeBase() = default
-
std::string get_name() const
-
virtual void set_parameter(const rclcpp::Parameter ¶meter) = 0
-
virtual void set_parameters(const std::vector<rclcpp::Parameter> ¶meters) = 0
-
virtual void set_part_mode(const std::string &part, const StateAndMode stateAndMode) = 0
-
virtual rclcpp::Parameter get_parameter(const std::string ¶m_name) const
-
virtual std::vector<std::string> get_parameter_names() const
-
virtual const std::vector<rclcpp::Parameter> get_parameters() const
-
virtual const std::vector<std::string> get_parts() const
-
virtual const StateAndMode get_part_mode(const std::string &part) const
-
virtual std::string print() const
-
explicit ModeBase(const std::string &mode_name)