NVIDIA Holoscan SDK v2.3.0
Holoscan v2.3.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 <a class="reference internal" href="classholoscan_1_1Condition.html#classholoscan_1_1Condition" target="_self">holoscan::Condition</a>, <a class="reference internal" href="classholoscan_1_1Resource.html#classholoscan_1_1Resource" target="_self">holoscan::Resource</a>, <a class="reference internal" href="classholoscan_1_1NetworkContext.html#classholoscan_1_1NetworkContext" target="_self">holoscan::NetworkContext</a>, <a class="reference internal" href="classholoscan_1_1Scheduler.html#classholoscan_1_1Scheduler" target="_self">holoscan::Scheduler</a> It is used to define the common interface for all components.

<a class="reference internal" href="classholoscan_1_1Operator.html#classholoscan_1_1Operator" target="_self">holoscan::Operator</a> does not inherit from this class as it uses holosccan::OperatorSpec instead of <a class="reference internal" href="classholoscan_1_1ComponentSpec.html#classholoscan_1_1ComponentSpec" target="_self">holoscan::ComponentSpec</a>.

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 Sep 6, 2024.