class CScriptBcaControl : public CActive |
Public Member Functions | |
---|---|
CScriptBcaControl(MBcaControlObserver *) | |
~CScriptBcaControl() | |
void | Shutdown(TInt) |
void | StartLoadL() |
Protected Member Functions | |
---|---|
void | DoCancel() |
void | RunL() |
Private Member Functions | |
---|---|
void | ObserverShutdownComplete() |
Private Member Enumerations | |
---|---|
enum | TBcaState { EIdling, ESettingIap, ESettingBcaStack, EOpeningBca, EBcaOpened, EClosing } |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Private Attributes | |
---|---|
TAutoClose< RLibrary > | iBcaDll |
TInt | iError |
BasebandChannelAdaptation::MBca * | iMBca |
MBcaControlObserver * | iObserver |
TBcaState | iState |
Inherited Attributes | |
---|---|
CActive::iStatus |
CScriptBcaControl | ( | MBcaControlObserver * | aObserver | ) |
Constructor. Performs standard active object initialisation.
MBcaControlObserver * aObserver | Reference to the observer of this state machine |
void | ObserverShutdownComplete | ( | ) | [private] |
Indicate to the observer that the BCA has been closed down.
void | Shutdown | ( | TInt | aError | ) |
Shutdown the BCA.
Once shutdown has completed, MBcaControlObserver::ShutdownComplete() is called.
TInt aError | the error code to reflect back to the observer after shutting down the BCA. |
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.
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 |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.