A.1.1. About the CAInterface class

CAInterface provides a basis for a software model built around components and interfaces.

For CADI, an interface:

A component is a black-box entity that has a unique identity and provides concrete implementations of one or more interfaces:

The CAInterface class is the base class for all interfaces. It defines a method, CAInterface::ObtainInterface(), that enables a client to obtain a reference to any of the interfaces that the component implements.

The client specifies the ID and revision of the interface that it is requesting. The component can return NULL if it does not implement that interface, or only implements a lower revision.

Because each interface derives from CAInterface, a client can call ObtainInterface() on any one interface pointer to obtain a pointer to any other interface implemented by the same component.

The following rules govern the use of components and interfaces:

Copyright © 2008-2010 ARM Limited. All rights reserved.ARM DUI 0444F