Class GXFComponentResource

Holoscan v2.1.0

Base Type

class GXFComponentResource : public holoscan::gxf::GXFResource

Class that wraps a GXF Component as a Holoscan Resource.

Public Functions

template<typename ...ArgsT>
inline explicit GXFComponentResource(const char *gxf_typename, ArgsT&&... args)

GXFComponentResource() = default

virtual const char *gxf_typename() const override

virtual void setup(ComponentSpec &spec) override

Define the resource specification.

Parameters

spec – The reference to the component specification.

Protected Functions

virtual void set_parameters() override

This method is invoked by GXFResource::initialize(). By overriding this method, we can modify how GXF Codelet’s parameters are set from the arguments.

Protected Attributes

std::shared_ptr<gxf::ComponentInfo> gxf_component_info_

The GXF component info.

std::list<Parameter<void*>> parameters_

The fake parameters for the description.

Previous Class OperatorWrapperFragment
Next Class DataBuffer
© Copyright 2022-2024, NVIDIA. Last updated on Jul 3, 2024.