CTestRemoteCmdNotifier Class Reference

class CTestRemoteCmdNotifier : public CActive

Inherits from

Public Member Functions
~CTestRemoteCmdNotifier()
voidCancelReq()
voidDoCancel()
voidEnableReceive(const RMessage2 &)
voidGetReceivedMsg(const RMessage2 &)
CTestRemoteCmdNotifier *NewL(CTestEngine *, RTestExecution, CTestCaseController *, CAtsLogger &)
TInt RunError(TInt)
voidRunL()
voidStart(const RMessage2 &)
Private Member Functions
CTestRemoteCmdNotifier(CTestEngine *, RTestExecution, CTestCaseController *, CAtsLogger &)
voidConstructL()
TInt DynamicResetModule(CTestModuleIf::TRebootType)
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Member Enumerations
enumTTestProgressStatus { ETestProgressIdle, ETestProgressPending, ETestProgressCompleted }
Inherited Enumerations
CActive:TPriority
Private Attributes
CAtsLogger &iAtsLogger
CTestEngine *iEngine
RMessage2 iMessage
TBool iMessageAvail
TInt iMsgSize
TPckg< TInt >iMsgSizePckg
TInt iRebootCode
TName iRebootName
HBufC8 *iReceivedMsg
TStifCommand iRemoteType
TStifCommandPckg iRemoteTypePckg
TTestProgressStatus iState
CTestCaseController *iTestCaseController
RTestExecution iTestExecution
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CTestRemoteCmdNotifier(CTestEngine *, RTestExecution, CTestCaseController *, CAtsLogger &)

CTestRemoteCmdNotifier(CTestEngine *aEngine,
RTestExecutionaTestExecution,
CTestCaseController *aTestCaseController,
CAtsLogger &aAtsLogger
)[private]

Parametric C++ constructor.

Parameters

CTestEngine * aEngine
RTestExecution aTestExecution
CTestCaseController * aTestCaseController
CAtsLogger & aAtsLogger

~CTestRemoteCmdNotifier()

~CTestRemoteCmdNotifier()

Destructor.

Member Functions Documentation

CancelReq()

voidCancelReq()

CancelReq cancels the request.

ConstructL()

voidConstructL()[private]

By default Symbian OS constructor is private.

DoCancel()

voidDoCancel()[virtual]

DoCancel derived from CActive handles the Cancel

DynamicResetModule(CTestModuleIf::TRebootType)

TInt DynamicResetModule(CTestModuleIf::TRebootTypeaResetType)[private]

Loads dynamically reset module.

Parameters

CTestModuleIf::TRebootType aResetType

EnableReceive(const RMessage2 &)

voidEnableReceive(const RMessage2 &aMessage)

StartL starts the CTestRemoteCmdNotifier active object. EnableReceive prepares to start active object

Parameters

const RMessage2 & aMessage

GetReceivedMsg(const RMessage2 &)

voidGetReceivedMsg(const RMessage2 &aMessage)

GetReceivedMsg get received message.

Parameters

const RMessage2 & aMessage

NewL(CTestEngine *, RTestExecution, CTestCaseController *, CAtsLogger &)

CTestRemoteCmdNotifier *NewL(CTestEngine *aEngine,
RTestExecutionaTestExecution,
CTestCaseController *aTestCaseController,
CAtsLogger &aAtsLogger
)[static]

Two-phased constructor.

Parameters

CTestEngine * aEngine
RTestExecution aTestExecution
CTestCaseController * aTestCaseController
CAtsLogger & aAtsLogger

RunError(TInt)

TInt RunError(TIntaError)[virtual]

RunError derived from CActive handles errors from active handler.

Parameters

TInt aError

RunL()

voidRunL()[virtual]

RunL derived from CActive handles the completed requests.

Start(const RMessage2 &)

voidStart(const RMessage2 &aMessage)

Start starts the CTestCaseController active object.

Parameters

const RMessage2 & aMessage

Member Enumerations Documentation

Enum TTestProgressStatus

Enumerators

ETestProgressIdle
ETestProgressPending
ETestProgressCompleted

Member Data Documentation

CAtsLogger & iAtsLogger

CAtsLogger &iAtsLogger[private]

CTestEngine * iEngine

CTestEngine *iEngine[private]

RMessage2 iMessage

RMessage2 iMessage[private]

TBool iMessageAvail

TBool iMessageAvail[private]

TInt iMsgSize

TInt iMsgSize[private]

TPckg< TInt > iMsgSizePckg

TPckg< TInt >iMsgSizePckg[private]

TInt iRebootCode

TInt iRebootCode[private]

TName iRebootName

TName iRebootName[private]

HBufC8 * iReceivedMsg

HBufC8 *iReceivedMsg[private]

TStifCommand iRemoteType

TStifCommand iRemoteType[private]

TStifCommandPckg iRemoteTypePckg

TStifCommandPckg iRemoteTypePckg[private]

TTestProgressStatus iState

TTestProgressStatus iState[private]

CTestCaseController * iTestCaseController

CTestCaseController *iTestCaseController[private]

RTestExecution iTestExecution

RTestExecution iTestExecution[private]