|
VLink
2.0.0
A high-performance communication middleware
|
Reader-side event raised when a matching publisher appears or disappears. 更多...
#include <status_detail.h>
Public 成员函数 | |
| Type | get_type () const override |
Returns kSubscriptionMatched. 更多... | |
| std::string | get_string () const override |
Returns the literal "SubscriptionMatched". 更多... | |
Public 成员函数 继承自 vlink::Status::Base | |
| template<typename T > | |
| std::shared_ptr< T > | as () const |
Safely narrows this event to a concrete Status subclass. 更多... | |
Public 属性 | |
| int32_t | total_count {0} |
| Cumulative publishers ever matched. 更多... | |
| int32_t | total_count_change {0} |
Delta in total_count since the last notification. 更多... | |
| int32_t | current_count {0} |
| Publishers currently matched. 更多... | |
| int32_t | current_count_change {0} |
Delta in current_count since the last notification. 更多... | |
| InstanceHandle | last_publication_handle {nullptr} |
| Opaque handle of the publisher that triggered this event. 更多... | |
友元 | |
| VLINK_EXPORT friend std::ostream & | operator<< (std::ostream &ostream, const SubscriptionMatched &status) noexcept |
Streams the counter fields to ostream. 更多... | |
额外继承的成员函数 | |
Protected 成员函数 继承自 vlink::Status::Base | |
| Base () | |
| virtual | ~Base () |
Reader-side event raised when a matching publisher appears or disappears.
|
overridevirtual |
|
overridevirtual |
|
friend |
Streams the counter fields to ostream.
| ostream | Output stream. |
| status | Event to print. |
ostream. | int32_t vlink::Status::SubscriptionMatched::current_count {0} |
Publishers currently matched.
| int32_t vlink::Status::SubscriptionMatched::current_count_change {0} |
Delta in current_count since the last notification.
| InstanceHandle vlink::Status::SubscriptionMatched::last_publication_handle {nullptr} |
Opaque handle of the publisher that triggered this event.
| int32_t vlink::Status::SubscriptionMatched::total_count {0} |
Cumulative publishers ever matched.
| int32_t vlink::Status::SubscriptionMatched::total_count_change {0} |
Delta in total_count since the last notification.