|
VLink 2.0.0
A high-performance communication middleware
|
Status event fired when a DataWriter loses liveliness (failed to assert within duration). 更多...
#include <status_detail.h>
Public 成员函数 | |
| Type | get_type () const override |
Returns kLivelinessLost. | |
| 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 times liveliness was lost. | |
| int32_t | total_count_change {0} |
| Change in total_count since last callback. | |
友元 | |
| VLINK_EXPORT friend std::ostream & | operator<< (std::ostream &ostream, const LivelinessLost &status) noexcept |
Writes the status fields to ostream. | |
额外继承的成员函数 | |
| Protected 成员函数 继承自 vlink::Status::Base | |
| Base () | |
| virtual | ~Base () |
Status event fired when a DataWriter loses liveliness (failed to assert within duration).
Delivered to the writer when the liveliness lease expires without a successful assertion.
|
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 LivelinessLost status. |
ostream. | int32_t vlink::Status::LivelinessLost::total_count {0} |
Total times liveliness was lost.
| int32_t vlink::Status::LivelinessLost::total_count_change {0} |
Change in total_count since last callback.