46 struct rcl_event_impl_t;
51 struct rcl_event_impl_t *
impl;
81 const rcl_publisher_event_type_t event_type);
100 const rcl_subscription_event_type_t event_type);
169 #endif // RCL__EVENT_H_ rcl_ret_t rcl_event_fini(rcl_event_t *event)
struct rcl_event_t rcl_event_t
Structure which encapsulates a ROS QoS event handle.
rcl_ret_t rcl_subscription_event_init(rcl_event_t *event, const rcl_subscription_t *subscription, const rcl_subscription_event_type_t event_type)
Initialize an rcl_event_t with a subscription.
rmw_ret_t rcl_ret_t
Definition: types.h:20
Structure which encapsulates a ROS QoS event handle.
Definition: event.h:49
rcl_ret_t rcl_take_event(const rcl_event_t *event, void *event_info)
rmw_event_t * rcl_event_get_rmw_handle(const rcl_event_t *event)
Return the rmw event handle.
struct rcl_event_impl_t * impl
Definition: event.h:51
#define RCL_WARN_UNUSED
Ignored return values of functions with this macro will emit a warning.
Definition: macros.h:25
#define RCL_PUBLIC
Definition: visibility_control.h:48
rcl_publisher_event_type_t
Definition: event.h:30
rcl_ret_t rcl_publisher_event_init(rcl_event_t *event, const rcl_publisher_t *publisher, const rcl_publisher_event_type_t event_type)
Initialize an rcl_event_t with a publisher.
Structure which encapsulates a ROS Subscription.
Definition: subscription.h:33
Structure which encapsulates a ROS Publisher.
Definition: publisher.h:33
rcl_event_t rcl_get_zero_initialized_event(void)
Return a rcl_event_t struct with members set to NULL.
rcl_subscription_event_type_t
Definition: event.h:36