rcl
master
C API providing common ROS client library functionality.
|
Go to the documentation of this file.
17 #ifndef RCL__INIT_OPTIONS_H_
18 #define RCL__INIT_OPTIONS_H_
28 #include "rcl/macros.h"
30 #include "rcl/visibility_control.h"
32 struct rcl_init_options_impl_t;
38 struct rcl_init_options_impl_t *
impl;
230 #endif // RCL__INIT_OPTIONS_H_
rcl_init_options_t rcl_get_zero_initialized_init_options(void)
Return a zero initialized rcl_init_options_t struct.
const rcl_allocator_t * rcl_init_options_get_allocator(const rcl_init_options_t *init_options)
Return the allocator stored in the init_options.
rmw_ret_t rcl_ret_t
The type that holds an rcl return code.
Definition: types.h:23
rmw_init_options_t * rcl_init_options_get_rmw_init_options(rcl_init_options_t *init_options)
Return the rmw init options which are stored internally.
Encapsulation of init options and implementation defined init options.
Definition: init_options.h:35
struct rcl_init_options_t rcl_init_options_t
Encapsulation of init options and implementation defined init options.
rcl_ret_t rcl_init_options_set_domain_id(rcl_init_options_t *init_options, size_t domain_id)
Set a domain id in the init options provided.
rcl_ret_t rcl_init_options_fini(rcl_init_options_t *init_options)
Finalize the given init_options.
struct rcl_init_options_impl_t * impl
Implementation specific pointer.
Definition: init_options.h:38
rcl_ret_t rcl_init_options_init(rcl_init_options_t *init_options, rcl_allocator_t allocator)
Initialize given init_options with the default values and implementation specific values.
rcl_ret_t rcl_init_options_get_domain_id(const rcl_init_options_t *init_options, size_t *domain_id)
Return the domain_id stored in the init options.
rcl_ret_t rcl_init_options_copy(const rcl_init_options_t *src, rcl_init_options_t *dst)
Copy the given source init_options to the destination init_options.