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,
TIntaId,
TIntaPriority
)[private, inline]

C++ default constructor

Since
S60 v3.2

Parameters

MBTEngActiveObserver & aObserverPointer to callback interface that receives notification that the request has been completed.
TInt aIdID of the request (for the client to keep track of multiple active objects).
TInt aPriorityPriority of

~CBTEngActive()

~CBTEngActive()[inline, virtual]

Destructor

Member Functions Documentation

CancelRequest()

voidCancelRequest()[inline]

Cancel an outstanding request.

Since
S60 v3.2

ConstructL()

voidConstructL()[private, inline]

Symbian 2nd-phase constructor

Since
S60 v3.2

DoCancel()

voidDoCancel()[inline, virtual]

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

Since
S60 v3.2

GoActive()

voidGoActive()[inline]

Activate the active object.

Since
S60 v3.2

NewL(MBTEngActiveObserver &, TInt, TInt)

CBTEngActive *NewL(MBTEngActiveObserver &aObserver,
TIntaId,
TIntaPriority = CActive::EPriorityStandard
)[static, inline]

Two-phase constructor

Since
S60 v3.2

Parameters

MBTEngActiveObserver & aObserverPointer to callback interface that receives notification that the request has been completed.
TInt aIdIdentifier for the CBTEngActive instance.
TInt aPriority = CActive::EPriorityStandardThe 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(TIntaError)[inline, virtual]

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

Since
S60 v3.2

Parameters

TInt aError

RunL()

voidRunL()[inline, virtual]

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

Since
S60 v3.2

SetRequestId(TInt)

voidSetRequestId(TIntaId)[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).