TControlMessage Class Reference

class TControlMessage
Public Member Functions
TControlMessage()
~TControlMessage()
IMPORT_C voidClearFlags()
IMPORT_C TBoolIsLast()
IMPORT_C TIntMaxLength()
IMPORT_C const TDesC8 &MessageDes()
IMPORT_C TDes8 &MessagePtr()
IMPORT_C voidSetLast()
IMPORT_C voidSetMaxLength(TInt)
IMPORT_C voidSetMessageDes(const TDesC8 &)
IMPORT_C voidSetMessagePtr(TDes8 &)
Private Attributes
TUint iFlags
TInt iMaxLength
TPtr8 iPtr

Constructor & Destructor Documentation

TControlMessage()

IMPORT_CTControlMessage()

Default constructor

~TControlMessage()

IMPORT_C~TControlMessage()

Default destructor

Member Functions Documentation

ClearFlags()

IMPORT_C voidClearFlags()

Used to reset the SetLast flag

IsLast()

IMPORT_C TBoolIsLast()const

Used to tell whether the data is the last message in the control data or not

MaxLength()

IMPORT_C TIntMaxLength()const

Used to get max length of the Control Message

MessageDes()

IMPORT_C const TDesC8 &MessageDes()const

Used to retrieves the data part of control message

MessagePtr()

IMPORT_C TDes8 &MessagePtr()

Used to retrieves the data part of control message

SetLast()

IMPORT_C voidSetLast()

Used to set the last message of the control data

SetMaxLength(TInt)

IMPORT_C voidSetMaxLength(TIntaLen)

Used to set max length of Control Message

Parameters

TInt aLenMax length of the msg

SetMessageDes(const TDesC8 &)

IMPORT_C voidSetMessageDes(const TDesC8 &aData)

Used to Set the data part of control message with data supplied in aData

Parameters

const TDesC8 & aDataSupplied data

SetMessagePtr(TDes8 &)

IMPORT_C voidSetMessagePtr(TDes8 &aData)

Used to Set the data part of control message with data supplied in aData

Parameters

TDes8 & aDataSupplied data

Member Data Documentation

TUint iFlags

TUint iFlags[private]

TInt iMaxLength

TInt iMaxLength[private]

TPtr8 iPtr

TPtr8 iPtr[private]