|
VLink 2.0.0
A high-performance communication middleware
|
Status event fired when a DataReader discovers a publisher with incompatible QoS. 更多...
#include <status_detail.h>
Public 成员函数 | |
| Type | get_type () const override |
Returns kRequestedIncompatibleQos. | |
| std::string | get_string () const override |
| Returns a human-readable summary of this status. | |
| Public 成员函数 继承自 vlink::Status::Base | |
| template<typename T> | |
| std::shared_ptr< T > | as () const |
Safely downcasts this status to a concrete type T. | |
Public 属性 | |
| int32_t | total_count {0} |
| Total incompatible publishers ever detected. | |
| int32_t | total_count_change {0} |
| Change in total_count since last callback. | |
| int32_t | last_policy_id {0} |
| ID of the QoS policy that caused the last incompatibility. | |
友元 | |
| VLINK_EXPORT friend std::ostream & | operator<< (std::ostream &ostream, const RequestedIncompatibleQos &status) noexcept |
Writes the status fields to ostream. | |
额外继承的成员函数 | |
| Protected 成员函数 继承自 vlink::Status::Base | |
| Base () | |
| virtual | ~Base () |
Status event fired when a DataReader discovers a publisher with incompatible QoS.
last_policy_id identifies the QoS policy ID that caused the incompatibility.
|
nodiscardoverridevirtual |
Returns a human-readable summary of this status.
实现了 vlink::Status::Base.
|
nodiscardoverridevirtual |
|
friend |
Writes the status fields to ostream.
| ostream | Output stream. |
| status | This RequestedIncompatibleQos status. |
ostream. | int32_t vlink::Status::RequestedIncompatibleQos::last_policy_id {0} |
ID of the QoS policy that caused the last incompatibility.
| int32_t vlink::Status::RequestedIncompatibleQos::total_count {0} |
Total incompatible publishers ever detected.
| int32_t vlink::Status::RequestedIncompatibleQos::total_count_change {0} |
Change in total_count since last callback.