RTI Connext Traditional C++ API  Version 5.3.0
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
Publishers

DDSPublisher entity and associated elements More...

Classes

struct  DDS_PublisherQos
 QoS policies supported by a DDSPublisher entity. More...
 
class  DDSPublisherListener
 <<interface>> DDSListener for DDSPublisher status. More...
 
class  DDSPublisherSeq
 Declares IDL sequence < DDSPublisher > . More...
 
class  DDSPublisher
 <<interface>> A publisher is the object responsible for the actual dissemination of publications. More...
 

Functions

DDS_Boolean DDS_PublisherQos_equals (const struct DDS_PublisherQos *self, const struct DDS_PublisherQos *other)
 Compares two DDS_PublisherQos for equality.
 

Variables

struct DDS_DataWriterQos DDS_DATAWRITER_QOS_DEFAULT
 Special value for creating DDSDataWriter with default QoS.
 
struct DDS_DataWriterQos DDS_DATAWRITER_QOS_USE_TOPIC_QOS
 Special value for creating DDSDataWriter with a combination of the default DDS_DataWriterQos and the DDS_TopicQos.
 

Detailed Description

DDSPublisher entity and associated elements

Function Documentation

DDS_Boolean DDS_PublisherQos_equals ( const struct DDS_PublisherQos self,
const struct DDS_PublisherQos other 
)

Compares two DDS_PublisherQos for equality.

Parameters
self<<in>> This PublisherQos.
other<<in>> The other PublisherQos to be compared with this PublisherQos.
Returns
DDS_BOOLEAN_TRUE if the two Qos objects are equal or DDS_BOOLEAN_FALSE otherwise.

Variable Documentation

struct DDS_DataWriterQos DDS_DATAWRITER_QOS_DEFAULT

Special value for creating DDSDataWriter with default QoS.

When used in DDSPublisher::create_datawriter, this special value is used to indicate that the DDSDataWriter should be created with the default DDSDataWriter QoS by means of the operation get_default_datawriter_qos and using the resulting QoS to create the DDSDataWriter.

When used in DDSPublisher::set_default_datawriter_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 DDSPublisher::set_default_datawriter_qos operation had never been called.

When used in DDSDataWriter::set_qos, this special value is used to indicate that the QoS of the DDSDataWriter should be changed to match the current defualt QoS set in the DDSPublisher that the DDSDataWriter belongs to.

Note: You cannot use this value to get the default QoS values for a DataWriter; for this purpose, use DDSDomainParticipant::get_default_datawriter_qos.

See Also
DDSPublisher::create_datawriter
DDSPublisher::set_default_datawriter_qos
DDSDataWriter::set_qos
Examples:
HelloWorld_publisher.cxx.
struct DDS_DataWriterQos DDS_DATAWRITER_QOS_USE_TOPIC_QOS

Special value for creating DDSDataWriter with a combination of the default DDS_DataWriterQos and the DDS_TopicQos.

The use of this value is equivalent to the application obtaining the default DDS_DataWriterQos and the DDS_TopicQos (by means of the operation DDSTopic::get_qos) and then combining these two QoS using the operation DDSPublisher::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 DDSDataWriter.

This value should only be used in DDSPublisher::create_datawriter.

See Also
DDSPublisher::create_datawriter
DDSPublisher::get_default_datawriter_qos
DDSTopic::get_qos
DDSPublisher::copy_from_topic_qos

RTI Connext Traditional C++ API Version 5.3.0 Copyright © Sun Jun 25 2017 Real-Time Innovations, Inc