RTI Connext DDS Micro C++ API  Version 4.0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
PUBLISH_MODE

<<eXtension>> Specifies how RTI Connext DDS Micro sends application data on the network. This QoS policy can be used to tell RTI Connext DDS Micro to use its own thread to send data, instead of the user thread. More...

Classes

struct  DDS_PublishModeQosPolicy
 Specifies how RTI Connext DDS Micro sends application data on the network. This QoS policy can be used to tell RTI Connext DDS Micro to use its own thread to send data, instead of the user thread. More...

Macros

#define DDS_PUBLICATION_PRIORITY_UNDEFINED
 Initializer value for DDS_PublishModeQosPolicy::priority.
#define DDS_PUBLICATION_PRIORITY_AUTOMATIC
 Constant value for DDS_PublishModeQosPolicy::priority.

Enumerations

enum  DDS_PublishModeQosPolicyKind { DDS_SYNCHRONOUS_PUBLISH_MODE_QOS, DDS_ASYNCHRONOUS_PUBLISH_MODE_QOS, DDS_AUTOMATIC_PUBLISH_MODE_QOS }
 Kinds of publishing mode. More...

Detailed Description

<<eXtension>> Specifies how RTI Connext DDS Micro sends application data on the network. This QoS policy can be used to tell RTI Connext DDS Micro to use its own thread to send data, instead of the user thread.


Macro Definition Documentation

#define DDS_PUBLICATION_PRIORITY_UNDEFINED

Initializer value for DDS_PublishModeQosPolicy::priority.

When assigned this value, the publication priority of the data writer will be set to the lowest possible value.

#define DDS_PUBLICATION_PRIORITY_AUTOMATIC

Constant value for DDS_PublishModeQosPolicy::priority.

When assigned this value the publication priority of the data writer will be set to the largest priority value of any sample currently queued for publication by the data writer or data writer channel.


Enumeration Type Documentation

Kinds of publishing mode.

QoS:
DDS_PublishModeQosPolicy
Enumerator:
DDS_SYNCHRONOUS_PUBLISH_MODE_QOS 

Indicates to send data synchronously.

Data is sent immediately in the context of the user thread, no flow control is applied.

DDS_ASYNCHRONOUS_PUBLISH_MODE_QOS 

Indicates to send data asynchronously.

Configures the DDSDataWriter to delegate the task of data transmission to a separate thread. The FooDataWriter::write call does not send the data, but instead schedules the data to be sent later.

See also:
DDSFlowController
DDS_HistoryQosPolicy
DDS_AUTOMATIC_PUBLISH_MODE_QOS 

Automatically configures the publishing mode.

Configures the DDSDataWriter to automatically determine how data transmission is performed. If the minimum data size required for the serialized type requires fragmentation, then data is handled in the DDS_ASYNCHRONOUS_PUBLISH_MODE_QOS mode.

If the minimum data size does not require fragmentation, then data is sent in the DDS_SYNCHRONOUS_PUBLISH_MODE_QOS mode.

See also:
DDSFlowController
DDS_HistoryQosPolicy [default] for DDSDataWriter

RTI Connext DDS Micro C++ API Version 4.0.1 Copyright © Mon Jun 3 2024 Real-Time Innovations, Inc