A component template represents a real component and is also used in inheritance process.
Because you want the inherited component to be initialized (in a project, you want to set only some properties of the descendant), the template for that component must be registered instead of the component itself in the interface.
Details for use of templates and interfaces in the inheritance:
- Interfaces
- Interface selection is done in the CDE (component design-time)
- Interface specifies the methods and events needed by a new component, which is done using this interface
- Templates
- Template selection is done in Processor Expert (component run-time, usage of the component)
- Template settings should be CPU independent, because the CDE cannot set CPU dependent properties
- Template is the group of initialization values of the component for selected interface
- There is a possibility to disable editing of value of any property, method, or event for chosen interface. This can be done by setting the property, method, or event to Read Only in the template