15 #ifndef RCLCPP__INIT_OPTIONS_HPP_
16 #define RCLCPP__INIT_OPTIONS_HPP_
22 #include "rclcpp/visibility_control.hpp"
101 finalize_init_options();
105 finalize_init_options_impl();
107 mutable std::mutex init_options_mutex_;
108 std::unique_ptr<rcl_init_options_t> init_options_;
109 bool initialize_logging_{
true};
#define rcl_get_default_allocator
Return a properly initialized rcl_allocator_t with default values.
rcutils_allocator_t rcl_allocator_t
Encapsulation of an allocator.
Encapsulation of options for initializing rclcpp.
RCLCPP_PUBLIC const rcl_init_options_t * get_rcl_init_options() const
Return the rcl init options.
RCLCPP_PUBLIC bool auto_initialize_logging() const
Return true if logging should be initialized when rclcpp::Context::init is called.
RCLCPP_PUBLIC InitOptions & operator=(const InitOptions &other)
Assignment operator.
RCLCPP_PUBLIC void use_default_domain_id()
Retrieve default domain id and set.
RCLCPP_PUBLIC size_t get_domain_id() const
Return domain id.
bool shutdown_on_signal
If true, the context will be shutdown on SIGINT by the signal handler (if it was installed).
RCLCPP_PUBLIC InitOptions(rcl_allocator_t allocator=rcl_get_default_allocator())
Constructor.
RCLCPP_PUBLIC void set_domain_id(size_t domain_id)
Set the domain id.
Versions of rosidl_typesupport_cpp::get_message_type_support_handle that handle adapted types.
Encapsulation of init options and implementation defined init options.