|
VLink 2.0.0
A high-performance communication middleware
|
Placeholder status returned when the transport reports an unrecognised event type. 更多...
#include <status.h>
Public 成员函数 | |
| Type | get_type () const override |
Returns kUnknown. | |
| std::string | get_string () const override |
| Returns "Unknown". | |
| Public 成员函数 继承自 vlink::Status::Base | |
| template<typename T> | |
| std::shared_ptr< T > | as () const |
Safely downcasts this status to a concrete type T. | |
友元 | |
| VLINK_EXPORT friend std::ostream & | operator<< (std::ostream &ostream, const Unknown &status) noexcept |
Writes "Unknown" to ostream. | |
额外继承的成员函数 | |
| Protected 成员函数 继承自 vlink::Status::Base | |
| Base () | |
| virtual | ~Base () |
Placeholder status returned when the transport reports an unrecognised event type.
Callers should check get_type() == kUnknown and skip processing.
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
friend |
Writes "Unknown" to ostream.
| ostream | Output stream. |
| status | This Unknown status. |
ostream.