CStifTFwIfProt Class Reference

class CStifTFwIfProt : public CBase

Inherits from

Public Member Functions
~CStifTFwIfProt()
IMPORT_C TIntAppend(const TDesC &)
IMPORT_C TIntAppend(KeywordFunc, TInt)
IMPORT_C TIntAppend(KeywordFunc, TInt, TInt)
IMPORT_C TIntAppend(KeywordFunc, TInt, const TDesC &)
IMPORT_C TIntAppend(KeywordFunc, TInt, KeywordFunc, TInt)
IMPORT_C TIntAppendId(TUint32)
IMPORT_C TPtrCCmdType(TInt)
IMPORT_C voidCreateL(TInt)
IMPORT_C TUint16DstDevId()
IMPORT_C TUint32DstId()
IMPORT_C TUint16DstTestId()
IMPORT_C TPtrCEventStatus(TInt)
IMPORT_C TPtrCEventStatusParams(TInt)
IMPORT_C TPtrCEventType(TInt)
const TDesC &Message()
IMPORT_C TPtrCMsgType(TInt)
IMPORT_C CStifTFwIfProt *NewL()
IMPORT_C TPtrCRemoteType(TInt)
IMPORT_C TPtrCRespParam(TInt)
IMPORT_C TPtrCResultCategory(TInt)
IMPORT_C TPtrCRunParams(TInt)
IMPORT_C TPtrCRunStatus(TInt)
IMPORT_C TPtrCRunStatusParams(TInt)
IMPORT_C TIntSetCmdType(TCmdType)
IMPORT_C TIntSetDstId(TUint32)
IMPORT_C TIntSetL(const TDesC &)
IMPORT_C TIntSetMsgType(TMsgType)
IMPORT_C TIntSetRespType(TMsgType)
IMPORT_C TIntSetSrcId(TUint32)
IMPORT_C TUint16SrcDevId()
IMPORT_C TUint32SrcId()
IMPORT_C TUint16SrcTestId()
Private Member Functions
CStifTFwIfProt()
voidConstructL()
TInt Parse(TDesC &, KeywordFunc)
voidParseCmdResponseL()
voidParseHeaderL()
TInt ParseMessageL()
TInt ParseOptArg(const TDesC &, TPtrC &, TPtrC &)
voidParseRemoteL()
voidParseReserveL()
voidParseResponseL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
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()
Public Member Enumerations
enumTCmdType {
ECmdRun, ECmdPause, ECmdResume, ECmdCancel, ECmdRequest, ECmdRelease, ECmdSendReceive, ECmdSetEvent, ECmdUnsetEvent, ECmdUnknown
}
enumTEventStatus { EEventActive, EEventSet, EEventError }
enumTEventStatusParams { EEventResult, EEventType }
enumTMsgType { EMsgReserve, EMsgRelease, EMsgRemote, EMsgResponse }
enumTRemoteType { ERemotePhone, ERemoteUnknown }
enumTRespParam { ERespResult }
enumTResultCategory { EResultNormal = 0, EResultPanic, EResultException, EResultTimeout, EResultLeave }
enumTRunParams { ERunModule, ERunInifile, ERunTestcasefile, ERunTestcasenum, ERunTitle }
enumTRunStatus { ERunStarted, ERunError, ERunReady }
enumTRunStatusParams { ERunResult, ERunCategory }
Public Attributes
union CStifTFwIfProt::@42@43
TPtrC iCmdDes
TCmdType iCmdType
TPtrC iEventName
TEventStatus iEventStatus
TEventIf::TEventType iEventType
TPtrC iIniFile
TPtrC iModule
TMsgType iMsgType
TRemoteType iRemoteType
TMsgType iRespType
TInt iResult
TResultCategory iResultCategory
TRunStatus iRunStatus
TPtrC iTestCaseFile
TInt iTestCaseNumber
TPtrC iTitle
Private Attributes
TInt32 iDstId
CStifItemParser *iItem
TPtr iMessage
HBufC *iMessageBuf
TInt32 iSrcId

Constructor & Destructor Documentation

CStifTFwIfProt()

CStifTFwIfProt()[private]

From <base_class member_description. <member_description.> From <base_class member_description>=""> C++ default constructor.

~CStifTFwIfProt()

IMPORT_C~CStifTFwIfProt()[virtual]

Destructor.

Member Functions Documentation

Append(const TDesC &)

IMPORT_C TIntAppend(const TDesC &aStr)

Append string to message.

Parameters

const TDesC & aStr

Append(KeywordFunc, TInt)

IMPORT_C TIntAppend(KeywordFuncaFunc,
TIntaKeyword
)

Append keyword string to message.

Parameters

KeywordFunc aFunc
TInt aKeyword

Append(KeywordFunc, TInt, TInt)

IMPORT_C TIntAppend(KeywordFuncaFunc,
TIntaKeyword,
TIntaValue
)

Append keyword type-value string to message.

Parameters

KeywordFunc aFunc
TInt aKeyword
TInt aValue

Append(KeywordFunc, TInt, const TDesC &)

IMPORT_C TIntAppend(KeywordFuncaFunc,
TIntaKeyword,
const TDesC &aStr
)

Append keyword type-value string to message.

Parameters

KeywordFunc aFunc
TInt aKeyword
const TDesC & aStr

Append(KeywordFunc, TInt, KeywordFunc, TInt)

IMPORT_C TIntAppend(KeywordFuncaFunc,
TIntaKeyword,
KeywordFuncaValueFunc,
TIntaValue
)

Append keyword type-value string to message.

Parameters

KeywordFunc aFunc
TInt aKeyword
KeywordFunc aValueFunc
TInt aValue

AppendId(TUint32)

IMPORT_C TIntAppendId(TUint32aId)

Append hexadecimal protocol identifier to message.

Parameters

TUint32 aId

CmdType(TInt)

IMPORT_C TPtrCCmdType(TIntaKeyword)[static]

Parameters

TInt aKeyword

ConstructL()

voidConstructL()[private]

By default Symbian OS constructor is private.

CreateL(TInt)

IMPORT_C voidCreateL(TIntaLength =  KDefaultMsgSize )

Create message.

Parameters

TInt aLength =  KDefaultMsgSize

DstDevId()

IMPORT_C TUint16DstDevId()

Get protocol destination device identifier.

DstId()

IMPORT_C TUint32DstId()

Get protocol destination identifier.

DstTestId()

IMPORT_C TUint16DstTestId()

Get protocol destination test identifier.

EventStatus(TInt)

IMPORT_C TPtrCEventStatus(TIntaKeyword)[static]

Parameters

TInt aKeyword

EventStatusParams(TInt)

IMPORT_C TPtrCEventStatusParams(TIntaKeyword)[static]

Parameters

TInt aKeyword

EventType(TInt)

IMPORT_C TPtrCEventType(TIntaKeyword)[static]

Parameters

TInt aKeyword

Message()

const TDesC &Message()[inline, virtual]

MsgType(TInt)

IMPORT_C TPtrCMsgType(TIntaKeyword)[static]

Parameters

TInt aKeyword

NewL()

IMPORT_C CStifTFwIfProt *NewL()[static]

Two-phased constructor.

Parse(TDesC &, KeywordFunc)

TInt Parse(TDesC &aKeyword,
KeywordFuncaFunc
)[private, static]

Parameters

TDesC & aKeyword
KeywordFunc aFunc

ParseCmdResponseL()

voidParseCmdResponseL()[private]

ParseHeaderL()

voidParseHeaderL()[private]

ParseMessageL()

TInt ParseMessageL()[private]

Parsing functions.

ParseOptArg(const TDesC &, TPtrC &, TPtrC &)

TInt ParseOptArg(const TDesC &aOptArg,
TPtrC &aArg,
TPtrC &aVal
)[private, static]

Parameters

const TDesC & aOptArg
TPtrC & aArg
TPtrC & aVal

ParseRemoteL()

voidParseRemoteL()[private]

ParseReserveL()

voidParseReserveL()[private]

ParseResponseL()

voidParseResponseL()[private]

RemoteType(TInt)

IMPORT_C TPtrCRemoteType(TIntaKeyword)[static]

Parameters

TInt aKeyword

RespParam(TInt)

IMPORT_C TPtrCRespParam(TIntaKeyword)[static]

Parameters

TInt aKeyword

ResultCategory(TInt)

IMPORT_C TPtrCResultCategory(TIntaKeyword)[static]

Parameters

TInt aKeyword

RunParams(TInt)

IMPORT_C TPtrCRunParams(TIntaKeyword)[static]

Parameters

TInt aKeyword

RunStatus(TInt)

IMPORT_C TPtrCRunStatus(TIntaKeyword)[static]

Parameters

TInt aKeyword

RunStatusParams(TInt)

IMPORT_C TPtrCRunStatusParams(TIntaKeyword)[static]

Parameters

TInt aKeyword

SetCmdType(TCmdType)

IMPORT_C TIntSetCmdType(TCmdTypeaCmdType)

Set message type.

Parameters

TCmdType aCmdType

SetDstId(TUint32)

IMPORT_C TIntSetDstId(TUint32aDstId)

Set protocol destination identifier.

Parameters

TUint32 aDstId

SetL(const TDesC &)

IMPORT_C TIntSetL(const TDesC &aMessage)

Set message.

Parameters

const TDesC & aMessage

SetMsgType(TMsgType)

IMPORT_C TIntSetMsgType(TMsgTypeaMsgType)

Set message type.

Parameters

TMsgType aMsgType

SetRespType(TMsgType)

IMPORT_C TIntSetRespType(TMsgTypeaRespType)

Set response type.

Parameters

TMsgType aRespType

SetSrcId(TUint32)

IMPORT_C TIntSetSrcId(TUint32aSrcId)

Set protocol source identifier.

Parameters

TUint32 aSrcId

SrcDevId()

IMPORT_C TUint16SrcDevId()

Get protocol source device identifier.

SrcId()

IMPORT_C TUint32SrcId()

Get protocol source identifier.

SrcTestId()

IMPORT_C TUint16SrcTestId()

Get protocol source test identifier.

Member Enumerations Documentation

Enum TCmdType

Enumerators

ECmdRun
ECmdPause
ECmdResume
ECmdCancel
ECmdRequest
ECmdRelease
ECmdSendReceive
ECmdSetEvent
ECmdUnsetEvent
ECmdUnknown

Enum TEventStatus

Enumerators

EEventActive
EEventSet
EEventError

Enum TEventStatusParams

Enumerators

EEventResult
EEventType

Enum TMsgType

Enumerators

EMsgReserve
EMsgRelease
EMsgRemote
EMsgResponse

Enum TRemoteType

Enumerators

ERemotePhone
ERemoteUnknown

Enum TRespParam

Enumerators

ERespResult

Enum TResultCategory

Enumerators

EResultNormal = 0
EResultPanic
EResultException
EResultTimeout
EResultLeave

Enum TRunParams

Enumerators

ERunModule
ERunInifile
ERunTestcasefile
ERunTestcasenum
ERunTitle

Enum TRunStatus

Enumerators

ERunStarted
ERunError
ERunReady

Enum TRunStatusParams

Enumerators

ERunResult
ERunCategory

Member Data Documentation

union CStifTFwIfProt::@42 @43

union CStifTFwIfProt::@42@43

TPtrC iCmdDes

TPtrC iCmdDes

TCmdType iCmdType

TCmdType iCmdType

TInt32 iDstId

TInt32 iDstId[private]

TPtrC iEventName

TPtrC iEventName

TEventStatus iEventStatus

TEventStatus iEventStatus

TEventIf::TEventType iEventType

TEventIf::TEventType iEventType

TPtrC iIniFile

TPtrC iIniFile

CStifItemParser * iItem

CStifItemParser *iItem[private]

TPtr iMessage

TPtr iMessage[private]

HBufC * iMessageBuf

HBufC *iMessageBuf[private]

TPtrC iModule

TPtrC iModule

TMsgType iMsgType

TMsgType iMsgType

TRemoteType iRemoteType

TRemoteType iRemoteType

TMsgType iRespType

TMsgType iRespType

TInt iResult

TInt iResult

TResultCategory iResultCategory

TResultCategory iResultCategory

TRunStatus iRunStatus

TRunStatus iRunStatus

TInt32 iSrcId

TInt32 iSrcId[private]

TPtrC iTestCaseFile

TPtrC iTestCaseFile

TInt iTestCaseNumber

TInt iTestCaseNumber

TPtrC iTitle

TPtrC iTitle