|Non-Confidential||PDF version||ARM 100963_0200_00_en|
|Home > Class Reference > CADI class > CADI::CADIXfaceAddCallback()|
A debugger connected to the target must call this to register a callback object that handles asynchronous information from the target.
The callback routines must not make calls to the target. It is possible for a debugger to
receive a callback while in the middle of a call by, for example, receiving a
modeChange callback from within a
Callbacks from a target into the debugger typically come from a different thread (called the simulation thread) than the calls from the debugger into the target (called the GUI thread or debugger thread).
Already registered callbacks can be reconfigured with respect to the enabled callbacks. That is, they are replaced when called again.
virtual CADIReturn_t CADI::CADIXfaceAddCallback(CADICallbackObj *callbackObj, char enable[CADI_CB_Count]) = 0;
the elements of this array enable or disable specific callbacks. The caller must always check if the callbacks are enabled. The callbacks must not be called if they are disabled.
The indexes in the array must be based on the list in
The length of the array is