RTI Connext Modern C++ API
Version 7.0.0
|
<<extension>> A set of flags that can be associated with a sample. More...
#include "rti/core/SampleFlag.hpp"
Inherits bitset< 32 >.
Public Types | |
typedef std::bitset< 32 > | MaskType |
A typedef of std::bitset<32> for convenience. More... | |
Public Member Functions | |
SampleFlag () | |
Construct an empty SampleFlag with no bits set. More... | |
SampleFlag (uint64_t mask) | |
Construct a SampleFlag from an integer. More... | |
SampleFlag (const MaskType &mask) | |
Construct a SampleFlag from a MaskType object. More... | |
Static Public Member Functions | |
static const SampleFlag | redelivered () |
Indicates that a sample has been redelivered by RTI Queuing Service. More... | |
static const SampleFlag | intermediate_reply_sequence () |
Indicates that a response sample is not the last response sample for a given request. This bit is usually set by Connext Repliers sending multiple responses for a request. More... | |
static const SampleFlag | replicate () |
Indicates if a sample must be broadcast by one RTI Queuing Service replica to other replicas. More... | |
static const SampleFlag | last_shared_reader_queue () |
Indicates that a sample is the last sample in a SharedReaderQueue for a QueueConsumer DataReader. More... | |
static const SampleFlag | intermediate_topic_query_sample () |
Indicates that a sample for a TopicQuery will be followed by more samples. More... | |
static const SampleFlag | writer_removed_batch_sample () |
This flag will be set if a sample was accepted into the DataReader queue even though it was marked by the DataWriter as removed. More... | |
static const SampleFlag | discovery_service_sample () |
This flag will be set if the sample was sent by Cloud Discovery Service. More... | |
<<extension>> A set of flags that can be associated with a sample.
A set of flags that can be associated with a sample.
typedef std::bitset<32> rti::core::SampleFlag::MaskType |
A typedef of std::bitset<32> for convenience.
|
inline |
Construct an empty SampleFlag with no bits set.
|
inlineexplicit |
Construct a SampleFlag from an integer.
mask | Value whose bits are copied to the bitset positions |
|
inline |
Construct a SampleFlag from a MaskType object.
mask | A std::bitset<32> to construct this SampleFlag from |
|
inlinestatic |
Indicates that a sample has been redelivered by RTI Queuing Service.
|
inlinestatic |
Indicates that a response sample is not the last response sample for a given request. This bit is usually set by Connext Repliers sending multiple responses for a request.
|
inlinestatic |
Indicates if a sample must be broadcast by one RTI Queuing Service replica to other replicas.
|
inlinestatic |
Indicates that a sample is the last sample in a SharedReaderQueue for a QueueConsumer DataReader.
|
inlinestatic |
Indicates that a sample for a TopicQuery will be followed by more samples.
This flag only applies to samples that have been published as a response to a rti::sub::TopicQuery.
When this bit is not set and dds::sub::SampleInfo::topic_query_guid is different from rti::core::Guid::unknown(), this sample is the last sample for that TopicQuery coming from the DataWriter identified by dds::sub::SampleInfo::original_publication_virtual_guid.
|
inlinestatic |
This flag will be set if a sample was accepted into the DataReader queue even though it was marked by the DataWriter as removed.
A sample can be marked as removed by the DataWriter in a batch when it is replaced due to the KEEP_LAST_HISTORY_QOS QoS or because the duration in LifespanQosPolicy was reached.
If the DataReader sets the property "dds.data_reader.accept_writer_removed_batch_samples" to true, the removed sample will be accepted into the DataReader queue and this flag will be set.
A sample can be marked as removed by the DataWriter in a batch when it is replaced due to the dds::core::policy::HistoryKind::KEEP_LAST dds::core::policy::History QoS or because the duration in dds::core::policy::Lifespan was reached.
If the DataReader sets the property "dds.data_reader.accept_writer_removed_batch_samples" to true, the removed sample will be accepted into the DataReader queue and this flag will be set.
|
inlinestatic |
This flag will be set if the sample was sent by Cloud Discovery Service.
The samples sent by Cloud Discovery Service are participant announcement samples on the ParticipantBuiltinTopic.