CSvgtEventHandlerAO Class Reference

class CSvgtEventHandlerAO : public CActive

This class handles the event list & process the events while progressive rendering

Inherits from

Constructor & Destructor Documentation

CSvgtEventHandlerAO(MSvgtAppObserver *, CSVGTCustControl *, const TThreadId)

CSvgtEventHandlerAO(MSvgtAppObserver *aAppObserverUtil,
CSVGTCustControl *aCustControl,
const TThreadIdaMainThreadId
)[private]

constructor

Parameters

MSvgtAppObserver * aAppObserverUtil
CSVGTCustControl * aCustControl
const TThreadId aMainThreadId

~CSvgtEventHandlerAO()

~CSvgtEventHandlerAO()[virtual]

Destructor

Member Functions Documentation

AddEventToList(CSvgtEvent *)

TBool AddEventToList(CSvgtEvent *aEvent)
It adds the event (except redraw event) to the event queue.
Since
3.1

Parameters

CSvgtEvent * aEventEvent Object

AddRedrawEventToList(const TBool)

TBool AddRedrawEventToList(const TBoolaForceAdd = EFalse)
It adds the redraw event to the event queue.
Since
3.1

Parameters

const TBool aForceAdd = EFalseDecides whether to add the redraw event forcefully

ConstructL()

voidConstructL()[private]
Two phase constructor
Since
3.1

DoCancel()

voidDoCancel()[private, virtual]
Cancels all the request
Since
3.1
CActive

DoTerminate()

voidDoTerminate()[private]
Terminates the active object
Since
3.1

IsRedrawTimeElapsed()

TBool IsRedrawTimeElapsed()[private]
It determines whether the time elapsed or not.
Since
3.1

MakeRequestComplete(TInt)

voidMakeRequestComplete(TIntaError)
It make the request complete.
Since
3.1

Parameters

TInt aErrorError code for the service provided

NewL(MSvgtAppObserver *, CSVGTCustControl *, const TThreadId)

CSvgtEventHandlerAO *NewL(MSvgtAppObserver *aAppObserverUtil,
CSVGTCustControl *aCustControl,
const TThreadIdaMainThreadId
)[static]
Two phase constructor
Since
3.1

Parameters

MSvgtAppObserver * aAppObserverUtilAppOberserverUtil Object
CSVGTCustControl * aCustControl
const TThreadId aMainThreadId

RunError(TInt)

TInt RunError(TIntaError)[private, virtual]
Handles a leave occurring in the request completion event handler RunL().
Since
3.1
CActive

Parameters

TInt aError

RunL()

voidRunL()[private, virtual]
Handles an active object's request completion event.
Since
3.1
CActive

SetDocumentComplete()

voidSetDocumentComplete()
It indicates that document is document loading completed.
Since
3.1

Member Data Documentation

CSVGTAppObserverUtil * iAppObserverUtil

CSVGTAppObserverUtil *iAppObserverUtil[private]

RCriticalSection iCritSection

RCriticalSection iCritSection[private]

CSVGTCustControl * iCustControl

CSVGTCustControl *iCustControl[private]

RPointerArray< CSvgtEvent > iEventList

RPointerArray< CSvgtEvent >iEventList[private]

TBool iIsDocumentComplete

TBool iIsDocumentComplete[private]

TThreadId iMainThreadId

TThreadId iMainThreadId[private]

TTime iPreviousRedrawClock

TTime iPreviousRedrawClock[private]

TInt iStepCount

TInt iStepCount[private]

CSvgEngineInterfaceImpl * iSvgEngine

CSvgEngineInterfaceImpl *iSvgEngine[private]

TInt iSvgTimeBetweenRedraw

TInt iSvgTimeBetweenRedraw[private]