Reader-side event raised when a matching publisher appears or disappears.
More...
#include <status_detail.h>
|
| Type | get_type () const override |
| | Returns kSubscriptionMatched. More...
|
| |
| std::string | get_string () const override |
| | Returns the literal "SubscriptionMatched". More...
|
| |
| template<typename T > |
| std::shared_ptr< T > | as () const |
| | Safely narrows this event to a concrete Status subclass. More...
|
| |
Reader-side event raised when a matching publisher appears or disappears.
◆ get_string()
| std::string vlink::Status::SubscriptionMatched::get_string |
( |
| ) |
const |
|
overridevirtual |
Returns the literal "SubscriptionMatched".
- Returns
- Event name string.
Implements vlink::Status::Base.
◆ get_type()
| Type vlink::Status::SubscriptionMatched::get_type |
( |
| ) |
const |
|
overridevirtual |
◆ operator<<
Streams the counter fields to ostream.
- Parameters
-
| ostream | Output stream. |
| status | Event to print. |
- Returns
- Reference to
ostream.
◆ current_count
| int32_t vlink::Status::SubscriptionMatched::current_count {0} |
Publishers currently matched.
◆ current_count_change
| int32_t vlink::Status::SubscriptionMatched::current_count_change {0} |
Delta in current_count since the last notification.
◆ last_publication_handle
| InstanceHandle vlink::Status::SubscriptionMatched::last_publication_handle {nullptr} |
Opaque handle of the publisher that triggered this event.
◆ total_count
| int32_t vlink::Status::SubscriptionMatched::total_count {0} |
Cumulative publishers ever matched.
◆ total_count_change
| int32_t vlink::Status::SubscriptionMatched::total_count_change {0} |
Delta in total_count since the last notification.
The documentation for this struct was generated from the following file: