|
virtual | ~NodeParametersInterface ()=default |
|
virtual const rclcpp::ParameterValue & | declare_parameter (const std::string &name, const rclcpp::ParameterValue &default_value=rclcpp::ParameterValue(), const rcl_interfaces::msg::ParameterDescriptor ¶meter_descriptor=rcl_interfaces::msg::ParameterDescriptor(), bool ignore_override=false)=0 |
| Declare and initialize a parameter. More...
|
|
virtual void | undeclare_parameter (const std::string &name)=0 |
| Undeclare a parameter. More...
|
|
virtual bool | has_parameter (const std::string &name) const =0 |
| Return true if the parameter has been declared, otherwise false. More...
|
|
virtual std::vector< rcl_interfaces::msg::SetParametersResult > | set_parameters (const std::vector< rclcpp::Parameter > ¶meters)=0 |
| Set one or more parameters, one at a time. More...
|
|
virtual rcl_interfaces::msg::SetParametersResult | set_parameters_atomically (const std::vector< rclcpp::Parameter > ¶meters)=0 |
| Set and initialize a parameter, all at once. More...
|
|
virtual std::vector< rclcpp::Parameter > | get_parameters (const std::vector< std::string > &names) const =0 |
| Get descriptions of parameters given their names. More...
|
|
virtual rclcpp::Parameter | get_parameter (const std::string &name) const =0 |
| Get the description of one parameter given a name. More...
|
|
virtual bool | get_parameter (const std::string &name, rclcpp::Parameter ¶meter) const =0 |
| Get the description of one parameter given a name. More...
|
|
virtual bool | get_parameters_by_prefix (const std::string &prefix, std::map< std::string, rclcpp::Parameter > ¶meters) const =0 |
| Get all parameters that have the specified prefix into the parameters map. More...
|
|
virtual std::vector< rcl_interfaces::msg::ParameterDescriptor > | describe_parameters (const std::vector< std::string > &names) const =0 |
|
virtual std::vector< uint8_t > | get_parameter_types (const std::vector< std::string > &names) const =0 |
|
virtual rcl_interfaces::msg::ListParametersResult | list_parameters (const std::vector< std::string > &prefixes, uint64_t depth) const =0 |
|
virtual OnSetParametersCallbackHandle::SharedPtr | add_on_set_parameters_callback (OnParametersSetCallbackType callback)=0 |
| Add a callback for when parameters are being set. More...
|
|
virtual void | remove_on_set_parameters_callback (const OnSetParametersCallbackHandle *const handler)=0 |
| Remove a callback registered with add_on_set_parameters_callback . More...
|
|
virtual OnParametersSetCallbackType | set_on_parameters_set_callback (OnParametersSetCallbackType callback)=0 |
| Register a callback for when parameters are being set, return an existing one. More...
|
|
virtual const std::map< std::string, rclcpp::ParameterValue > & | get_parameter_overrides () const =0 |
| Return the initial parameter values used by the NodeParameters to override default values. More...
|
|
Pure virtual interface class for the NodeParameters part of the Node API.