79 rmw_event_type_t event_type);
96 rmw_event_type_t event_type);
128 #endif // RMW__EVENT_H_
#define RMW_PUBLIC
Definition: visibility_control.h:48
Encapsulate the RMW event implementation, data, and type.
Definition: event.h:48
#define RMW_WARN_UNUSED
Definition: macros.h:22
rmw_ret_t rmw_event_fini(rmw_event_t *event)
Finalize an rmw_event_t.
rmw_ret_t rmw_subscription_event_init(rmw_event_t *rmw_event, const rmw_subscription_t *subscription, rmw_event_type_t event_type)
Initialize a rmw subscription event.
rmw_event_type_t
Define QoS policy events.
Definition: event.h:33
RMW_PUBLIC_TYPE
Type mapping of rcutils log severity types to rmw specific types.
Definition: types.h:278
const char * implementation_identifier
Implementation identifier, used to ensure two different implementations are not being mixed...
Definition: event.h:51
rmw_event_type_t event_type
The event type that occurred.
Definition: event.h:55
rmw_ret_t rmw_take_event(const rmw_event_t *event_handle, void *event_info, bool *taken)
Take an event from the event handle.
int32_t rmw_ret_t
Definition: ret_types.h:25
rmw_event_t rmw_get_zero_initialized_event(void)
Return a zero initialized event structure.
struct RMW_PUBLIC_TYPE rmw_event_t rmw_event_t
Encapsulate the RMW event implementation, data, and type.
rmw_ret_t rmw_publisher_event_init(rmw_event_t *rmw_event, const rmw_publisher_t *publisher, rmw_event_type_t event_type)
Initialize a rmw publisher event.
void * data
Data specific to this event type from either the publisher or subscriber.
Definition: event.h:53