RTI Connext Modern C++ API  Version 6.0.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
dds::core::policy::DestinationOrderKind_def Struct Reference

The definition of the dds::core::safe_enum DestinationOrderKind. More...

#include <PolicyKind.hpp>

Public Types

enum  type {
  BY_RECEPTION_TIMESTAMP,
  BY_SOURCE_TIMESTAMP
}
 The underlying enum type. More...
 

Detailed Description

The definition of the dds::core::safe_enum DestinationOrderKind.

Member Enumeration Documentation

The underlying enum type.

Enumerator:
BY_RECEPTION_TIMESTAMP 

[default] Indicates that data is ordered based on the reception time at each dds::sub::Subscriber.

Since each subscriber may receive the data at different times there is no guaranteed that the changes will be seen in the same order. Consequently, it is possible for each subscriber to end up with a different final value for the data.

BY_SOURCE_TIMESTAMP 

Indicates that data is ordered based on a time-stamp placed at the source (by RTI Connext or by the application).

In any case this guarantees a consistent final value for the data in all subscribers.

Note: If Batching is needed along with dds::core::policy::DestinationOrderKind::BY_SOURCE_TIMESTAMP and dds::core::policy::DestinationOrderScopeKind::INSTANCE, then the rti::core::policy::Batch::source_timestamp_resolution and rti::core::policy::Batch::thread_safe_write setting of rti::core::policy::Batch should be set to dds::core::Duration::zero() and true respectively.


RTI Connext Modern C++ API Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc