Push handle for a node's input port. More...
Declaration
class simaai::neat::graph::GraphRun::Input { ... }
Friends Index
Private Constructors Index
| Input (GraphRun *run, NodeId node, PortId port, bool has_port) |
|
|
|
Public Member Functions Index
| bool | push (const Sample &sample) const |
|
Push a sample into the bound port. Returns false on backpressure timeout. More...
|
|
Private Member Attributes Index
Description
Push handle for a node's input port.
Obtain via GraphRun::input(node_id) or GraphRun::input(node_id, port). Holds a non-owning pointer back to the parent GraphRun — must not outlive it.
Definition at line 174 of file GraphRun.h.
Private Constructors
Input()
| simaai::neat::graph::GraphRun::Input::Input (GraphRun * run, NodeId node, PortId port, bool has_port) |
|
inline
|
Definition at line 181 of file GraphRun.h.
182 : run_(run), node_(node), port_(port), has_port_(has_port) {}
Public Member Functions
push()
| bool simaai::neat::graph::GraphRun::Input::push (const Sample & sample) |
|
Push a sample into the bound port. Returns false on backpressure timeout.
Definition at line 177 of file GraphRun.h.
Private Member Attributes
has_port_
| bool simaai::neat::graph::GraphRun::Input::has_port_ = false |
|
Definition at line 187 of file GraphRun.h.
187 bool has_port_ = false;
node_
| NodeId simaai::neat::graph::GraphRun::Input::node_ = kInvalidNode |
|
port_
| PortId simaai::neat::graph::GraphRun::Input::port_ = kInvalidPort |
|
run_
| GraphRun* simaai::neat::graph::GraphRun::Input::run_ = nullptr |
|
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.