rcl
master
C API providing common ROS client library functionality.
|
Go to the documentation of this file.
26 #include "rcl/macros.h"
30 #include "rcl/visibility_control.h"
35 RCL_PUBLISHER_OFFERED_DEADLINE_MISSED,
36 RCL_PUBLISHER_LIVELINESS_LOST,
37 RCL_PUBLISHER_OFFERED_INCOMPATIBLE_QOS,
43 RCL_SUBSCRIPTION_REQUESTED_DEADLINE_MISSED,
44 RCL_SUBSCRIPTION_LIVELINESS_CHANGED,
45 RCL_SUBSCRIPTION_REQUESTED_INCOMPATIBLE_QOS,
46 RCL_SUBSCRIPTION_MESSAGE_LOST,
53 struct rcl_event_impl_t;
59 struct rcl_event_impl_t *
impl;
206 #endif // RCL__EVENT_H_
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
Enumeration of all of the subscription events that may fire.
Definition: event.h:41
rcl_publisher_event_type_t
Enumeration of all of the publisher events that may fire.
Definition: event.h:33
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
The type that holds an rcl return code.
Definition: types.h:23
rcl_ret_t rcl_event_fini(rcl_event_t *event)
rmw_event_t * rcl_event_get_rmw_handle(const rcl_event_t *event)
Return the rmw event handle.
Structure which encapsulates a ROS Publisher.
Definition: publisher.h:35
struct rcl_event_t rcl_event_t
Structure which encapsulates a ROS QoS event handle.
struct rcl_event_impl_t * impl
Pointer to the event implementation.
Definition: event.h:59
Structure which encapsulates a ROS Subscription.
Definition: subscription.h:37
rcl_ret_t rcl_take_event(const rcl_event_t *event, void *event_info)
Structure which encapsulates a ROS QoS event handle.
Definition: event.h:56
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.
bool rcl_event_is_valid(const rcl_event_t *event)
Check that the event is valid.