holoscan::ComponentSpec
holoscan::ComponentSpec
Class to define the specification of a component.
Constructors
ComponentSpec
Construct a new ComponentSpec object.
Parameters
The pointer to the fragment that contains this component.
Destructor
~ComponentSpec
Methods
fragment
Overload 1
Overload 2
Set the pointer to the fragment that contains this component.
Parameters
The pointer to the fragment that contains this component.
param
Define a parameter for this component (with flag)
Define a parameter for this component (with flag and headline)
Define a parameter for this component (with flag and headline and description)
Define a parameter for this component (with headline and description and init list)
Define a parameter that has a default value (1)
Define a parameter that has a default value (2)
Define a parameter for this component.
Template parameters
The type of the parameter.
Parameters
The parameter to define.
The key (name) of the parameter.
The flag of the parameter (default: ParameterFlag::kNone).
params
Get the parameters of this component.
Returns: The reference to the parameters of this component.
to_yaml_node
Get a YAML representation of the component spec.
Returns: YAML node including the parameters of this component.
description
Get a description of the component spec.
Returns: YAML string.
See also: to_yaml_node()