RTI Connext DDS Micro C++ API  Version 2.4.14
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
DDS_PublicationMatchedStatus Struct Reference

<<cert>> DDS_PUBLICATION_MATCHED_STATUS More...

#include <dds_c_publication.h>

List of all members.

Public Attributes

DDS_Long total_count
 The total cumulative number of times the concerned DDSDataWriter discovered a "match" with a DDSDataReader.
DDS_Long total_count_change
 The incremental changes in total_count since the last time the listener was called or the status was read.
DDS_Long current_count
 The current number of readers with which the DDSDataWriter is matched.
DDS_Long current_count_change
 The change in current_count since the last time the listener was called or the status was read.
DDS_InstanceHandle_t last_subscription_handle
 A handle to the last DDSDataReader that caused the the DDSDataWriter's status to change.

Detailed Description

<<cert>> DDS_PUBLICATION_MATCHED_STATUS

A "match" happens when the DDSDataWriter finds a DDSDataReader for the same DDSTopic and common partition with a requested QoS that is compatible with that offered by the DDSDataWriter.

This status is also changed (and the listener, if any, called) when a match is ended. A local DDSDataWriter will become "unmatched" from a remote DDSDataReader when that DDSDataReader goes away for any reason.


Member Data Documentation

DDS_Long DDS_PublicationMatchedStatus::total_count

The total cumulative number of times the concerned DDSDataWriter discovered a "match" with a DDSDataReader.

This number increases whenever a new match is discovered. It does not change when an existing match goes away.

DDS_Long DDS_PublicationMatchedStatus::total_count_change

The incremental changes in total_count since the last time the listener was called or the status was read.

DDS_Long DDS_PublicationMatchedStatus::current_count

The current number of readers with which the DDSDataWriter is matched.

This number increases when a new match is discovered and decreases when an existing match goes away.

DDS_Long DDS_PublicationMatchedStatus::current_count_change

The change in current_count since the last time the listener was called or the status was read.

DDS_InstanceHandle_t DDS_PublicationMatchedStatus::last_subscription_handle

A handle to the last DDSDataReader that caused the the DDSDataWriter's status to change.


RTI Connext DDS Micro C++ API Version 2.4.14 Copyright © Mon Apr 12 2021 Real-Time Innovations, Inc