StageExecutor.h File
Actor-like stage executor interface (multi-port). More...
Included Headers
#include "graph/GraphTypes.h"
#include "pipeline/SessionOptions.h"
#include <cstdint>
#include <string>
#include <unordered_map>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | graph |
Classes Index
| struct | StageMsg |
| struct | StageOutMsg |
| struct | StagePorts |
| class | StageExecutor |
Description
Actor-like stage executor interface (multi-port).
File Listing
The file content with the documentation metadata removed is:
8#include "graph/GraphTypes.h"
9#include "pipeline/SessionOptions.h"
16namespace simaai::neat::graph {
23struct StageOutMsg {
28struct StagePorts {
33 auto it = in.find(name);
34 return it == in.end() ? kInvalidPort : it->second;
38 auto it = out.find(name);
39 return it == out.end() ? kInvalidPort : it->second;
42 PortId only_input() const {
46 PortId only_output() const {
51class StageExecutor {
53 virtual ~StageExecutor() = default;
56 virtual void set_ports(const StagePorts& /*ports*/) {}
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.