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
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 usesholosccan::OperatorSpec
instead ofholoscan::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> ¶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()