rclcpp
master
C++ ROS Client Library API
|
Encapsulation of options for initializing rclcpp. More...
#include <init_options.hpp>
Public Member Functions | |
InitOptions (rcl_allocator_t allocator=rcl_get_default_allocator()) | |
Constructor which allows you to specify the allocator used within the init options. More... | |
InitOptions (const rcl_init_options_t &init_options) | |
Constructor which is initialized by an existing init_options. More... | |
InitOptions (const InitOptions &other) | |
Copy constructor. More... | |
InitOptions & | operator= (const InitOptions &other) |
Assignment operator. More... | |
virtual | ~InitOptions () |
const rcl_init_options_t * | get_rcl_init_options () const |
Return the rcl init options. More... | |
Public Attributes | |
bool | shutdown_on_sigint = true |
If true, the context will be shutdown on SIGINT by the signal handler (if it was installed). More... | |
Protected Member Functions | |
void | finalize_init_options () |
Encapsulation of options for initializing rclcpp.
|
explicit |
Constructor which allows you to specify the allocator used within the init options.
|
explicit |
Constructor which is initialized by an existing init_options.
rclcpp::InitOptions::InitOptions | ( | const InitOptions & | other | ) |
Copy constructor.
|
virtual |
InitOptions& rclcpp::InitOptions::operator= | ( | const InitOptions & | other | ) |
Assignment operator.
const rcl_init_options_t* rclcpp::InitOptions::get_rcl_init_options | ( | ) | const |
Return the rcl init options.
|
protected |
bool rclcpp::InitOptions::shutdown_on_sigint = true |
If true, the context will be shutdown on SIGINT by the signal handler (if it was installed).