holoscan::authoring::OpaquePortRef
holoscan::authoring::OpaquePortRef
Retain one type-erased logical port without exposing its declaration address.
Operator and embedded-interface ports retain weak Graph identity and re-resolve the current declaration on every thunk use. Embedded-interface references additionally retain the exact reusable-Graph registration identity so rollback and index reuse cannot retarget them. Topic and directly hosted interface ports retain their typed handle owner. In all cases the payload thunk verifies direction and complete payload identity before recovering a typed declaration.
Constructors
OpaquePortRef
Default
Copy
Create an empty invalid port reference.
Methods
operator bool
Return whether this reference can currently resolve a declaration.
Returns: true for a held declaration, live named Operator port, or live embedded interface.