15 #ifndef RCLCPP__NODE_OPTIONS_HPP_ 16 #define RCLCPP__NODE_OPTIONS_HPP_ 130 template<
typename ParameterT>
278 bool automatically_declare_parameters_from_overrides);
313 bool use_global_arguments_ {
true};
315 bool use_intra_process_comms_ {
false};
317 bool start_parameter_services_ {
true};
319 bool start_parameter_event_publisher_ {
true};
327 bool allow_undeclared_parameters_ {
false};
329 bool automatically_declare_parameters_from_overrides_ {
false};
336 #endif // RCLCPP__NODE_OPTIONS_HPP_ NodeOptions & operator=(const NodeOptions &other)
Assignment operator.
DefaultContext::SharedPtr get_global_default_context()
Non-templated part of PublisherOptionsWithAllocator<Allocator>.
Definition: publisher_options.hpp:39
const rclcpp::PublisherOptionsBase & parameter_event_publisher_options() const
Return a reference to the parameter_event_publisher_options.
Encapsulation of Quality of Service settings.
Definition: qos.hpp:55
bool use_global_arguments() const
Return the use_global_arguments flag.
Encapsulation of options for node initialization.
Definition: node_options.hpp:34
virtual ~NodeOptions()=default
Destructor.
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
const std::vector< std::string > & arguments() const
Return a reference to the list of arguments for the node.
const rcl_node_options_t * get_rcl_node_options() const
Return the rcl_node_options used by the node.
static QoSInitialization from_rmw(const rmw_qos_profile_t &rmw_qos)
Create a QoSInitialization from an existing rmw_qos_profile_t, using its history and depth...
NodeOptions(rcl_allocator_t allocator=rcl_get_default_allocator())
Create NodeOptions with default values, optionally specifying the allocator to use.
bool automatically_declare_parameters_from_overrides() const
Return the automatically_declare_parameters_from_overrides flag.
bool allow_undeclared_parameters() const
Return the allow_undeclared_parameters flag.
const rcl_allocator_t & allocator() const
Return the rcl_allocator_t to be used.
NodeOptions & append_parameter_override(const std::string &name, const ParameterT &value)
Append a single parameter override, parameter idiom style.
Definition: node_options.hpp:132
const rclcpp::QoS & parameter_event_qos() const
Return a reference to the parameter_event_qos QoS.
std::vector< rclcpp::Parameter > & parameter_overrides()
Return a reference to the list of parameter overrides.
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
Set the data type used in the intra-process buffer as std::shared_ptr<MessageT>
Store the type and value of a parameter.
Definition: parameter_value.hpp:71
#define rcl_get_default_allocator
bool start_parameter_event_publisher() const
Return the start_parameter_event_publisher flag.
rclcpp::Context::SharedPtr context() const
Return the context to be used by the node.
bool use_intra_process_comms() const
Return the use_intra_process_comms flag.
bool start_parameter_services() const
Return the start_parameter_services flag.
size_t get_domain_id_from_env() const
Retrieve the ROS_DOMAIN_ID environment variable and populate options.
T emplace_back(T... args)