VPbkEngUtils::CVPbkAsyncOperation Class Reference

class VPbkEngUtils::CVPbkAsyncOperation : public CBase

Contact store asynchrnous operations.

Inherits from

  • VPbkEngUtils::CVPbkAsyncOperation

Constructor & Destructor Documentation

CVPbkAsyncOperation()

IMPORT_C CVPbkAsyncOperation ( )

Constructs the operation with priority CActive::EPriorityIdle .

CVPbkAsyncOperation(CActive::TPriority)

IMPORT_C CVPbkAsyncOperation ( CActive::TPriority aPriority )

Constructs the operation with aPriority.

Parameters

CActive::TPriority aPriority the priority for the active object.

~CVPbkAsyncOperation()

IMPORT_C ~CVPbkAsyncOperation ( )

Destructor.

Member Functions Documentation

CallbackAt(TInt)

IMPORT_C const MAsyncCallback & CallbackAt ( TInt aIndex ) const

Returns a reference to the callback at position aIndex.

Parameters

TInt aIndex The position of the callback.

CallbackCount()

IMPORT_C TInt CallbackCount ( ) const

Returns the number of callbacks in this operation.

CallbackL(MAsyncCallback *)

IMPORT_C void CallbackL ( MAsyncCallback * aCallback )

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

Parameters

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

CancelCallback(const MAsyncCallback &)

IMPORT_C void CancelCallback ( const MAsyncCallback & aCallback )

Cancels and deletes the aCallback from this operation.

Parameters

const MAsyncCallback & aCallback The callback to delete.

HandleIdleCallback()

TInt HandleIdleCallback ( ) [private]

IdleCallback(TAny *)

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

Parameters

TAny * aThis

IssueRequest()

void IssueRequest ( ) [private]

Purge()

IMPORT_C void Purge ( )

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]