|
nros rmw-cffi
C vtable for plugging a third-party RMW backend into nros
|
#include <rmw_event.h>

Data Fields | |
| rmw_count_status_t | count |
| rmw_incompatible_type_status_t | incompatible_type |
| rmw_liveliness_changed_status_t | liveliness_changed |
| rmw_matched_status_t | matched |
Borrow-shaped union the backend supplies to the registered callback. The kind argument selects which member is valid.
Members are APPENDED (issue 1972 grew it from 8 to 16 bytes). A caller owns the union it hands *_take_event, so a backend built against the older, smaller header writes within the larger one.
| rmw_count_status_t rmw_event_payload_t::count |
| rmw_incompatible_type_status_t rmw_event_payload_t::incompatible_type |
| rmw_liveliness_changed_status_t rmw_event_payload_t::liveliness_changed |
| rmw_matched_status_t rmw_event_payload_t::matched |