Class Component
Defined in File component.hpp
Base Type
public holoscan::ComponentBase
(Class ComponentBase)
Derived Types
public holoscan::Condition
(Class Condition)public holoscan::NetworkContext
(Class NetworkContext)public holoscan::Resource
(Class Resource)public holoscan::Scheduler
(Class Scheduler)
-
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 usesholosccan::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> ¶ms)
Update parameters based on the specified arguments.
Protected Attributes
-
std::shared_ptr<ComponentSpec> spec_
The component specification.
Friends
- friend class holoscan::gxf::GXFExecutor
-
void update_params_from_args()