CScriptBcaControl Class Reference

class CScriptBcaControl : public CActive

Inherits from

Constructor & Destructor Documentation

CScriptBcaControl(MBcaControlObserver *)

CScriptBcaControl ( MBcaControlObserver * aObserver )

Constructor. Performs standard active object initialisation.

Parameters

MBcaControlObserver * aObserver Reference to the observer of this state machine

~CScriptBcaControl()

~CScriptBcaControl ( )

Destructor.

Member Functions Documentation

DoCancel()

void DoCancel ( ) [protected, virtual]

Cancel active request.

ObserverShutdownComplete()

void ObserverShutdownComplete ( ) [private]

Indicate to the observer that the BCA has been closed down.

RunL()

void RunL ( ) [protected, virtual]

Called after request is completed.

Shutdown(TInt)

void Shutdown ( TInt aError )

Shutdown the BCA.

Once shutdown has completed, MBcaControlObserver::ShutdownComplete() is called.

Parameters

TInt aError the error code to reflect back to the observer after shutting down the BCA.

StartLoadL()

void StartLoadL ( )

Load the BCA library and begin initialisation.

After loading the BCA, an Ioctl(KBCASetIapId) is issued to set the IAP. This starts off the initialisation state machine. If initialisation completes successfully, MBcaControlObserver::InitializeComplete() is called. If there is an error during initialisation, MBcaControlObserver::Stop() is called.

Member Enumerations Documentation

Enum TBcaState

Enumerators

EIdling

BCA ready to start

ESettingIap

Ioctl(KBCASetIapId) issued on BCA

ESettingBcaStack

Ioctl(KBCASetBcaStack) issued on BCA

EOpeningBca

Open() issued on BCA

EBcaOpened

BCA Open() complete

EClosing

BCA being closed

Member Data Documentation

TAutoClose< RLibrary > iBcaDll

TAutoClose < RLibrary > iBcaDll [private]

used to load BCA library

TInt iError

TInt iError [private]

NIF shut down error

BasebandChannelAdaptation::MBca * iMBca

BasebandChannelAdaptation::MBca * iMBca [private]

BCA

MBcaControlObserver * iObserver

MBcaControlObserver * iObserver [private]

TBcaState iState

TBcaState iState [private]

BCA state