A.7.1. CADICallbackObj class declaration

The class declaration is shown in Example A.9:

Example A.9. The CADICallbackObj class

class CADI_WEXP CADICallbackObj : public CAInterface
{
public:
    virtual uint32_t appliOpen(const char *sFileName, const char *mode) = 0;
    virtual void appliOutput(uint32_t streamId, uint32_t count,
                        uint32_t *actualCount, const char *buffer) = 0;
    virtual uint32_t appliClose(uint32_t streamID) = 0;
    virtual void doString(const char *stringArg) = 0;
    virtual void modeChange(uint32_t newMode, CADIBptNumber_t bptNumber) = 0;
    virtual void reset(uint32_t resetLevel) = 0;
    virtual void cycleTick(void) = 0;
    virtual void killInterface(void) = 0;
    virtual uint32_t bypass(uint32_t commandLength, const char *command,
                        uint32_t maxResponseLength, char *response) = 0;
    virtual uint32_t lookupSymbol (uint32_t symbolLength, const char *symbol,
                        uint32_t maxResponseLength, char *response) = 0;
    virtual void refresh(uint32_t refreshReason) = 0;
};

Copyright © 2014 ARM. All rights reserved.ARM DUI 0842B
Non-ConfidentialID111014