Output.h File
Output Node — terminal sink that exposes pulled samples to Run::pull(). More...
Included Headers
#include "builder/Node.h"
#include <memory>
#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 Session that uses async-mode (Run::pull()). For sync-mode pipelines that write directly to a file, use the file-output NodeGroups instead.
File Listing
The file content with the documentation metadata removed is:
18namespace simaai::neat {
28struct OutputOptions {
29 int max_buffers = 4;
34 static OutputOptions Latest();
36 static OutputOptions EveryFrame(int max_buffers = 30);
38 static OutputOptions Clocked(int max_buffers = 1);
51 explicit Output(OutputOptions opt) : opt_(std::move(opt)) {}
54 const OutputOptions& options() const {
63 NodeCapsBehavior caps_behavior() const override {
67 std::string backend_fragment(int node_index) const override;
69 std::vector<std::string> element_names(int node_index) const override;
72 OutputOptions opt_;
77namespace simaai::neat::nodes {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.