Class ModeImpl
Defined in File mode_impl.hpp
Class Documentation
-
class system_modes::ModeImpl
Public Functions
-
explicit ModeImpl(const std::string &mode_name)
-
virtual ~ModeImpl() = default
-
virtual std::string get_name() const
-
virtual void add_parameter(const rclcpp::Parameter ¶meter)
-
virtual void add_parameters(const std::vector<rclcpp::Parameter> ¶meters)
-
virtual void add_part_mode(const std::string &part, const StateAndMode stateAndMode)
-
virtual void set_parameter(const rclcpp::Parameter ¶meter)
-
virtual void set_parameters(const std::vector<rclcpp::Parameter> ¶meters)
-
virtual void set_part_mode(const std::string &part, const StateAndMode stateAndMode)
-
virtual std::vector<std::string> get_parameter_names() const
-
virtual rclcpp::Parameter get_parameter(const std::string ¶m_name) const
-
virtual bool get_parameter(const std::string ¶m_name, rclcpp::Parameter ¶meter) 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
Protected Attributes
-
std::string name_
-
std::map<std::string, rclcpp::Parameter> param_
-
std::map<std::string, StateAndMode> part_modes_
-
mutable std::mutex mutex_
-
explicit ModeImpl(const std::string &mode_name)