OpenHiva::TopicOptions::BuildDDSQos
Description
Sets the QoS policy for DDS communication corresponding to Topic.
Prototype
OpenHiva::TopicOptions &OpenHiva::TopicOptions::BuildDDSQos(const DdsQosOptions & qosOptions)
Parameters
Parameter |
Input/Output |
Description |
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
qosOptions |
Input |
DDS message retention policy. The data structure is DdsQosOptions. The definition is as follows:
Related data types or data structures:
|
Returns
The TopicOptions object with QoS policy set is returned.
Usage
This interface takes effect only after the DDS communication mode is configured.
Precautions
- Non-reentrant, synchronous interface.
- If you do not invoke this interface, the default QoS value is used.
Parent topic: OpenHiva::TopicOptions