Output.h File
Output Node — terminal sink that exposes pulled samples to Run::pull(). More...
Included Headers
#include "builder/Node.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | nodes |
Classes Index
| struct | OutputOptions |
| class | Output |
|
Pull-side terminal sink. More... | |
Description
Output Node — terminal sink that exposes pulled samples to Run::pull().
Wraps an appsink-style element. Place at the end of a Graph that uses async-mode (Run::pull()). For sync-mode pipelines that write directly to a file, use the file-output Graph fragments instead.
File Listing
The file content with the documentation metadata removed is:
19namespace simaai::neat {
30enum class CombinePolicy {
33 None,
37 ByFrame,
41 ByPts,
52struct OutputOptions {
53 int max_buffers = 4;
59 static OutputOptions Latest();
61 static OutputOptions EveryFrame(int max_buffers = 30);
63 static OutputOptions Clocked(int max_buffers = 1);
78 explicit Output(OutputOptions opt) : opt_(std::move(opt)) {}
80 Output(std::string name, OutputOptions opt)
84 const OutputOptions& options() const {
93 std::string user_label() const override {
97 const std::string& endpoint_name() const noexcept {
101 NodeCapsBehavior caps_behavior() const override {
105 std::string backend_fragment(int node_index) const override;
107 std::vector<std::string> element_names(int node_index) const override;
110 OutputOptions opt_;
116namespace simaai::neat::nodes {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.