|
VLink
2.0.0
A high-performance communication middleware
|
Placeholder event emitted when the transport reports a status the runtime cannot map. 更多...
#include <status.h>
Public 成员函数 | |
| Type | get_type () const override |
Returns kUnknown. 更多... | |
| std::string | get_string () const override |
| Returns the literal "Unknown". 更多... | |
Public 成员函数 继承自 vlink::Status::Base | |
| template<typename T > | |
| std::shared_ptr< T > | as () const |
Safely narrows this event to a concrete Status subclass. 更多... | |
友元 | |
| 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 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.