RTI Connext .Net APIs  Version 5.3.1

DDS::Subscriber entity and associated elements More...

Classes

class  DDS::SubscriberQos
 QoS policies supported by a DDS::Subscriber entity. More...
 
class  DDS::SubscriberListener
 <<interface>> DDS::Listener for status about a subscriber. More...
 
class  DDS::SubscriberSeq
 Declares IDL sequence < DDS::Subscriber > . More...
 
class  DDS::Subscriber
 <<interface>> A subscriber is the object responsible for actually receiving data from a subscription. More...
 

Functions

bool DDS::SubscriberQos::equals (SubscriberQos^ other)
 Compares two DDS::SubscriberQos for equality. More...
 

Properties

static DataReaderQosDDS::Subscriber::DATAREADER_QOS_DEFAULT [get]
 Special value for creating data reader with default QoS. More...
 
static DataReaderQosDDS::Subscriber::DATAREADER_QOS_USE_TOPIC_QOS [get]
 Special value for creating DDS::DataReader with a combination of the default DDS::DataReaderQos and the DDS::TopicQos. More...
 

Detailed Description

DDS::Subscriber entity and associated elements

Function Documentation

◆ equals()

bool DDS::SubscriberQos::equals ( SubscriberQos other)

Compares two DDS::SubscriberQos for equality.

Parameters
other<<in>> The other SubscriberQos to be compared with this SubscriberQos.
Returns
true if the two Qos objects are equal or false otherwise.

Properties

◆ DATAREADER_QOS_DEFAULT

DataReaderQos^ DDS::Subscriber::DATAREADER_QOS_DEFAULT
staticget

Special value for creating data reader with default QoS.

When used in DDS::Subscriber::create_datareader, this special value is used to indicate that the DDS::DataReader should be created with the default DDS::DataReader QoS by means of the operation get_default_datareader_qos and using the resulting QoS to create the DDS::DataReader.

When used in DDS::Subscriber::set_default_datareader_qos, this special value is used to indicate that the default QoS should be reset back to the initial value that would be used if the DDS::Subscriber::set_default_datareader_qos operation had never been called.

When used in DDS::DataReader::set_qos, this special value is used to indicate that the QoS of the DDS::DataReader should be changed to match the current default QoS set in the DDS::Subscriber that the DDS::DataReader belongs to.

Note: You cannot use this value to get the default QoS values for a DataReader; for this purpose, use DDS::DomainParticipant::get_default_datareader_qos.

See also
DDS::Subscriber::create_datareader
DDS::Subscriber::set_default_datareader_qos
DDS::DataReader::set_qos
Examples:
HelloWorld_subscriber.cpp, and HelloWorld_subscriber.cs.

◆ DATAREADER_QOS_USE_TOPIC_QOS

DataReaderQos^ DDS::Subscriber::DATAREADER_QOS_USE_TOPIC_QOS
staticget

Special value for creating DDS::DataReader with a combination of the default DDS::DataReaderQos and the DDS::TopicQos.

The use of this value is equivalent to the application obtaining the default DDS::DataReaderQos and the DDS::TopicQos (by means of the operation DDS::Topic::get_qos) and then combining these two QoS using the operation DDS::Subscriber::copy_from_topic_qos whereby any policy that is set on the DDS::TopicQos "overrides" the corresponding policy on the default QoS. The resulting QoS is then applied to the creation of the DDS::DataReader.

This value should only be used in DDS::Subscriber::create_datareader.

See also
DDS::Subscriber::create_datareader
DDS::Subscriber::get_default_datareader_qos
DDS::Topic::get_qos
DDS::Subscriber::copy_from_topic_qos

RTI Connext .Net APIs Version 5.3.1 Copyright © Mon Feb 19 2018 Real-Time Innovations, Inc