CXIMPEventCapsule Class Reference

class CXIMPEventCapsule : public CObject

Event capsulation for shared ownership.

ximpprocessor.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CXIMPEventCapsule(TBool)

CXIMPEventCapsule ( TBool aEventReady ) [private]

Parameters

TBool aEventReady

~CXIMPEventCapsule()

~CXIMPEventCapsule ( ) [private]

Direct deletion not allowed. Deletion happens through reference counting.

Member Functions Documentation

ConstructL(CXIMPApiEventBase &)

void ConstructL ( CXIMPApiEventBase & aEvent ) [private]

Parameters

CXIMPApiEventBase & aEvent

EventData()

IMPORT_C const TDesC8 & EventData ( ) const

Reference to capsulated event

EventReqId()

IMPORT_C TXIMPRequestId EventReqId ( ) const

Req Id of capsulated event

EventType()

IMPORT_C TInt32 EventType ( ) const

Event type for filtering events.

InitReqId(const CXIMPApiEventBase &)

void InitReqId ( const CXIMPApiEventBase & aEvent ) [private]

Initializes the reg id member if the passed event is req complete type.

Parameters

const CXIMPApiEventBase & aEvent

NewL(CXIMPApiEventBase &, TBool)

IMPORT_C CXIMPEventCapsule * NewL ( CXIMPApiEventBase & aEvent,
TBool aEventReady = ETrue
) [static]

Construction . Event for capsulation. Ownership transferred.

Parameters

CXIMPApiEventBase & aEvent
TBool aEventReady = ETrue

Ready()

IMPORT_C TBool Ready ( ) const

Event is ready

SetReady(TBool)

IMPORT_C void SetReady ( TBool aReady )

Set event ready for sending.

Parameters

TBool aReady

SetTimeStamp(TUint32)

void SetTimeStamp ( TUint32 aTimeStamp )

Set timestamp for order check.

Parameters

TUint32 aTimeStamp

UpdateEventData(CXIMPApiEventBase &)

IMPORT_C void UpdateEventData ( CXIMPApiEventBase & aEvent )

Parameters

CXIMPApiEventBase & aEvent

UpdateEventDataL(CXIMPApiEventBase &)

IMPORT_C void UpdateEventDataL ( CXIMPApiEventBase & aEvent )

Update event data.

Parameters

CXIMPApiEventBase & aEvent

operator<(const CXIMPEventCapsule &)

TBool operator< ( const CXIMPEventCapsule & aOther ) const

Check which one should be handled first.

Parameters

const CXIMPEventCapsule & aOther

Member Data Documentation

CBufFlat * iBuffer

CBufFlat * iBuffer [private]

Used for packing.

RBuf8 iEventBuf

RBuf8 iEventBuf [private]

Capsulated event. Owns.

TBool iEventReady

TBool iEventReady [private]

If event is not ready this is set as ETrue

TInt32 iEventType

TInt32 iEventType [private]

Event type for filtering

TXIMPRequestId iReqId

TXIMPRequestId iReqId [private]

Request ID.

TUint32 iTimeStamp

TUint32 iTimeStamp [private]

Time stamp for order.