nros rmw-cffi
C vtable for plugging a third-party RMW backend into nros
Loading...
Searching...
No Matches
rmw_event_payload_t Union Reference

#include <rmw_event.h>

Collaboration diagram for rmw_event_payload_t:

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

Detailed Description

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.

Field Documentation

◆ count

rmw_count_status_t rmw_event_payload_t::count

◆ incompatible_type

rmw_incompatible_type_status_t rmw_event_payload_t::incompatible_type

◆ liveliness_changed

rmw_liveliness_changed_status_t rmw_event_payload_t::liveliness_changed

◆ matched

rmw_matched_status_t rmw_event_payload_t::matched

The documentation for this union was generated from the following file: