TControlMessage Class Reference

class TControlMessage
Public Member Functions
TControlMessage ()
~TControlMessage ()
IMPORT_C void ClearFlags ()
IMPORT_C TBool IsLast ()
IMPORT_C TInt MaxLength ()
IMPORT_C const TDesC8 & MessageDes ()
IMPORT_C TDes8 & MessagePtr ()
IMPORT_C void SetLast ()
IMPORT_C void SetMaxLength ( TInt )
IMPORT_C void SetMessageDes (const TDesC8 &)
IMPORT_C void SetMessagePtr ( TDes8 &)
Private Attributes
TUint iFlags
TInt iMaxLength
TPtr8 iPtr

Constructor & Destructor Documentation

TControlMessage()

IMPORT_C TControlMessage ( )

Default constructor

~TControlMessage()

IMPORT_C ~TControlMessage ( )

Default destructor

Member Functions Documentation

ClearFlags()

IMPORT_C void ClearFlags ( )

Used to reset the SetLast flag

IsLast()

IMPORT_C TBool IsLast ( ) const

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

MaxLength()

IMPORT_C TInt MaxLength ( ) 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 void SetLast ( )

Used to set the last message of the control data

SetMaxLength(TInt)

IMPORT_C void SetMaxLength ( TInt aLen )

Used to set max length of Control Message

Parameters

TInt aLen Max length of the msg

SetMessageDes(const TDesC8 &)

IMPORT_C void SetMessageDes ( const TDesC8 & aData )

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

Parameters

const TDesC8 & aData Supplied data

SetMessagePtr(TDes8 &)

IMPORT_C void SetMessagePtr ( TDes8 & aData )

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

Parameters

TDes8 & aData Supplied data

Member Data Documentation

TUint iFlags

TUint iFlags [private]

TInt iMaxLength

TInt iMaxLength [private]

TPtr8 iPtr

TPtr8 iPtr [private]