Publishers
[Publication Module]

DDSPublisher entity and associated elements More...

Classes

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...
struct  DDS_PublisherQos
 QoS policies supported by a DDSPublisher entity. More...

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


Variable Documentation

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.

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 Data Distribution Service C++ API Version 4.5e Copyright © 23 Oct 2011 Real-Time Innovations, Inc