#define VLINK_EXPORT
定义 macros.h:85
DDS-compatible status type enumeration, base class, and type-safe cast utilities.
const void * InstanceHandle
Opaque handle type for DDS instance identifiers.
定义 status.h:141
Type
Discriminator for concrete status event types.
定义 status.h:97
DDS-compatible status type hierarchy for VLink publisher and subscriber callbacks.
Status event fired when the liveliness state of a matched DataWriter changes.
定义 status_detail.h:311
std::string get_string() const override
Returns a human-readable summary of this status.
int32_t alive_count
Number of matched writers that are currently alive.
定义 status_detail.h:327
Type get_type() const override
Returns kLivelinessChanged.
int32_t not_alive_count_change
Change in not_alive_count since last callback.
定义 status_detail.h:330
int32_t not_alive_count
Number of matched writers that are not alive.
定义 status_detail.h:328
int32_t alive_count_change
Change in alive_count since last callback.
定义 status_detail.h:329
InstanceHandle last_publication_handle
Handle of the writer that most recently changed.
定义 status_detail.h:331
VLINK_EXPORT friend std::ostream & operator<<(std::ostream &ostream, const LivelinessChanged &status) noexcept
Writes the status fields to ostream.
Status event fired when a DataWriter loses liveliness (failed to assert within duration).
定义 status_detail.h:195
Type get_type() const override
Returns kLivelinessLost.
int32_t total_count
Total times liveliness was lost.
定义 status_detail.h:211
VLINK_EXPORT friend std::ostream & operator<<(std::ostream &ostream, const LivelinessLost &status) noexcept
Writes the status fields to ostream.
int32_t total_count_change
Change in total_count since last callback.
定义 status_detail.h:212
std::string get_string() const override
Returns a human-readable summary of this status.
Status event fired when a DataWriter fails to publish within its offered deadline period.
定义 status_detail.h:121
InstanceHandle last_instance_handle
Handle of the most recently missed instance.
定义 status_detail.h:139
VLINK_EXPORT friend std::ostream & operator<<(std::ostream &ostream, const OfferedDeadlineMissed &status) noexcept
Writes the status fields to ostream.
std::string get_string() const override
Returns a human-readable summary of this status.
int32_t total_count_change
Change in total_count since last callback.
定义 status_detail.h:138
int32_t total_count
Total deadline misses across all instances.
定义 status_detail.h:137
Type get_type() const override
Returns kOfferedDeadlineMissed.
Status event fired when a DataWriter discovers a subscriber with incompatible QoS.
定义 status_detail.h:158
int32_t last_policy_id
ID of the QoS policy that caused the last incompatibility.
定义 status_detail.h:176
int32_t total_count
Total incompatible subscribers ever detected.
定义 status_detail.h:174
std::string get_string() const override
Returns a human-readable summary of this status.
VLINK_EXPORT friend std::ostream & operator<<(std::ostream &ostream, const OfferedIncompatibleQos &status) noexcept
Writes the status fields to ostream.
Type get_type() const override
Returns kOfferedIncompatibleQos.
int32_t total_count_change
Change in total_count since last callback.
定义 status_detail.h:175
Status event fired when a DataWriter gains or loses a matching DataReader.
定义 status_detail.h:81
int32_t current_count
Number of readers currently matched.
定义 status_detail.h:99
InstanceHandle last_subscription_handle
Handle of the most recently matched reader.
定义 status_detail.h:101
Type get_type() const override
Returns kPublicationMatched.
std::string get_string() const override
Returns a human-readable summary of this status.
VLINK_EXPORT friend std::ostream & operator<<(std::ostream &ostream, const PublicationMatched &status) noexcept
Writes the status fields to ostream.
int32_t total_count_change
Change in total_count since last callback.
定义 status_detail.h:98
int32_t current_count_change
Change in current_count since last callback.
定义 status_detail.h:100
int32_t total_count
Cumulative number of readers ever matched.
定义 status_detail.h:97
Status event fired when a DataReader does not receive data within its requested deadline.
定义 status_detail.h:273
Type get_type() const override
Returns kRequestedDeadlineMissed.
VLINK_EXPORT friend std::ostream & operator<<(std::ostream &ostream, const RequestedDeadlineMissed &status) noexcept
Writes the status fields to ostream.
std::string get_string() const override
Returns a human-readable summary of this status.
int32_t total_count_change
Change in total_count since last callback.
定义 status_detail.h:290
InstanceHandle last_instance_handle
Handle of the most recently missed instance.
定义 status_detail.h:291
int32_t total_count
Total deadline misses across all instances.
定义 status_detail.h:289
Status event fired when a DataReader discovers a publisher with incompatible QoS.
定义 status_detail.h:406
int32_t total_count_change
Change in total_count since last callback.
定义 status_detail.h:423
std::string get_string() const override
Returns a human-readable summary of this status.
int32_t last_policy_id
ID of the QoS policy that caused the last incompatibility.
定义 status_detail.h:424
VLINK_EXPORT friend std::ostream & operator<<(std::ostream &ostream, const RequestedIncompatibleQos &status) noexcept
Writes the status fields to ostream.
int32_t total_count
Total incompatible publishers ever detected.
定义 status_detail.h:422
Type get_type() const override
Returns kRequestedIncompatibleQos.
Status event fired when a sample is lost before it can be delivered to the DataReader.
定义 status_detail.h:444
int32_t total_count_change
Change in total_count since last callback.
定义 status_detail.h:461
std::string get_string() const override
Returns a human-readable summary of this status.
VLINK_EXPORT friend std::ostream & operator<<(std::ostream &ostream, const SampleLost &status) noexcept
Writes the status fields to ostream.
Type get_type() const override
Returns kSampleLost.
int32_t total_count
Total samples ever lost.
定义 status_detail.h:460
Status event fired when an incoming sample is rejected due to a resource limit.
定义 status_detail.h:351
int32_t total_count_change
Change in total_count since last callback.
定义 status_detail.h:385
InstanceHandle last_instance_handle
Handle of the instance that was most recently rejected.
定义 status_detail.h:387
Kind last_reason
Reason for the most recent rejection.
定义 status_detail.h:386
VLINK_EXPORT friend std::ostream & operator<<(std::ostream &ostream, const SampleRejected &status) noexcept
Writes the status fields to ostream.
Kind
Reason codes for sample rejection.
定义 status_detail.h:363
@ kRejectedByInstancesLimit
Max instances limit exceeded.
定义 status_detail.h:365
@ kRejectedBySamplesLimit
Max total samples limit exceeded.
定义 status_detail.h:366
@ kRejectedBySamplesPerInstanceLimit
Max samples per instance limit exceeded.
定义 status_detail.h:367
@ kNotRejected
No rejection.
定义 status_detail.h:364
Type get_type() const override
Returns kSampleRejected.
std::string get_string() const override
Returns a human-readable summary of this status.
int32_t total_count
Total number of samples rejected.
定义 status_detail.h:384
Status event fired when a DataReader gains or loses a matching DataWriter.
定义 status_detail.h:234
VLINK_EXPORT friend std::ostream & operator<<(std::ostream &ostream, const SubscriptionMatched &status) noexcept
Writes the status fields to ostream.
int32_t total_count
Cumulative number of writers ever matched.
定义 status_detail.h:250
int32_t total_count_change
Change in total_count since last callback.
定义 status_detail.h:251
int32_t current_count_change
Change in current_count since last callback.
定义 status_detail.h:253
int32_t current_count
Number of writers currently matched.
定义 status_detail.h:252
InstanceHandle last_publication_handle
Handle of the most recently matched writer.
定义 status_detail.h:254
Type get_type() const override
Returns kSubscriptionMatched.
std::string get_string() const override
Returns a human-readable summary of this status.