PortRef Struct
Handle to a specific port on a node within a runtime Graph, used by the DSL. More...
Declaration
Included Headers
Public Member Attributes Index
| Graph * | g = nullptr |
|
Non-owning pointer to the host graph. More... | |
| NodeId | node = kInvalidNode |
| PortId | port = kInvalidPort |
|
Interned port id within the graph. More... | |
| bool | is_output = true |
|
True for output ports, false for inputs. More... | |
Description
Handle to a specific port on a node within a runtime Graph, used by the DSL.
Holds a non-owning pointer to the Graph, the NodeId of the node, the PortId of the port, and whether the port is an output (otherwise it is an input). Produced by NodeRef::out() / NodeRef::in() helpers and consumed by >> and connect_ports.
- See Also
Definition at line 27 of file GraphDsl.h.
Public Member Attributes
g
|
Non-owning pointer to the host graph.
Definition at line 28 of file GraphDsl.h.
is_output
|
True for output ports, false for inputs.
Definition at line 31 of file GraphDsl.h.
node
|
port
|
Interned port id within the graph.
Definition at line 30 of file GraphDsl.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.