|
VLink 2.0.0
A high-performance communication middleware
|
Minimal interface for accessing the underlying native transport handle. 更多...
#include <node_impl.h>
Public 成员函数 | |
| virtual std::any | get_native_handle () const |
Returns the underlying native transport handle wrapped in std::any. | |
Protected 成员函数 | |
| AbstractNode () | |
| virtual | ~AbstractNode () |
Minimal interface for accessing the underlying native transport handle.
Concrete transport backends (e.g. DdsPublisherImpl) inherit from both AbstractNode and their corresponding NodeImpl subclass. get_native_handle() returns an std::any wrapping the backend-specific handle, allowing advanced users to access transport internals without breaking the VLink API boundary.
std::any.
|
protected |
|
protectedvirtual |
|
virtual |
Returns the underlying native transport handle wrapped in std::any.
Transport-specific subclasses override this to return, for example, a DDS DataWriter or DataReader pointer. Callers must std::any_cast to the correct type. The base implementation returns an empty std::any.
std::any in the base class.