JoinBundle.h File
Stage executor that joins multiple inputs into a Bundle sample. More...
Included Headers
#include "graph/StageExecutor.h"
#include "graph/nodes/StageNode.h"
#include <cstddef>
#include <cstdint>
#include <deque>
#include <memory>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | graph |
| namespace | nodes |
Classes Index
| struct | JoinBundleOptions |
|
Configuration for a JoinBundle stage executor. More... | |
| class | JoinBundle |
|
Stage executor that joins samples from multiple input ports into a single bundled output. More... | |
| struct | Pending |
|
Per-key in-flight bundle being assembled — one entry per pending join key. More... | |
Description
Stage executor that joins multiple inputs into a Bundle sample.
File Listing
The file content with the documentation metadata removed is:
8#include "graph/StageExecutor.h"
9#include "graph/nodes/StageNode.h"
21namespace simaai::neat::graph::nodes {
32enum class JoinKeyPolicy {
33 StreamFrame = 0,
34 StreamPts,
45struct JoinBundleOptions {
49 bool emit_partial = false;
50 std::size_t max_pending_keys =
52 int timeout_ms = 0;
67class JoinBundle final : public simaai::neat::graph::StageExecutor {
70 explicit JoinBundle(JoinBundleOptions opt);
73 void set_ports(const StagePorts& ports) override;
87 std::string make_key_(const Sample& sample) const;
94 JoinBundleOptions opt_;
101 PortId out_port_ = kInvalidPort;
113std::shared_ptr<simaai::neat::graph::Node> JoinBundleNode(std::vector<std::string> inputs,
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.