holoscan::ComponentSpec
holoscan::ComponentSpec
holoscan::ComponentSpec
Class to define the specification of a component.
Construct a new ComponentSpec object.
Parameters
The pointer to the fragment that contains this component.
Set the pointer to the fragment that contains this component.
Parameters
The pointer to the fragment that contains this component.
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).
Get the parameters of this component.
Returns: The reference to the parameters of this component.
Get a YAML representation of the component spec.
Returns: YAML node including the parameters of this component.
Get a description of the component spec.
Returns: YAML string.
See also: to_yaml_node()