|Non-Confidential||PDF version||ARM 100963_0200_00_en|
|Home > CADI Extension Mechanism > Overview of the extension mechanism|
A major feature introduced with CADI 2.0 is the extension mechanism.
The extension mechanism:
A single target can present multiple interfaces. Each of the
interfaces, including the basic
is an extension of the abstract
The client can use a pointer to any of the interfaces to obtain
a pointer to any of the other interfaces implemented by the target.
The CADI extension mechanism is based on the
and its methods that must be implemented for any custom interface:
The main work of adding a custom extension to CADI must be done in the implementation for the target. A new class is declared and implemented provides access to all interfaces the target component offers.
A typical implementation must consider:
CAInterface. The inherited method calls must be implemented.
ObtainInterface()for the custom extension so that all existing interfaces are accessible.