rmw
master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
|
@ RMW_EVENT_REQUESTED_QOS_INCOMPATIBLE
Definition: event.h:38
#define RMW_PUBLIC
Definition: visibility_control.h:48
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:499
rmw_event_t rmw_get_zero_initialized_event(void)
Return a zero initialized event structure.
rmw_ret_t rmw_event_fini(rmw_event_t *event)
Finalize an rmw_event_t.
#define RMW_WARN_UNUSED
Indicate that a variable is not used, and prevent compiler from issuing warnings.
Definition: macros.h:24
@ RMW_EVENT_INVALID
Definition: event.h:46
rmw_event_type_t event_type
The event type that occurred.
Definition: event.h:57
@ RMW_EVENT_LIVELINESS_LOST
Definition: event.h:41
const char * implementation_identifier
Implementation identifier, used to ensure two different implementations are not being mixed.
Definition: event.h:53
Structure which encapsulates an rmw publisher.
Definition: types.h:90
@ RMW_EVENT_LIVELINESS_CHANGED
Definition: event.h:36
int32_t rmw_ret_t
Return code for rmw functions.
Definition: ret_types.h:26
rmw_ret_t rmw_take_event(const rmw_event_t *event_handle, void *event_info, bool *taken)
Take an event from the event handle.
Encapsulate the RMW event implementation, data, and type.
Definition: event.h:50
@ RMW_EVENT_REQUESTED_DEADLINE_MISSED
Definition: event.h:37
void * data
Data specific to this event type from either the publisher or subscriber.
Definition: event.h:55
@ RMW_EVENT_OFFERED_QOS_INCOMPATIBLE
Definition: event.h:43
@ RMW_EVENT_OFFERED_DEADLINE_MISSED
Definition: event.h:42
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.
struct RMW_PUBLIC_TYPE rmw_event_t rmw_event_t
Encapsulate the RMW event implementation, data, and type.