Skip to main content

Output Class

Declaration

class simaai::neat::graph::GraphRun::Output { ... }

Included Headers

#include <GraphRun.h>

Friends Index

classGraphRun

Private Constructors Index

Output (GraphRun *run, NodeId node)

Public Member Functions Index

std::optional< Sample >pull (int timeout_ms=-1, GraphRunStats *stats=nullptr) const
Samplepull_or_throw (int timeout_ms=-1, GraphRunStats *stats=nullptr) const
NodeIdnode_id () const

Private Member Attributes Index

GraphRun *run_ = nullptr
NodeIdnode_ = kInvalidNode

Definition at line 99 of file GraphRun.h.

Friends

GraphRun

friend class GraphRun

Definition at line 108 of file GraphRun.h.

108 friend class GraphRun;

Private Constructors

Output()

simaai::neat::graph::GraphRun::Output::Output (GraphRun * run, NodeId node)
inline

Definition at line 109 of file GraphRun.h.

109 Output(GraphRun* run, NodeId node) : run_(run), node_(node) {}

Public Member Functions

node_id()

NodeId simaai::neat::graph::GraphRun::Output::node_id ()
inline

Definition at line 103 of file GraphRun.h.

103 NodeId node_id() const {
104 return node_;
105 }

pull()

std::optional<Sample> simaai::neat::graph::GraphRun::Output::pull (int timeout_ms=-1, GraphRunStats * stats=nullptr)

Definition at line 101 of file GraphRun.h.

pull_or_throw()

Sample simaai::neat::graph::GraphRun::Output::pull_or_throw (int timeout_ms=-1, GraphRunStats * stats=nullptr)

Definition at line 102 of file GraphRun.h.

Private Member Attributes

node_

NodeId simaai::neat::graph::GraphRun::Output::node_ = kInvalidNode

Definition at line 112 of file GraphRun.h.

112 NodeId node_ = kInvalidNode;

run_

GraphRun* simaai::neat::graph::GraphRun::Output::run_ = nullptr

Definition at line 111 of file GraphRun.h.

111 GraphRun* run_ = nullptr;

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.