CBTEngActive Class Reference

class CBTEngActive : public CActive

Class CBTEngActive

?more_complete_description

bteng*.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CBTEngActive(MBTEngActiveObserver &, TInt, TInt)

CBTEngActive ( MBTEngActiveObserver & aObserver,
TInt aId,
TInt aPriority
) [private, inline]

C++ default constructor

Since
S60 v3.2

Parameters

MBTEngActiveObserver & aObserver Pointer to callback interface that receives notification that the request has been completed.
TInt aId ID of the request (for the client to keep track of multiple active objects).
TInt aPriority Priority of

~CBTEngActive()

~CBTEngActive ( ) [inline, virtual]

Destructor

Member Functions Documentation

CancelRequest()

void CancelRequest ( ) [inline]

Cancel an outstanding request.

Since
S60 v3.2

ConstructL()

void ConstructL ( ) [private, inline]

Symbian 2nd-phase constructor

Since
S60 v3.2

DoCancel()

void DoCancel ( ) [inline, virtual]

From CActive . Called by the active scheduler when the request has been cancelled.

Since
S60 v3.2

GoActive()

void GoActive ( ) [inline]

Activate the active object.

Since
S60 v3.2

NewL(MBTEngActiveObserver &, TInt, TInt)

CBTEngActive * NewL ( MBTEngActiveObserver & aObserver,
TInt aId,
TInt aPriority = CActive::EPriorityStandard
) [static, inline]

Two-phase constructor

Since
S60 v3.2

Parameters

MBTEngActiveObserver & aObserver Pointer to callback interface that receives notification that the request has been completed.
TInt aId Identifier for the CBTEngActive instance.
TInt aPriority = CActive::EPriorityStandard The priority of the active object.

RequestId()

TInt RequestId ( ) [inline]

Get the request ID of this active object.

Since
S60 v3.2

RequestStatus()

TRequestStatus & RequestStatus ( ) [inline]

Get a reference to the active object request status.

Since
S60 v3.2

RunError(TInt)

TInt RunError ( TInt aError ) [inline, virtual]

From CActive . Called by the active scheduler when an error in RunL has occurred.

Since
S60 v3.2

Parameters

TInt aError

RunL()

void RunL ( ) [inline, virtual]

From CActive . Called by the active scheduler when the request has been completed.

Since
S60 v3.2

SetRequestId(TInt)

void SetRequestId ( TInt aId ) [inline]

Set a new request ID for this active object.

Since
S60 v3.2

Parameters

TInt aId

Member Data Documentation

MBTEngActiveObserver & iObserver

MBTEngActiveObserver & iObserver [private]

Our observer. Not own.

TInt iRequestId

TInt iRequestId [private]

ID of the request (used only by our client).