What can I help you with?
NVIDIA Holoscan SDK v3.3.0

Class OperatorWrapper

Base Type

  • public nvidia::gxf::Codelet

class OperatorWrapper : public nvidia::gxf::Codelet

Class to wrap an Operator to interface with the GXF framework.

Public Functions

OperatorWrapper()
virtual ~OperatorWrapper() = default
virtual const char *holoscan_typename() const = 0

Get the type name of the Operator.

gxf_result_t initialize() override

Create and initialize the Operator.

gxf_result_t deinitialize() override

Destroy the Operator and free resources.

gxf_result_t registerInterface(nvidia::gxf::Registrar *registrar) override

Register the Operator’s parameters with the GXF framework.

gxf_result_t start() override

Delegate to the Operator’s start() method.

gxf_result_t tick() override

Delegate to the Operator’s compute() method.

gxf_result_t stop() override

Delegate to the Operator’s stop() method.

inline bool is_metadata_enabled()

Determine if the operator has metadata enabled.

Protected Attributes

std::shared_ptr<Operator> op_

The Operator to wrap.

FragmentWrapper fragment_

The fragment to use for the Operator.

std::list<std::shared_ptr<CommonGXFParameter>> parameters_

The parameters for the GXF Codelet.

Previous Class GXFWrapper
Next Class ResourceWrapper
© Copyright 2022-2025, NVIDIA. Last updated on May 29, 2025.