OpenSplice ISO C++ 2 DCPS  v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
dds::core::status::SubscriptionMatchedStatus Class Reference

More...

#include "Status.hpp"

Inheritance diagram for dds::core::status::SubscriptionMatchedStatus:
Inheritance graph

Public Member Functions

 SubscriptionMatchedStatus ()
 
int32_t current_count () const
 
int32_t current_count_change () const
 
const dds::core::InstanceHandle last_publication_handle () const
 
bool operator!= (const Value &other) const
 
D * operator-> ()
 
const D * operator-> () const
 
bool operator== (const Value &other) const
 
int32_t total_count () const
 
int32_t total_count_change () const
 

Detailed Description

Attribute Attribute Meaning
total_count Total cumulative count the concerned DataReader discovered a “match” with a DataWriter. That is, it found a DataWriter for the same Topic with a requested QoS that is compatible with that offered by the DataReader.
total_count_change The change in total_count since the last time the listener was called or the status was read.
last_subscription_handle Handle to the last DataWriter that matched the DataReader causing the status to change.
current_count The number of DataWriters currently matched to the concerned DataReader.
current_count_change The change in current_count since the last time the listener was called or the status was read.

The DataReader has found a DataWriter that matches the Topic and has compatible QoS or ceased to be matched with a DataWriter.

Definition at line 399 of file Status.hpp.

Constructor & Destructor Documentation

◆ SubscriptionMatchedStatus()

dds::core::status::SubscriptionMatchedStatus::SubscriptionMatchedStatus ( )

Definition at line 308 of file StatusImpl.hpp.

Member Function Documentation

◆ current_count()

int32_t dds::core::status::SubscriptionMatchedStatus::current_count ( ) const
Returns
The number of DataWriters currently matched to the concerned DataReader.

Definition at line 323 of file StatusImpl.hpp.

◆ current_count_change()

int32_t dds::core::status::SubscriptionMatchedStatus::current_count_change ( ) const
Returns
The change in current_count since the last time the listener was called or the status was read.

Definition at line 329 of file StatusImpl.hpp.

◆ last_publication_handle()

const dds::core::InstanceHandle dds::core::status::SubscriptionMatchedStatus::last_publication_handle ( ) const
Returns
Handle to the last DataWriter that matched the DataReader causing the status to change.

Definition at line 335 of file StatusImpl.hpp.

◆ operator!=()

template<typename D >
bool dds::core::Value< D >::operator!= ( const Value< D > &  other) const
inherited

Compare this Value with another Value

Parameters
otherValue
Returns
true if not equal

Definition at line 99 of file Value.hpp.

◆ operator->() [1/2]

template<typename D >
D * dds::core::Value< D >::operator-> ( )
inherited

The operator->() is provided to be able to directly invoke functions on the delegate.

The decision to provide direct access to the delegate was motivated by the need for providing a way that was not invasive with respect to the CXXDDS API and yet would allow for vendor-specific extension. Thus vendor-specific extensions can be invoked on the Value and on all its subclasses as follows:

my_dds_value.standard_function();
my_dds_value->vendor_specific_extension();
Returns
a reference to delegate.

Definition at line 111 of file Value.hpp.

◆ operator->() [2/2]

template<typename D >
const D * dds::core::Value< D >::operator-> ( ) const
inherited

The operator->() is provided to be able to directly invoke functions on the delegate.

The decision to provide direct access to the delegate was motivated by the need for providing a way that was not invasive with respect to the CXXDDS API and yet would allow for vendor-specific extension. Thus vendor-specific extensions can be invoked on the Value and on all its subclasses as follows:

my_dds_value.standard_function();
my_dds_value->vendor_specific_extension();
Returns
a reference to delegate.

Definition at line 105 of file Value.hpp.

◆ operator==()

template<typename D >
bool dds::core::Value< D >::operator== ( const Value< D > &  other) const
inherited

Compare this Value with another Value

Parameters
otherValue
Returns
true if equal

Definition at line 93 of file Value.hpp.

◆ total_count()

int32_t dds::core::status::SubscriptionMatchedStatus::total_count ( ) const
Returns
Total cumulative count the concerned DataReader discovered a "match" with a DataWriter. That is, it found a DataWriter for the same Topic with a requested QoS that is compatible with that offered by the DataReader.

Definition at line 311 of file StatusImpl.hpp.

◆ total_count_change()

int32_t dds::core::status::SubscriptionMatchedStatus::total_count_change ( ) const
Returns
The change in total_count since the last time the listener was called or the status was read.

Definition at line 317 of file StatusImpl.hpp.


The documentation for this class was generated from the following files: