Class Executor
Defined in File executor.hpp
Derived Type
public holoscan::gxf::GXFExecutor
(Class GXFExecutor)
- class Executor
-
Executor() = delete
-
virtual ~Executor() = default
-
inline virtual void run(Graph &graph)
-
inline void context(void *context)
Set the context.
- Parameters
-
inline void *context()
Get the context.
- Returns
-
inline void context_uint64(uint64_t context)
-
inline uint64_t context_uint64()
-
inline virtual bool initialize_operator(Operator *op)
Initialize the given operator.
This method is called by Operator::initialize() to initialize the operator.
Depending on the type of the operator, this method may be overridden to initialize the operator. For example, the default executor (GXFExecutor) initializes the operator using the GXF API and sets the operator’s ID to the ID of the GXF codelet.
- Parameters
- Returns
Add the receivers as input ports of the given operator.
This method is to be called by the Fragment::add_flow() method to support for the case where the destination input port label points to the parameter name of the downstream operator, and the parameter type is ‘std::vector<holoscan::IOSpec*>’. This finds a parameter with with ‘std::vector<holoscan::IOSpec*>’ type and create a new input port with a specific label (‘<parameter name>:<index>’. e.g, ‘receivers:0’).
- Parameters
- Returns
-
Fragment *fragment_ = nullptr
-
void *context_ = nullptr
- friend class Fragment
- friend class Operator
Base class for all executors.
An Executor that manages the execution of a Fragment on a physical node. The framework provides a default Executor that uses a GXF Scheduler to execute an Application.
Subclassed by holoscan::gxf::GXFExecutor
Public Functions
Protected Functions
Protected Attributes
Friends