|
nros rmw-cffi
C vtable for plugging a third-party RMW backend into nros
|
#include <rmw_event.h>
Data Fields | |
| uint32_t | current_count |
| int32_t | current_count_change |
| uint32_t | total_count |
| uint32_t | total_count_change |
Matched payload — NROS_RMW_EVENT_PUBLICATION_MATCHED / NROS_RMW_EVENT_SUBSCRIPTION_MATCHED. Upstream rmw_matched_status_t (Iron+), same four fields in the same order.
Width is the one deviation: upstream's three counts are size_t; ours are uint32_t, like every other count in this header, so the union keeps one layout on 32- and 64-bit targets. current_count_change is int32_t on both sides.
| uint32_t rmw_matched_status_t::current_count |
Endpoints matched RIGHT NOW.
| int32_t rmw_matched_status_t::current_count_change |
Change in current_count since the last report; negative when an endpoint left.
| uint32_t rmw_matched_status_t::total_count |
Cumulative matches over the entity's lifetime.
| uint32_t rmw_matched_status_t::total_count_change |
Change in total_count since the last report.