RTI Connext Modern C++ API Version 7.2.0
|
A std::bitset (list) of statuses. More...
#include <State.hpp>
Inherits std::bitset< OMG_DDS_STATUS_COUNT >.
Public Types | |
typedef std::bitset< OMG_DDS_STATUS_COUNT > | MaskType |
The base class, a std::bitset. More... | |
Public Member Functions | |
StatusMask () | |
Creates StatusMask::none() More... | |
StatusMask (uint64_t mask) | |
Creates a StatusMask from the bits in a uint64_t value. More... | |
StatusMask (const MaskType &mask) | |
Creates a StatusMask from a bitset. More... | |
Static Public Member Functions | |
static const StatusMask | all () |
All the bits are set. More... | |
static const StatusMask | none () |
No bits are set. More... | |
static const StatusMask | inconsistent_topic () |
Another topic exists with the same name but different characteristics. More... | |
static const StatusMask | offered_deadline_missed () |
The deadline that the dds::pub::DataWriter has committed through its dds::core::policy::Deadline was not respected for a specific instance. More... | |
static const StatusMask | requested_deadline_missed () |
The deadline that the dds::sub::DataReader was expecting through its dds::core::policy::Deadline was not respected for a specific instance. More... | |
static const StatusMask | offered_incompatible_qos () |
A QosPolicy value was incompatible with what was requested. More... | |
static const StatusMask | requested_incompatible_qos () |
A QosPolicy value was incompatible with what is offered. More... | |
static const StatusMask | sample_lost () |
A sample has been lost (i.e. was never received). More... | |
static const StatusMask | sample_rejected () |
A (received) sample has been rejected. More... | |
static const StatusMask | data_on_readers () |
New data is available. More... | |
static const StatusMask | data_available () |
One or more new data samples have been received. More... | |
static const StatusMask | liveliness_lost () |
The liveliness that the dds::pub::DataWriter has committed to through its dds::core::policy::Liveliness policy was not respected, thus dds::sub::DataReader entities will consider the writer as no longer alive. More... | |
static const StatusMask | liveliness_changed () |
The liveliness of one or more dds::pub::DataWriter that were writing instances read through the dds::sub::DataReader has changed. Some dds::pub::DataWriter have become alive or not_alive. More... | |
static const StatusMask | publication_matched () |
The dds::pub::DataWriter has found dds::sub::DataReader that matches the dds::topic::Topic and has compatible QoS. More... | |
static const StatusMask | subscription_matched () |
The dds::sub::DataReader has found dds::pub::DataWriter that matches the dds::topic::Topic and has compatible QoS. More... | |
static const StatusMask | reliable_writer_cache_changed () |
<<extension>> The number of unacknowledged samples in a reliable writer's cache has changed such that it has reached a pre-defined trigger point. More... | |
static const StatusMask | reliable_reader_activity_changed () |
<<extension>> One or more reliable readers has become active or inactive. More... | |
static const StatusMask | datawriter_cache () |
<<extension>> The status of the writer's cache. More... | |
static const StatusMask | datawriter_protocol () |
<<extension>> The status of a writer's internal protocol related metrics More... | |
static const StatusMask | datareader_cache () |
<<extension>> The status of the reader's cache. More... | |
static const StatusMask | datareader_protocol () |
<<extension>> The status of a reader's internal protocol related metrics More... | |
static const StatusMask | datawriter_application_acknowledgment () |
<<extension>> A dds::pub::DataWriter has received an application-level acknowledgment for a sample More... | |
static const StatusMask | datawriter_instance_replaced () |
<<extension>> A dds::pub::DataWriter instance has been replaced More... | |
static const StatusMask | service_request_accepted () |
<<extension>> A service request has been received for a dds::pub::DataWriter More... | |
static const StatusMask | invalid_local_identity_advance_notice () |
<<extension>> The local dds::domain::DomainParticipant credential will be invalid soon. More... | |
static const StatusMask | sample_removed () |
<<extension>> A sample has been removed from a dds::pub::DataWriter More... | |
static const StatusMask | destination_unreachable () |
<<extension>> A locator is unreachable from a dds::pub::DataWriter More... | |
Related Functions | |
(Note that these are not member functions.) | |
template<typename STATUS > | |
StatusMask | get_status () |
Obtains the StatusMask mask associated to a status class. More... | |
A std::bitset (list) of statuses.
The bit-mask is an efficient and compact representation of a fixed-length list of dds::core::status::StatusMask values.
Bits in the mask correspond to different statuses. You can choose which changes in status will trigger a callback by setting the corresponding status bits in this bit-mask and installing callbacks for each of those statuses.
The bits that are true indicate that the listener will be called back for changes in the corresponding status.
typedef std::bitset<OMG_DDS_STATUS_COUNT > dds::core::status::StatusMask::MaskType |
The base class, a std::bitset.
|
inline |
Creates StatusMask::none()
Referenced by all(), data_available(), data_on_readers(), datareader_cache(), datareader_protocol(), datawriter_application_acknowledgment(), datawriter_cache(), datawriter_instance_replaced(), datawriter_protocol(), destination_unreachable(), inconsistent_topic(), invalid_local_identity_advance_notice(), liveliness_changed(), liveliness_lost(), none(), offered_deadline_missed(), offered_incompatible_qos(), publication_matched(), reliable_reader_activity_changed(), reliable_writer_cache_changed(), requested_deadline_missed(), requested_incompatible_qos(), sample_lost(), sample_rejected(), sample_removed(), service_request_accepted(), and subscription_matched().
|
inlineexplicit |
Creates a StatusMask from the bits in a uint64_t value.
|
inline |
Creates a StatusMask from a bitset.
|
inlinestatic |
All the bits are set.
References StatusMask().
|
inlinestatic |
No bits are set.
References StatusMask().
|
inlinestatic |
Another topic exists with the same name but different characteristics.
References StatusMask().
|
inlinestatic |
The deadline that the dds::pub::DataWriter has committed through its dds::core::policy::Deadline was not respected for a specific instance.
References StatusMask().
|
inlinestatic |
The deadline that the dds::sub::DataReader was expecting through its dds::core::policy::Deadline was not respected for a specific instance.
References StatusMask().
|
inlinestatic |
A QosPolicy value was incompatible with what was requested.
References StatusMask().
|
inlinestatic |
A QosPolicy value was incompatible with what is offered.
References StatusMask().
|
inlinestatic |
A sample has been lost (i.e. was never received).
References StatusMask().
|
inlinestatic |
A (received) sample has been rejected.
References StatusMask().
|
inlinestatic |
New data is available.
References StatusMask().
|
inlinestatic |
One or more new data samples have been received.
References StatusMask().
|
inlinestatic |
The liveliness that the dds::pub::DataWriter has committed to through its dds::core::policy::Liveliness policy was not respected, thus dds::sub::DataReader entities will consider the writer as no longer alive.
References StatusMask().
|
inlinestatic |
The liveliness of one or more dds::pub::DataWriter that were writing instances read through the dds::sub::DataReader has changed. Some dds::pub::DataWriter have become alive or not_alive.
References StatusMask().
|
inlinestatic |
The dds::pub::DataWriter has found dds::sub::DataReader that matches the dds::topic::Topic and has compatible QoS.
References StatusMask().
|
inlinestatic |
The dds::sub::DataReader has found dds::pub::DataWriter that matches the dds::topic::Topic and has compatible QoS.
References StatusMask().
|
inlinestatic |
<<extension>> The number of unacknowledged samples in a reliable writer's cache has changed such that it has reached a pre-defined trigger point.
This status is considered changed at the following times: the cache is empty (i.e. contains no unacknowledge samples), full (i.e. the sample count has reached the value specified in dds::core::policy::ResourceLimits::max_samples), or the number of samples has reached a high (see rti::core::RtpsReliableWriterProtocol::high_watermark) or low (see rti::core::RtpsReliableWriterProtocol::low_watermark) watermark.
References StatusMask().
|
inlinestatic |
<<extension>> One or more reliable readers has become active or inactive.
A reliable reader is considered active by a reliable writer with which it is matched if that reader acknowledges the samples it has been sent in a timely fashion. For the definition of "timely" in this case, see rti::core::RtpsReliableWriterProtocol and rti::core::status::ReliableReaderActivityChangedStatus.
References StatusMask().
|
inlinestatic |
<<extension>> The status of the writer's cache.
Changes to this status do not trigger a dds::core::cond::StatusCondition.
References StatusMask().
|
inlinestatic |
<<extension>> The status of a writer's internal protocol related metrics
The status of a writer's internal protocol-related metrics, such as the number of samples pushed, pulled, and filtered and the status of wire protocol traffic. Changes to this status information do not trigger a dds::core::cond::StatusCondition.
References StatusMask().
|
inlinestatic |
<<extension>> The status of the reader's cache.
Changes to this status do not trigger a dds::core::cond::StatusCondition.
References StatusMask().
|
inlinestatic |
<<extension>> The status of a reader's internal protocol related metrics
The status of a reader's internal protocol related metrics, like the number of samples received, filtered, rejected; and status of wire protocol traffic. Changes to this status do not trigger a dds::core::cond::StatusCondition.
References StatusMask().
|
inlinestatic |
<<extension>> A dds::pub::DataWriter has received an application-level acknowledgment for a sample
Enables a dds::pub::DataWriter callback that is called when an application-level acknowledgment from a dds::sub::DataReader is received. The callback is called for each sample that is application-level acknowledged. Changes to this status do not trigger a dds::core::cond::StatusCondition.
References StatusMask().
|
inlinestatic |
<<extension>> A dds::pub::DataWriter instance has been replaced
<<extension>> A dds::pub::DataWriter instance has been replaced
Enables a dds::pub::DataWriter callback that is called when an instance in the writer queue is replaced.
References StatusMask().
|
inlinestatic |
<<extension>> A service request has been received for a dds::pub::DataWriter
Enables a dds::pub::DataWriter callback that is called when a rti::topic::ServiceRequest has been accepted and dispatched to the DataWriter.
References StatusMask().
|
inlinestatic |
<<extension>> The local dds::domain::DomainParticipant credential will be invalid soon.
Enables a dds::domain::DomainParticipant callback that is called when the local dds::domain::DomainParticipant has or is about to have an invalid identity credential. Currently, this status is only triggered when enabling the RTI Security Plugins. Please refer to the RTI Security Plugins User's Manual for more information.
References StatusMask().
|
inlinestatic |
<<extension>> A sample has been removed from a dds::pub::DataWriter
Enables a dds::pub::DataWriter callback that is called when a sample is removed from its queue.
References StatusMask().
|
inlinestatic |
<<extension>> A locator is unreachable from a dds::pub::DataWriter
References StatusMask().
|
related |
Obtains the StatusMask mask associated to a status class.
For example: