|
VLink
2.0.0
A high-performance communication middleware
|
Placeholder event emitted when the transport reports a status the runtime cannot map. More...
#include <status.h>
Public Member Functions | |
| Type | get_type () const override |
Returns kUnknown. More... | |
| std::string | get_string () const override |
| Returns the literal "Unknown". More... | |
Public Member Functions inherited from vlink::Status::Base | |
| template<typename T > | |
| std::shared_ptr< T > | as () const |
Safely narrows this event to a concrete Status subclass. More... | |
Friends | |
| VLINK_EXPORT friend std::ostream & | operator<< (std::ostream &ostream, const Unknown &status) noexcept |
Writes "Unknown" to ostream. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from vlink::Status::Base | |
| Base () | |
| virtual | ~Base () |
Placeholder event emitted when the transport reports a status the runtime cannot map.
Callbacks normally short-circuit on get_type() == kUnknown to avoid attempting an invalid downcast.
|
overridevirtual |
|
overridevirtual |
|
friend |
Writes "Unknown" to ostream.
| ostream | Output stream. |
| status | This Unknown event. |
ostream.