rmw  master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
Public Attributes | List of all members
rmw_liveliness_changed_status_t Struct Reference

QoS Liveliness Changed information provided by a subscription. More...

#include <liveliness_changed.h>

Public Attributes

int32_t alive_count
 
int32_t not_alive_count
 
int32_t alive_count_change
 The change in the alive_count since the status was last read. More...
 
int32_t not_alive_count_change
 The change in the not_alive_count since the status was last read. More...
 

Detailed Description

QoS Liveliness Changed information provided by a subscription.

Member Data Documentation

◆ alive_count

int32_t rmw_liveliness_changed_status_t::alive_count

The total number of currently active Publishers which publish to the topic associated with the Subscription. This count increases when a newly matched Publisher asserts its liveliness for the first time or when a Publisher previously considered to be not alive reasserts its liveliness. The count decreases when a Publisher considered alive fails to assert its liveliness and becomes not alive, whether because it was deleted normally or for some other reason.

◆ not_alive_count

int32_t rmw_liveliness_changed_status_t::not_alive_count

The total count of current Publishers which publish to the topic associated with the Subscription that are no longer asserting their liveliness. This count increases when a Publisher considered alive fails to assert its liveliness and becomes not alive for some reason other than the normal deletion of that Publisher. It decreases when a previously not alive Publisher either reasserts its liveliness or is deleted normally.

◆ alive_count_change

int32_t rmw_liveliness_changed_status_t::alive_count_change

The change in the alive_count since the status was last read.

◆ not_alive_count_change

int32_t rmw_liveliness_changed_status_t::not_alive_count_change

The change in the not_alive_count since the status was last read.


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