VPbkEngUtils::CVPbkAsyncOperation Class Reference

class VPbkEngUtils::CVPbkAsyncOperation : public CBase

Contact store asynchrnous operations.

Inherits from

  • VPbkEngUtils::CVPbkAsyncOperation

Constructor & Destructor Documentation

CVPbkAsyncOperation()

IMPORT_CCVPbkAsyncOperation()

Constructs the operation with priority CActive::EPriorityIdle.

CVPbkAsyncOperation(CActive::TPriority)

IMPORT_CCVPbkAsyncOperation(CActive::TPriorityaPriority)

Constructs the operation with aPriority.

Parameters

CActive::TPriority aPrioritythe priority for the active object.

~CVPbkAsyncOperation()

IMPORT_C~CVPbkAsyncOperation()

Destructor.

Member Functions Documentation

CallbackAt(TInt)

IMPORT_C const MAsyncCallback &CallbackAt(TIntaIndex)const

Returns a reference to the callback at position aIndex.

Parameters

TInt aIndexThe position of the callback.

CallbackCount()

IMPORT_C TIntCallbackCount()const

Returns the number of callbacks in this operation.

CallbackL(MAsyncCallback *)

IMPORT_C voidCallbackL(MAsyncCallback *aCallback)

Starts a new callback. Ownership is transferred in case the function does not leave.

Parameters

MAsyncCallback * aCallbackA callback instance e.g. from CVPbkAsyncCallback.h. Ownership is taken.

CancelCallback(const MAsyncCallback &)

IMPORT_C voidCancelCallback(const MAsyncCallback &aCallback)

Cancels and deletes the aCallback from this operation.

Parameters

const MAsyncCallback & aCallbackThe callback to delete.

HandleIdleCallback()

TInt HandleIdleCallback()[private]

IdleCallback(TAny *)

TInt IdleCallback(TAny *aThis)[private, static]

Parameters

TAny * aThis

IssueRequest()

voidIssueRequest()[private]

Purge()

IMPORT_C voidPurge()

Cancels and deletes all callbacks in this operation.

Member Data Documentation

RPointerArray< MAsyncCallback > iCallbacks

RPointerArray< MAsyncCallback >iCallbacks[private]

TBool * iDestroyed

TBool *iDestroyed[private]

CIdle * iIdle

CIdle *iIdle[private]

CActive::TPriority iPriority

CActive::TPriority iPriority[private]