Status event fired when a DataWriter gains or loses a matching DataReader.
More...
#include <status_detail.h>
|
| Type | get_type () const override |
| | Returns kPublicationMatched.
|
| std::string | get_string () const override |
| | Returns a human-readable summary of this status.
|
| template<typename T> |
| std::shared_ptr< T > | as () const |
| | Safely downcasts this status to a concrete type T.
|
Status event fired when a DataWriter gains or loses a matching DataReader.
Delivered to the writer's status callback whenever a subscriber that matches the topic name and QoS policy appears or disappears.
◆ get_string()
| std::string vlink::Status::PublicationMatched::get_string |
( |
| ) |
const |
|
nodiscardoverridevirtual |
Returns a human-readable summary of this status.
- Returns
- String describing total and current matched reader counts.
Implements vlink::Status::Base.
◆ get_type()
| Type vlink::Status::PublicationMatched::get_type |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ operator<<
Writes the status fields to ostream.
- Parameters
-
- Returns
- Reference to
ostream.
◆ current_count
| int32_t vlink::Status::PublicationMatched::current_count {0} |
Number of readers currently matched.
◆ current_count_change
| int32_t vlink::Status::PublicationMatched::current_count_change {0} |
Change in current_count since last callback.
◆ last_subscription_handle
| InstanceHandle vlink::Status::PublicationMatched::last_subscription_handle {nullptr} |
Handle of the most recently matched reader.
◆ total_count
| int32_t vlink::Status::PublicationMatched::total_count {0} |
Cumulative number of readers ever matched.
◆ total_count_change
| int32_t vlink::Status::PublicationMatched::total_count_change {0} |
Change in total_count since last callback.
The documentation for this struct was generated from the following file: