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

#include <rmw_event.h>

Data Fields

uint32_t current_count
int32_t current_count_change
uint32_t total_count
uint32_t total_count_change

Detailed Description

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.

Field Documentation

◆ current_count

uint32_t rmw_matched_status_t::current_count

Endpoints matched RIGHT NOW.

◆ current_count_change

int32_t rmw_matched_status_t::current_count_change

Change in current_count since the last report; negative when an endpoint left.

◆ total_count

uint32_t rmw_matched_status_t::total_count

Cumulative matches over the entity's lifetime.

◆ total_count_change

uint32_t rmw_matched_status_t::total_count_change

Change in total_count since the last report.


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