RTI Connext Traditional C++ API  Version 5.3.1
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
DDS_DurabilityServiceQosPolicy Struct Reference

Various settings to configure the external RTI Persistence Service used by RTI Connext for DataWriters with a DDS_DurabilityQosPolicy setting of DDS_PERSISTENT_DURABILITY_QOS or DDS_TRANSIENT_DURABILITY_QOS. More...

Public Attributes

struct DDS_Duration_t service_cleanup_delay
 Controls when the service is able to remove all information regarding a data instances.
 
DDS_HistoryQosPolicyKind history_kind
 The kind of history to apply in recouping durable data.
 
DDS_Long history_depth
 Part of history QoS policy to apply when feeding a late joiner.
 
DDS_Long max_samples
 Part of resource limits QoS policy to apply when feeding a late joiner.
 
DDS_Long max_instances
 Part of resource limits QoS policy to apply when feeding a late joiner.
 
DDS_Long max_samples_per_instance
 Part of resource limits QoS policy to apply when feeding a late joiner.
 

Detailed Description

Various settings to configure the external RTI Persistence Service used by RTI Connext for DataWriters with a DDS_DurabilityQosPolicy setting of DDS_PERSISTENT_DURABILITY_QOS or DDS_TRANSIENT_DURABILITY_QOS.

Entity:
DDSTopic, DDSDataWriter
Properties:
RxO = NO
Changeable = UNTIL ENABLE
See Also
DURABILITY
HISTORY
RESOURCE_LIMITS

Usage

When a DataWriter's DDS_DurabilityQosPolicy::kind is DDS_PERSISTENT_DURABILITY_QOS or DDS_TRANSIENT_DURABILITY_QOS, an external service, the RTI Persistence Service, is used to store and possibly forward the data sent by the DDSDataWriter to DDSDataReader objects that are created after the data was initially sent.

This QoS policy is used to configure certain parameters of the Persistence Service when it operates on the behalf of the DDSDataWriter, such as how much data to store. For example, it configures the HISTORY and the RESOURCE_LIMITS used by the fictitious DataReader and DataWriter used by the Persistence Service. Note, however, that the Persistence Service itself may be configured to ignore these values and instead use values from its own configuration file.

Member Data Documentation

struct DDS_Duration_t DDS_DurabilityServiceQosPolicy::service_cleanup_delay

Controls when the service is able to remove all information regarding a data instances.

When the service cleanup delay is set to 0, disposed instances will be completely removed from the service. Only values of 0 and DDS_DURATION_INFINITE are currently supported.

[default] 0

DDS_HistoryQosPolicyKind DDS_DurabilityServiceQosPolicy::history_kind

The kind of history to apply in recouping durable data.

[default] DDS_KEEP_LAST_HISTORY_QOS

DDS_Long DDS_DurabilityServiceQosPolicy::history_depth

Part of history QoS policy to apply when feeding a late joiner.

[default] 1

DDS_Long DDS_DurabilityServiceQosPolicy::max_samples

Part of resource limits QoS policy to apply when feeding a late joiner.

[default] DDS_LENGTH_UNLIMITED

DDS_Long DDS_DurabilityServiceQosPolicy::max_instances

Part of resource limits QoS policy to apply when feeding a late joiner.

[default] DDS_LENGTH_UNLIMITED

DDS_Long DDS_DurabilityServiceQosPolicy::max_samples_per_instance

Part of resource limits QoS policy to apply when feeding a late joiner.

[default] DDS_LENGTH_UNLIMITED


RTI Connext Traditional C++ API Version 5.3.1 Copyright © Mon Feb 19 2018 Real-Time Innovations, Inc