Skip to main content

Output Class

Pull-side terminal sink. More...

Declaration

class simaai::neat::Output { ... }

Included Headers

#include <Output.h>

Base class

classNode

Public Constructors Index

Output ()=default

Construct with default options (max_buffers=4, drop=false, sync=false). More...

Output (OutputOptions opt)

Construct with explicit options. More...

Public Member Functions Index

const OutputOptions &options () const

Inspect the Node's options. More...

std::stringkind () const override

Type label for this Node kind. More...

NodeCapsBehaviorcaps_behavior () const override

Whether the Node negotiates static or dynamic caps. More...

std::stringbackend_fragment (int node_index) const override

GStreamer fragment this Node emits. More...

std::vector< std::string >element_names (int node_index) const override

Deterministic element names this Node will create. More...

Private Member Attributes Index

OutputOptionsopt_

Description

Pull-side terminal sink.

Samples land here for Run::pull() to consume.

Definition at line 46 of file Output.h.

Public Constructors

Output()

simaai::neat::Output::Output ()
default

Construct with default options (max_buffers=4, drop=false, sync=false).

Definition at line 49 of file Output.h.

Output()

simaai::neat::Output::Output (OutputOptions opt)
inline explicit

Construct with explicit options.

Definition at line 51 of file Output.h.

51 explicit Output(OutputOptions opt) : opt_(std::move(opt)) {}

Public Member Functions

backend_fragment()

std::string simaai::neat::Output::backend_fragment (int node_index)

GStreamer fragment this Node emits.

Definition at line 67 of file Output.h.

caps_behavior()

NodeCapsBehavior simaai::neat::Output::caps_behavior ()
inline

Whether the Node negotiates static or dynamic caps.

Definition at line 63 of file Output.h.

63 NodeCapsBehavior caps_behavior() const override {
64 return NodeCapsBehavior::Dynamic;
65 }

element_names()

std::vector< std::string > simaai::neat::Output::element_names (int node_index)

Deterministic element names this Node will create.

Definition at line 69 of file Output.h.

kind()

std::string simaai::neat::Output::kind ()
inline

Type label for this Node kind.

Definition at line 59 of file Output.h.

59 std::string kind() const override {
60 return "Output";
61 }

options()

const OutputOptions & simaai::neat::Output::options ()
inline

Inspect the Node's options.

Definition at line 54 of file Output.h.

54 const OutputOptions& options() const {
55 return opt_;
56 }

Private Member Attributes

opt_

OutputOptions simaai::neat::Output::opt_

Definition at line 72 of file Output.h.

72 OutputOptions opt_;

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.