rmw
master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
|
Go to the documentation of this file.
15 #ifndef RMW__INIT_OPTIONS_H_
16 #define RMW__INIT_OPTIONS_H_
171 #endif // RMW__INIT_OPTIONS_H_
rcutils_allocator_t allocator
Allocator used during internal allocation of init options, if needed.
Definition: init_options.h:62
#define RMW_PUBLIC
Definition: visibility_control.h:48
rmw_localhost_only_t localhost_only
Enable localhost only.
Definition: init_options.h:56
Options structure used during rmw_init().
Definition: init_options.h:40
RMW_PUBLIC_TYPE
Type mapping of rcutils log severity types to rmw specific types.
Definition: types.h:499
Definition: security_options.h:36
rmw_ret_t rmw_init_options_fini(rmw_init_options_t *init_options)
Finalize the given init_options.
rmw_security_options_t security_options
Security options.
Definition: init_options.h:54
struct rmw_init_options_impl_t rmw_init_options_impl_t
Implementation defined options structure used during rmw_init().
Definition: init_options.h:37
#define RMW_WARN_UNUSED
Indicate that a variable is not used, and prevent compiler from issuing warnings.
Definition: macros.h:24
enum RMW_PUBLIC_TYPE rmw_localhost_only_t rmw_localhost_only_t
Used to specify if the context can only communicate through localhost.
Definition: localhost.h:26
int32_t rmw_ret_t
Return code for rmw functions.
Definition: ret_types.h:26
rmw_ret_t rmw_init_options_init(rmw_init_options_t *init_options, rcutils_allocator_t allocator)
Initialize given init_options with the default values and implementation specific values.
struct RMW_PUBLIC_TYPE rmw_init_options_t rmw_init_options_t
Options structure used during rmw_init().
rmw_init_options_impl_t * impl
Implementation defined init options.
Definition: init_options.h:65
char * enclave
Enclave, name used to find security artifacts in a sros2 keystore.
Definition: init_options.h:58
rmw_ret_t rmw_init_options_copy(const rmw_init_options_t *src, rmw_init_options_t *dst)
Copy the given source init options to the destination init options.
uint64_t instance_id
Locally (process local) unique ID that represents this init/shutdown cycle.
Definition: init_options.h:48
const char * implementation_identifier
Implementation identifier, used to ensure two different implementations are not being mixed.
Definition: init_options.h:50
size_t domain_id
ROS domain id.
Definition: init_options.h:52
rmw_init_options_t rmw_get_zero_initialized_init_options(void)
Return a zero initialized init options structure.