rclcpp
master
C++ ROS Client Library API
|
Go to the documentation of this file.
15 #ifndef RCLCPP__INIT_OPTIONS_HPP_
16 #define RCLCPP__INIT_OPTIONS_HPP_
20 #include "rcl/init_options.h"
40 explicit InitOptions(rcl_allocator_t allocator = rcl_get_default_allocator());
89 bool initialize_logging_{
true};
94 #endif // RCLCPP__INIT_OPTIONS_HPP_
InitOptions & operator=(const InitOptions &other)
Assignment operator.
InitOptions(rcl_allocator_t allocator=rcl_get_default_allocator())
Constructor.
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
const rcl_init_options_t * get_rcl_init_options() const
Return the rcl init options.
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
bool shutdown_on_sigint
If true, the context will be shutdown on SIGINT by the signal handler (if it was installed).
Definition: init_options.hpp:31
bool auto_initialize_logging() const
Return true if logging should be initialized when rclcpp::Context::init is called.
void finalize_init_options()
Encapsulation of options for initializing rclcpp.
Definition: init_options.hpp:27