NVIDIA Holoscan SDK v2.4.0
Holoscan v2.4.0

Class Component

Base Type

Derived Types

class Component : public holoscan::ComponentBase

Common class for all non-Operator components.

This class is the base class for all non-Operator components including holoscan::Condition, holoscan::Resource, holoscan::NetworkContext, holoscan::Scheduler It is used to define the common interface for all components.

holoscan::Operator does not inherit from this class as it uses holosccan::OperatorSpec instead of holoscan::ComponentSpec.

Subclassed by holoscan::Condition, holoscan::NetworkContext, holoscan::Resource, holoscan::Scheduler

Protected Functions

void update_params_from_args()

Update parameters based on the specified arguments.

inline virtual void set_parameters()

Set the parameters based on defaults (sets GXF parameters for GXF operators)

void update_params_from_args(std::unordered_map<std::string, ParameterWrapper> &params)

Update parameters based on the specified arguments.

Protected Attributes

std::shared_ptr<ComponentSpec> spec_

The component specification.

Friends

friend class holoscan::gxf::GXFExecutor

Previous Class CodecRegistry
Next Class ComponentBase
© Copyright 2022-2024, NVIDIA. Last updated on Oct 1, 2024.