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(TBoolaEventReady)[private]

Parameters

TBool aEventReady

~CXIMPEventCapsule()

~CXIMPEventCapsule()[private]

Direct deletion not allowed. Deletion happens through reference counting.

Member Functions Documentation

ConstructL(CXIMPApiEventBase &)

voidConstructL(CXIMPApiEventBase &aEvent)[private]

Parameters

CXIMPApiEventBase & aEvent

EventData()

IMPORT_C const TDesC8 &EventData()const

Reference to capsulated event

EventReqId()

IMPORT_C TXIMPRequestIdEventReqId()const

Req Id of capsulated event

EventType()

IMPORT_C TInt32EventType()const

Event type for filtering events.

InitReqId(const CXIMPApiEventBase &)

voidInitReqId(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,
TBoolaEventReady = ETrue
)[static]

Construction . Event for capsulation. Ownership transferred.

Parameters

CXIMPApiEventBase & aEvent
TBool aEventReady = ETrue

Ready()

IMPORT_C TBoolReady()const

Event is ready

SetReady(TBool)

IMPORT_C voidSetReady(TBoolaReady)

Set event ready for sending.

Parameters

TBool aReady

SetTimeStamp(TUint32)

voidSetTimeStamp(TUint32aTimeStamp)

Set timestamp for order check.

Parameters

TUint32 aTimeStamp

UpdateEventData(CXIMPApiEventBase &)

IMPORT_C voidUpdateEventData(CXIMPApiEventBase &aEvent)

Parameters

CXIMPApiEventBase & aEvent

UpdateEventDataL(CXIMPApiEventBase &)

IMPORT_C voidUpdateEventDataL(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.