1.3.2 CADI classes used to control the simulation target

The CADISimulation method GetTarget() returns a pointer, of type CAInterface, to the required target component. After calling its ObtainInterface() method to validate interface compatibility, the target can convert the pointer to the wanted interface type.

The standard CADI interfaces that can be obtained from the target pointer are CADI, CADIDisassembler, CADIProfiling, or a type that corresponds to a custom extension. The type is typically CADI or CADIDisassembler. These interfaces might not, however, be implemented for a target.

You can add interface extensions, alongside the standard types. Dedicated callback objects must be registered. Communication is typically asynchronous into both directions, but the caller must manage synchronization of calls and any associated callbacks.

Figure 1-3 Targeted interface acquisition, showing the relationship between CADI classes for target interface. All of the objects shown derive from CAInterface.
To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

Non-ConfidentialPDF file icon PDF versionARM 100963_0200_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.