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
61 const node_interfaces::NodeBaseInterface::SharedPtr node_base,
62 const node_interfaces::NodeLoggingInterface::SharedPtr node_logging,
63 const node_interfaces::NodeTopicsInterface::SharedPtr node_topics,
64 const node_interfaces::NodeServicesInterface::SharedPtr node_services,
65 const node_interfaces::NodeClockInterface::SharedPtr node_clock,
67 bool start_parameter_services,
68 bool start_parameter_event_publisher,
71 bool allow_undeclared_parameters,
72 bool automatically_declare_parameters_from_overrides);
83 const rcl_interfaces::msg::ParameterDescriptor & parameter_descriptor)
override;
87 undeclare_parameter(
const std::string & name)
override;
91 has_parameter(
const std::string & name)
const override;
99 rcl_interfaces::msg::SetParametersResult
100 set_parameters_atomically(
109 get_parameter(
const std::string & name)
const override;
119 get_parameters_by_prefix(
132 rcl_interfaces::msg::ListParametersResult
139 [[deprecated(
"use set_on_parameters_set_callback() instead")]]
146 get_parameter_overrides()
const override;
159 bool allow_undeclared_ =
false;
167 node_interfaces::NodeLoggingInterface::SharedPtr node_logging_;
168 node_interfaces::NodeClockInterface::SharedPtr node_clock_;
174 #endif // RCLCPP__NODE_INTERFACES__NODE_PARAMETERS_HPP_
#define RCLCPP_DISABLE_COPY(...)
Definition: macros.hpp:26
Non-templated part of PublisherOptionsWithAllocator<Allocator>.
Definition: publisher_options.hpp:33
rcl_interfaces::msg::ParameterDescriptor descriptor
A description of the parameter.
Definition: node_parameters.hpp:50
Encapsulation of Quality of Service settings.
Definition: qos.hpp:55
Structure to store an arbitrary parameter with templated get/set methods.
Definition: parameter.hpp:51
#define RCLCPP_SMART_PTR_ALIASES_ONLY(...)
Definition: macros.hpp:66
This header provides the get_node_topics_interface() template function.
Definition: allocator_common.hpp:24
rclcpp::ParameterValue value
Current value of the parameter.
Definition: node_parameters.hpp:47
A publisher publishes messages of any type to a topic.
Definition: publisher.hpp:46
Definition: node_parameters.hpp:44
Implementation of the NodeParameters part of the Node API.
Definition: node_parameters.hpp:54
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Store the type and value of a parameter.
Definition: parameter_value.hpp:71
Pure virtual interface class for the NodeParameters part of the Node API.
Definition: node_parameters_interface.hpp:36