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 |
| class | JoinBundle |
| struct | Pending |
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 {
23enum class JoinKeyPolicy {
24 StreamFrame = 0,
25 StreamPts,
28struct JoinBundleOptions {
32 bool emit_partial = false;
33 std::size_t max_pending_keys = 4096;
34 int timeout_ms = 0; // 0 => no timeout eviction
37class JoinBundle final : public simaai::neat::graph::StageExecutor {
39 explicit JoinBundle(JoinBundleOptions opt);
41 void set_ports(const StagePorts& ports) override;
51 std::string make_key_(const Sample& sample) const;
58 JoinBundleOptions opt_;
65 PortId out_port_ = kInvalidPort;
69std::shared_ptr<simaai::neat::graph::Node> JoinBundleNode(std::vector<std::string> inputs,
71 std::string output = "bundle",
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.