23 #include "rcl/client.h"
24 #include "rcl/macros.h"
25 #include "rcl/publisher.h"
26 #include "rcl/service.h"
27 #include "rcl/subscription.h"
28 #include "rcl/visibility_control.h"
30 typedef enum rcl_publisher_event_type_t
32 RCL_PUBLISHER_OFFERED_DEADLINE_MISSED,
33 RCL_PUBLISHER_LIVELINESS_LOST,
34 RCL_PUBLISHER_OFFERED_INCOMPATIBLE_QOS,
35 } rcl_publisher_event_type_t;
37 typedef enum rcl_subscription_event_type_t
39 RCL_SUBSCRIPTION_REQUESTED_DEADLINE_MISSED,
40 RCL_SUBSCRIPTION_LIVELINESS_CHANGED,
41 RCL_SUBSCRIPTION_REQUESTED_INCOMPATIBLE_QOS,
42 } rcl_subscription_event_type_t;
48 struct rcl_event_impl_t;
54 struct rcl_event_impl_t *
impl;
65 rcl_get_zero_initialized_event(
void);
83 rcl_publisher_event_init(
86 const rcl_publisher_event_type_t event_type);
104 rcl_subscription_event_init(
107 const rcl_subscription_event_type_t event_type);
171 rcl_event_get_rmw_handle(
const rcl_event_t * event);
177 #endif // RCL__EVENT_H_