CDosAsyncExecBase Class Reference

class CDosAsyncExecBase : public CActive

Helper class to help implementing the DSY for asynchronous operations.

Inherits from

Constructor & Destructor Documentation

CDosAsyncExecBase(const RMessagePtr2)

IMPORT_CCDosAsyncExecBase(const RMessagePtr2aMessage)

Constructor.

Parameters

const RMessagePtr2 aMessageThe client-server message that has to be completed.

~CDosAsyncExecBase()

IMPORT_C~CDosAsyncExecBase()

Destructor

Member Functions Documentation

AfterComplete(TBool &)

IMPORT_C voidAfterComplete(TBool &aAutoDestroy)[private, virtual]

It's meant to be overriden and it's called just before the message has been completed.

Parameters

TBool & aAutoDestroyIf it's set to ETrue the object will destroy itself otherwise it won't.

BeforeComplete(TBool &)

IMPORT_C voidBeforeComplete(TBool &aComplete)[private, virtual]

It's meant to be overriden and it's called just before the message has been completed.

Parameters

TBool & aCompleteIf put to ETrue the message will be completed otherwise it won't.

DoCancel()

IMPORT_C voidDoCancel()[private, virtual]

Inherited from CActive. It cancels the outstanding request.

RunL()

IMPORT_C voidRunL()[private, virtual]

Inherited from CActive. It calls BeforeComplete, completes the request if instructed to do so and then calls AfterComplete.

Member Data Documentation

const RMessagePtr2 iMessage

const RMessagePtr2iMessage[private]