<<extension>> A set of flags that can be associated with a sample.
More...
#include "rti/core/SampleFlag.hpp"
Inherits std::bitset< 32 >.
|
typedef std::bitset< 32 > | MaskType |
| A typedef of std::bitset<32> for convenience. More...
|
|
<<extension>> A set of flags that can be associated with a sample.
A set of flags that can be associated with a sample.
- Least-significant bits [0-7] are reserved by RTI
- Least-significant bits [8-15] are application specific
- Least-significant bits [16-31] are invalid and cannot be used
◆ MaskType
A typedef of std::bitset<32> for convenience.
◆ SampleFlag() [1/3]
rti::core::SampleFlag::SampleFlag |
( |
| ) |
|
|
inline |
◆ SampleFlag() [2/3]
rti::core::SampleFlag::SampleFlag |
( |
uint64_t |
mask | ) |
|
|
inlineexplicit |
Construct a SampleFlag from an integer.
- Parameters
-
mask | Value whose bits are copied to the bitset positions |
◆ SampleFlag() [3/3]
rti::core::SampleFlag::SampleFlag |
( |
const MaskType & |
mask | ) |
|
|
inline |
Construct a SampleFlag from a MaskType object.
- Parameters
-
mask | A std::bitset<32> to construct this SampleFlag from |
◆ redelivered()
static const SampleFlag rti::core::SampleFlag::redelivered |
( |
| ) |
|
|
inlinestatic |
Indicates that a sample has been redelivered by RTI Queuing Service.
◆ intermediate_reply_sequence()
static const SampleFlag rti::core::SampleFlag::intermediate_reply_sequence |
( |
| ) |
|
|
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.
◆ replicate()
static const SampleFlag rti::core::SampleFlag::replicate |
( |
| ) |
|
|
inlinestatic |
Indicates if a sample must be broadcast by one RTI Queuing Service replica to other replicas.
◆ last_shared_reader_queue()
static const SampleFlag rti::core::SampleFlag::last_shared_reader_queue |
( |
| ) |
|
|
inlinestatic |
Indicates that a sample is the last sample in a SharedReaderQueue for a QueueConsumer DataReader.
◆ intermediate_topic_query_sample()
static const SampleFlag rti::core::SampleFlag::intermediate_topic_query_sample |
( |
| ) |
|
|
inlinestatic |
◆ writer_removed_batch_sample()
static const SampleFlag rti::core::SampleFlag::writer_removed_batch_sample |
( |
| ) |
|
|
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.
◆ discovery_service_sample()
static const SampleFlag rti::core::SampleFlag::discovery_service_sample |
( |
| ) |
|
|
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.