Skip to main content

Node Class

Base class for hybrid graph nodes. More...

Declaration

class simaai::neat::graph::Node { ... }

Included Headers

#include <Node.h>

Derived Classes

classPipelineNode

Runtime-graph node that wraps a builder-side NodeGroup (or single Node) as a pipeline-backend node. More...

classStageNode

Generic runtime-graph node that adapts a StageExecutor factory into a Node. More...

Public Destructor Index

~Node ()=default

Virtual destructor; required for polymorphic deletion. More...

Public Member Functions Index

Backendbackend () const =0

Backend type (pipeline-backed vs stage-backed) that runs this node. More...

std::stringkind () const =0

Deterministic type label identifying this node kind. More...

std::stringuser_label () const

Optional user-facing label for diagnostics; empty by default. More...

std::vector< PortDesc >input_ports () const =0

Declared input ports of this node. More...

std::vector< PortDesc >output_ports () const =0

Declared output ports of this node. More...

OutputSpecoutput_spec (const std::vector< OutputSpec > &inputs, PortId out_port) const

Output spec inference for the compiler; may return an unknown spec. More...

Description

Base class for hybrid graph nodes.

This interface is STL-only and does not own GStreamer runtime objects.

Definition at line 20 of file Node.h.

Public Destructor

~Node()

virtual simaai::neat::graph::Node::~Node ()
virtual default

Virtual destructor; required for polymorphic deletion.

Definition at line 23 of file Node.h.

Public Member Functions

backend()

virtual Backend simaai::neat::graph::Node::backend ()

Backend type (pipeline-backed vs stage-backed) that runs this node.

Definition at line 26 of file Node.h.

input_ports()

virtual std::vector< PortDesc > simaai::neat::graph::Node::input_ports ()

Declared input ports of this node.

Definition at line 37 of file Node.h.

kind()

virtual std::string simaai::neat::graph::Node::kind ()

Deterministic type label identifying this node kind.

Definition at line 29 of file Node.h.

output_ports()

virtual std::vector< PortDesc > simaai::neat::graph::Node::output_ports ()

Declared output ports of this node.

Definition at line 39 of file Node.h.

output_spec()

virtual OutputSpec simaai::neat::graph::Node::output_spec (const std::vector< OutputSpec > & inputs, PortId out_port)
inline virtual

Output spec inference for the compiler; may return an unknown spec.

Definition at line 42 of file Node.h.

42 virtual OutputSpec output_spec(const std::vector<OutputSpec>& inputs, PortId out_port) const {
43 (void)inputs;
44 (void)out_port;
45 return OutputSpec{};
46 }

user_label()

virtual std::string simaai::neat::graph::Node::user_label ()
inline virtual

Optional user-facing label for diagnostics; empty by default.

Definition at line 32 of file Node.h.

32 virtual std::string user_label() const {
33 return "";
34 }

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.