Class PublicationMatchedStatus

Inheritance Relationships

Base Type

Class Documentation

class PublicationMatchedStatus : public dds::core::Value<detail::PublicationMatchedStatus>

Public Functions

OMG_DDS_API PublicationMatchedStatus()
OMG_DDS_API int32_t total_count () const
Returns:

Total cumulative count the concerned DataWriter discovered a “match” with a DataReader. That is, it found a DataReader for the same Topic with a requested QoS that is compatible with that offered by the DataWriter.

OMG_DDS_API int32_t total_count_change () const
Returns:

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

OMG_DDS_API int32_t current_count () const
Returns:

The number of DataReaders currently matched to the concerned DataWriter.

OMG_DDS_API int32_t current_count_change () const
Returns:

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

OMG_DDS_API const dds::core::InstanceHandle last_subscription_handle () const
Returns:

Handle to the last DataReader that matched the DataWriter causing the status to change.