|Non-Confidential||PDF version||ARM 100963_0200_00_en|
|Home > Introduction > CADI classes used to connect to a simulation > About the CADI classes used to connect to a simulation|
This section describes the interface class, the
CADISimulation class, and the
CADIErrorCallback callback classes.
Each interface class is derived from
CAInterface to enable compatibility checks and the extension mechanism.
CADIBroker class manages the connection
to a CADI simulation and consequently to a target. It provides a
CADI simulation by either:
CADISimulationobject is directly returned.
CADISimulationFactoryobject is selected and obtained. If a CADI factory creates a simulation, it transfers the pointer to the new simulation to the broker
CADISimulation class interacts with
classes. An object of each of these classes must be registered to
it. Pointers to the callback objects are forwarded to the simulation
and used for asynchronous communication between the target and debugger.
It is necessary to unregister the callback before ending the simulation. This avoids problems that might result from disconnecting from a simulation without shutting it down.