CXIMPContextEventQueue Class Reference
|
class CXIMPContextEventQueue : public CBase
|
Event queue for client to process.
Constructor & Destructor Documentation
CXIMPContextEventQueue()
|
CXIMPContextEventQueue
|
(
|
)
|
[protected]
|
~CXIMPContextEventQueue()
|
~CXIMPContextEventQueue
|
(
|
)
|
|
Member Functions Documentation
ActivatePreservedEventL(CXIMPApiEventBase &)
Activate preserved event for sending.
ActivateRequestCompleteEvent(CXIMPRequestCompleteEventImp &)
|
void
|
ActivateRequestCompleteEvent
|
(
|
CXIMPRequestCompleteEventImp &
|
aEvent
|
)
|
|
Activate new request complete event to queue.
Parameters
|
CXIMPRequestCompleteEventImp & aEvent
|
Event to activate.
|
AddEventL(CXIMPEventCapsule &)
AddPreservedEventL(CXIMPApiEventBase &)
Add new preserved event to queue.
ClearQueuedEvents()
|
void
|
ClearQueuedEvents
|
(
|
)
|
[private]
|
ConstructL()
|
void
|
ConstructL
|
(
|
)
|
[protected]
|
DropTopEvent()
|
IMPORT_C void
|
DropTopEvent
|
(
|
)
|
|
FindNextEvent(RPointerArray< CXIMPEventCapsule > &)
Find next ready event from array. Timestamp is used to choose first one. iNextEventToGo is filled with oldest event. iNextEventToGo can be filled with reference event before call.
HasElements()
|
IMPORT_C
TBool
|
HasElements
|
(
|
)
|
const
|
Check if there is elements.
RemoveRequestCompleteEvent(CXIMPRequestCompleteEventImp &)
|
void
|
RemoveRequestCompleteEvent
|
(
|
CXIMPRequestCompleteEventImp &
|
aEvent
|
)
|
|
Remove request complete event from queue
Parameters
|
CXIMPRequestCompleteEventImp & aEvent
|
Event to remove
|
SelectTopEventIfNeededL()
|
IMPORT_C void
|
SelectTopEventIfNeededL
|
(
|
)
|
|
SessionIdOfQueue()
|
TUint32
|
SessionIdOfQueue
|
(
|
)
|
const [inline]
|
SetEventFilter(CXIMPContextEventFilter &)
|
IMPORT_C void
|
SetEventFilter
|
(
|
CXIMPContextEventFilter &
|
aFilter
|
)
|
|
Set event filter for filtering events
Parameters
|
CXIMPContextEventFilter & aFilter
|
New filter.
|
SetSessionIdOfQueue(TUint32)
|
void
|
SetSessionIdOfQueue
|
(
|
TUint32
|
aId
|
)
|
[inline]
|
StartConsuming(MXIMPEventQueueObserver &)
StopConsuming()
|
IMPORT_C void
|
StopConsuming
|
(
|
)
|
|
TopEventDataL()
|
IMPORT_C const
TDesC8
&
|
TopEventDataL
|
(
|
)
|
|
Member Data Documentation
CXIMPContextEventFilter * iEventFilter
|
CXIMPContextEventFilter *
|
iEventFilter
|
[private]
|
RPointerArray< CXIMPEventCapsule > iEvents
Events array. Reference to events own.
CXIMPEventCapsule * iNextEventToGo
Helper variable to contain next event to go.
MXIMPEventQueueObserver * iObserver
RPointerArray< CXIMPEventCapsule > iPreservedEvents
Preserved events array. Reference to events own.
RPointerArray< CXIMPEventCapsule > iRequestCompleteEvents
Request complete events waiting for completion.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.