Class Application
Defined in File application.hpp
Base Type
public holoscan::Fragment
(Class Fragment)
-
class Application : public holoscan::Fragment
-
Public Functions
- Application() = default
- ~Application() override = default
Create a new fragment.
- Template Parameters:
- Parameters:
name – The name of the fragment.
args – The arguments to pass to the fragment constructor.
- Returns:
FragmentT – The type of the fragment to create.
The shared pointer to the created fragment.
Create a new fragment.
- Template Parameters:
- Parameters:
- Returns:
FragmentT – The type of the fragment to create.
args – The arguments to pass to the fragment constructor.
The shared pointer to the created fragment.
Add a flow between two operators.
An output port of the upstream operator is connected to an input port of the downstream operator. The information about the flow (edge) is stored in the Graph object.
If the upstream operator or the downstream operator is not in the graph, it will be added to the graph.
If there are multiple output ports in the upstream operator or multiple input ports in the downstream operator, it shows an error message.
- Parameters:
upstream_op – The upstream operator.
downstream_op – The downstream operator.
Add a flow between two operators.
An output port of the upstream operator is connected to an input port of the downstream operator. The information about the flow (edge) is stored in the Graph object.
If the upstream operator or the downstream operator is not in the graph, it will be added to the graph.
In
port_pairs
, an empty port name (“”) can be used for specifying a port name if the operator has only one input/output port.- Parameters:
upstream_op – The upstream operator.
downstream_op – The downstream operator.
port_pairs – The port pairs. The first element of the pair is the port of the upstream operator and the second element is the port of the downstream operator.