Skip to main content

PCIeSrc Class

Source-role Node that receives samples from a PCIe-connected host. More...

Declaration

class simaai::neat::PCIeSrc { ... }

Included Headers

#include <PCIeSrc.h>

Base classes

classNode
classOutputSpecProvider

Public Constructors Index

PCIeSrc (PCIeSrcOptions opt={})

Construct with optional PCIeSrcOptions. More...

Public Member Functions Index

std::stringkind () const override

Type label for this Node kind. More...

std::stringuser_label () const override

User-facing label for this Node. More...

InputRoleinput_role () const override

Role this Node plays as a stream source. 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...

OutputSpecoutput_spec (const OutputSpec &input) const override

Negotiated downstream caps produced by this Node. More...

const PCIeSrcOptions &options () const

Inspect the Node's options. More...

Private Member Attributes Index

PCIeSrcOptionsopt_

Description

Source-role Node that receives samples from a PCIe-connected host.

Definition at line 46 of file PCIeSrc.h.

Public Constructors

PCIeSrc()

simaai::neat::PCIeSrc::PCIeSrc (PCIeSrcOptions opt={})
explicit

Construct with optional PCIeSrcOptions.

Definition at line 49 of file PCIeSrc.h.

Public Member Functions

backend_fragment()

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

GStreamer fragment this Node emits.

Definition at line 69 of file PCIeSrc.h.

caps_behavior()

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

Whether the Node negotiates static or dynamic caps.

Definition at line 64 of file PCIeSrc.h.

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

element_names()

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

Deterministic element names this Node will create.

Definition at line 71 of file PCIeSrc.h.

input_role()

InputRole simaai::neat::PCIeSrc::input_role ()
inline

Role this Node plays as a stream source.

Definition at line 60 of file PCIeSrc.h.

60 InputRole input_role() const override {
61 return InputRole::Source;
62 }

kind()

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

Type label for this Node kind.

Definition at line 52 of file PCIeSrc.h.

52 std::string kind() const override {
53 return "PCIeSrc";
54 }

options()

const PCIeSrcOptions & simaai::neat::PCIeSrc::options ()
inline

Inspect the Node's options.

Definition at line 76 of file PCIeSrc.h.

76 const PCIeSrcOptions& options() const {
77 return opt_;
78 }

output_spec()

OutputSpec simaai::neat::PCIeSrc::output_spec (const OutputSpec & input)

Negotiated downstream caps produced by this Node.

Definition at line 73 of file PCIeSrc.h.

user_label()

std::string simaai::neat::PCIeSrc::user_label ()
inline

User-facing label for this Node.

Definition at line 56 of file PCIeSrc.h.

56 std::string user_label() const override {
57 return "pciesrc";
58 }

Private Member Attributes

opt_

PCIeSrcOptions simaai::neat::PCIeSrc::opt_

Definition at line 81 of file PCIeSrc.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.