rcl
master
C API providing common ROS client library functionality.
|
Go to the documentation of this file.
17 #ifndef RCL__GUARD_CONDITION_H_
18 #define RCL__GUARD_CONDITION_H_
27 #include "rcl/macros.h"
29 #include "rcl/visibility_control.h"
32 struct rcl_guard_condition_impl_t;
41 struct rcl_guard_condition_impl_t *
impl;
269 #endif // RCL__GUARD_CONDITION_H_
struct rcl_guard_condition_impl_t * impl
Pointer to the guard condition implementation.
Definition: guard_condition.h:41
rcl_ret_t rcl_trigger_guard_condition(rcl_guard_condition_t *guard_condition)
Trigger a rcl guard condition.
rmw_ret_t rcl_ret_t
The type that holds an rcl return code.
Definition: types.h:23
Options available for a rcl guard condition.
Definition: guard_condition.h:45
Handle for a rcl guard condition.
Definition: guard_condition.h:35
rcl_ret_t rcl_guard_condition_init_from_rmw(rcl_guard_condition_t *guard_condition, const rmw_guard_condition_t *rmw_guard_condition, rcl_context_t *context, const rcl_guard_condition_options_t options)
Same as rcl_guard_condition_init(), but reusing an existing rmw handle.
rcl_allocator_t allocator
Custom allocator for the guard condition, used for internal allocations.
Definition: guard_condition.h:48
rcl_guard_condition_options_t rcl_guard_condition_get_default_options(void)
Return the default options in a rcl_guard_condition_options_t struct.
rcl_ret_t rcl_guard_condition_init(rcl_guard_condition_t *guard_condition, rcl_context_t *context, const rcl_guard_condition_options_t options)
Initialize a rcl guard_condition.
rcl_guard_condition_t rcl_get_zero_initialized_guard_condition(void)
Return a rcl_guard_condition_t struct with members set to NULL.
struct rcl_guard_condition_options_t rcl_guard_condition_options_t
Options available for a rcl guard condition.
const rcl_guard_condition_options_t * rcl_guard_condition_get_options(const rcl_guard_condition_t *guard_condition)
Return the guard condition options.
rmw_guard_condition_t * rcl_guard_condition_get_rmw_handle(const rcl_guard_condition_t *guard_condition)
Return the rmw guard condition handle.
rcl_ret_t rcl_guard_condition_fini(rcl_guard_condition_t *guard_condition)
Finalize a rcl_guard_condition_t.
Encapsulates the non-global state of an init/shutdown cycle.
Definition: context.h:113
struct rcl_guard_condition_t rcl_guard_condition_t
Handle for a rcl guard condition.
rcl_context_t * context
Context associated with this guard condition.
Definition: guard_condition.h:38