15 #ifndef RCLCPP__NODE_INTERFACES__NODE_PARAMETERS_HPP_ 16 #define RCLCPP__NODE_INTERFACES__NODE_PARAMETERS_HPP_ 23 #include "rcl_interfaces/msg/list_parameters_result.hpp" 24 #include "rcl_interfaces/msg/parameter_descriptor.hpp" 25 #include "rcl_interfaces/msg/parameter_event.hpp" 26 #include "rcl_interfaces/msg/set_parameters_result.hpp" 40 namespace node_interfaces
51 const node_interfaces::NodeBaseInterface::SharedPtr node_base,
52 const node_interfaces::NodeTopicsInterface::SharedPtr node_topics,
53 const node_interfaces::NodeServicesInterface::SharedPtr node_services,
54 const node_interfaces::NodeClockInterface::SharedPtr node_clock,
56 bool use_intra_process,
57 bool start_parameter_services);
71 rcl_interfaces::msg::SetParametersResult
104 rcl_interfaces::msg::ListParametersResult
127 node_interfaces::NodeClockInterface::SharedPtr node_clock_;
133 #endif // RCLCPP__NODE_INTERFACES__NODE_PARAMETERS_HPP_ virtual rcl_interfaces::msg::SetParametersResult set_parameters_atomically(const std::vector< rclcpp::Parameter > ¶meters)
virtual std::vector< rcl_interfaces::msg::ParameterDescriptor > describe_parameters(const std::vector< std::string > &names) const
virtual rcl_interfaces::msg::ListParametersResult list_parameters(const std::vector< std::string > &prefixes, uint64_t depth) const
#define RCLCPP_DISABLE_COPY(...)
Definition: macros.hpp:26
Structure to store an arbitrary parameter with templated get/set methods.
Definition: parameter.hpp:32
#define RCLCPP_SMART_PTR_ALIASES_ONLY(...)
Definition: macros.hpp:66
Definition: allocator_common.hpp:24
virtual void register_param_change_callback(ParametersCallbackFunction callback)
NodeParameters(const node_interfaces::NodeBaseInterface::SharedPtr node_base, const node_interfaces::NodeTopicsInterface::SharedPtr node_topics, const node_interfaces::NodeServicesInterface::SharedPtr node_services, const node_interfaces::NodeClockInterface::SharedPtr node_clock, const std::vector< Parameter > &initial_parameters, bool use_intra_process, bool start_parameter_services)
virtual ~NodeParameters()
virtual std::vector< rcl_interfaces::msg::SetParametersResult > set_parameters(const std::vector< rclcpp::Parameter > ¶meters)
A publisher publishes messages of any type to a topic.
Definition: publisher.hpp:155
virtual rclcpp::Parameter get_parameter(const std::string &name) const
Get the description of one parameter given a name.
Implementation of the NodeParameters part of the Node API.
Definition: node_parameters.hpp:44
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Pure virtual interface class for the NodeParameters part of the Node API.
Definition: node_parameters_interface.hpp:35
virtual std::vector< uint8_t > get_parameter_types(const std::vector< std::string > &names) const
virtual std::vector< rclcpp::Parameter > get_parameters(const std::vector< std::string > &names) const
Get descriptions of parameters given their names.