Declaration
class simaai::neat::graph::GraphRun { ... }
Friends Index
Public Constructors Index
Private Constructors Index
| GraphRun (std::shared_ptr< State > state) |
|
|
|
Public Destructor Index
Public Operators Index
Public Member Functions Index
| bool | running () const |
|
|
|
| bool | push (NodeId node_id, const Sample &sample) |
|
|
|
| bool | push (NodeId node_id, PortId port, const Sample &sample) |
|
|
|
| std::optional< Sample > | pull (NodeId node_id, int timeout_ms=-1) |
|
|
|
| Input | input (NodeId node_id) |
|
|
|
| Input | input (NodeId node_id, PortId port) |
|
|
|
| Output | output (NodeId node_id) |
|
|
|
| GraphRunStats & | enable_stats () |
|
|
|
| const GraphRunStats * | stats () const |
|
|
|
| PullSession | collect (const std::vector< Output > &outputs, GraphRunStats *stats=nullptr) |
|
|
|
| std::optional< Sample > | pull_any (const std::vector< Output > &outputs, int timeout_ms=-1, GraphRunStats *stats=nullptr, NodeId *out_node=nullptr) |
|
|
|
| bool | warmup (const std::vector< Output > &outputs, int warmup_count, int timeout_ms=-1) |
|
|
|
| void | pull_until (const std::vector< Output > &outputs, GraphRunStats &stats, const GraphRunPullOptions &opt, const std::function< void(const Sample &, NodeId)> &on_sample={}) |
|
|
|
| StallGuard | stall_guard (const std::vector< Output > &outputs, int per_stream_target, int stall_ms, std::vector< std::string > stream_ids={}) |
|
|
|
| void | emit_rate_summary (const GraphRunStats &stats) const |
|
|
|
| void | emit_rate_summary () const |
|
|
|
| void | emit_stream_summary (const GraphRunStats &stats) const |
|
|
|
| void | emit_stream_summary () const |
|
|
|
| void | emit_summary (const GraphRunStats &stats) const |
|
|
|
| void | emit_summary () const |
|
|
|
| std::string | describe () const |
|
|
|
| void | stop () |
|
|
|
| std::string | last_error () const |
|
|
|
| void | last_error_or_throw () const |
|
|
|
Private Member Attributes Index
| std::shared_ptr< State > | state_ |
|
|
|
Definition at line 82 of file GraphRun.h.
Public Constructors
GraphRun()
| simaai::neat::graph::GraphRun::GraphRun () |
|
default
|
GraphRun()
| simaai::neat::graph::GraphRun::GraphRun (const GraphRun &) |
|
delete
|
GraphRun()
| simaai::neat::graph::GraphRun::GraphRun (GraphRun &&) |
|
noexcept
|
Private Constructors
GraphRun()
| simaai::neat::graph::GraphRun::GraphRun (std::shared_ptr< State > state) |
|
explicit
|
Public Destructor
~GraphRun()
| simaai::neat::graph::GraphRun::~GraphRun () |
|
Public Operators
operator bool()
| simaai::neat::graph::GraphRun::operator bool () |
|
explicit
noexcept
|
operator=()
| GraphRun& simaai::neat::graph::GraphRun::operator= (const GraphRun &) |
|
delete
|
operator=()
| GraphRun& simaai::neat::graph::GraphRun::operator= (GraphRun &&) |
|
noexcept
|
Public Member Functions
collect()
| PullSession simaai::neat::graph::GraphRun::collect (const std::vector< Output > & outputs, GraphRunStats * stats=nullptr) |
|
describe()
| std::string simaai::neat::graph::GraphRun::describe () |
|
emit_rate_summary()
| void simaai::neat::graph::GraphRun::emit_rate_summary (const GraphRunStats & stats) |
|
emit_rate_summary()
| void simaai::neat::graph::GraphRun::emit_rate_summary () |
|
emit_stream_summary()
| void simaai::neat::graph::GraphRun::emit_stream_summary (const GraphRunStats & stats) |
|
emit_stream_summary()
| void simaai::neat::graph::GraphRun::emit_stream_summary () |
|
emit_summary()
| void simaai::neat::graph::GraphRun::emit_summary (const GraphRunStats & stats) |
|
emit_summary()
| void simaai::neat::graph::GraphRun::emit_summary () |
|
enable_stats()
| GraphRunStats& simaai::neat::graph::GraphRun::enable_stats () |
|
input()
| Input simaai::neat::graph::GraphRun::input (NodeId node_id) |
|
input()
| Input simaai::neat::graph::GraphRun::input (NodeId node_id, PortId port) |
|
last_error()
| std::string simaai::neat::graph::GraphRun::last_error () |
|
last_error_or_throw()
| void simaai::neat::graph::GraphRun::last_error_or_throw () |
|
output()
| Output simaai::neat::graph::GraphRun::output (NodeId node_id) |
|
pull()
| std::optional<Sample> simaai::neat::graph::GraphRun::pull (NodeId node_id, int timeout_ms=-1) |
|
pull_any()
| std::optional<Sample> simaai::neat::graph::GraphRun::pull_any (const std::vector< Output > & outputs, int timeout_ms=-1, GraphRunStats * stats=nullptr, NodeId * out_node=nullptr) |
|
pull_until()
push()
| bool simaai::neat::graph::GraphRun::push (NodeId node_id, const Sample & sample) |
|
push()
| bool simaai::neat::graph::GraphRun::push (NodeId node_id, PortId port, const Sample & sample) |
|
running()
| bool simaai::neat::graph::GraphRun::running () |
|
stall_guard()
| StallGuard simaai::neat::graph::GraphRun::stall_guard (const std::vector< Output > & outputs, int per_stream_target, int stall_ms, std::vector< std::string > stream_ids={}) |
|
stats()
| const GraphRunStats* simaai::neat::graph::GraphRun::stats () |
|
stop()
| void simaai::neat::graph::GraphRun::stop () |
|
warmup()
| bool simaai::neat::graph::GraphRun::warmup (const std::vector< Output > & outputs, int warmup_count, int timeout_ms=-1) |
|
Private Member Attributes
state_
| std::shared_ptr<State> simaai::neat::graph::GraphRun::state_ |
|
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.