rcl_ret_t rcl_context_get_domain_id(rcl_context_t *context, size_t *domain_id)
Returns the context domain id.
rcl_context_t rcl_get_zero_initialized_context(void)
Return a zero initialization context object.
rcl_arguments_t global_arguments
Global arguments for all nodes which share this context.
Definition: context.h:117
struct rcl_context_impl_t * impl
Implementation specific pointer.
Definition: context.h:120
uint64_t rcl_context_instance_id_t
A unique ID per context instance.
Definition: context.h:44
rmw_context_t * rcl_context_get_rmw_context(rcl_context_t *context)
Return pointer to the rmw context if the given context is currently valid, otherwise NULL.
rcl_ret_t rcl_context_fini(rcl_context_t *context)
Finalize a context.
rcl_context_instance_id_t rcl_context_get_instance_id(const rcl_context_t *context)
Returns an unsigned integer that is unique to the given context, or 0 if invalid.
const rcl_init_options_t * rcl_context_get_init_options(const rcl_context_t *context)
Return the init options used during initialization for this context.
RCL_ALIGNAS(8) uint8_t instance_id_storage[RCL_CONTEXT_ATOMIC_INSTANCE_ID_STORAGE_SIZE]
Private storage for instance ID atomic.
Encapsulates the non-global state of an init/shutdown cycle.
Definition: context.h:113
bool rcl_context_is_valid(const rcl_context_t *context)
Return true if the given context is currently valid, otherwise false.