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 TThreadId aMainThreadId
) [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 * aEvent Event Object

AddRedrawEventToList(const TBool)

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

Parameters

const TBool aForceAdd = EFalse Decides whether to add the redraw event forcefully

ConstructL()

void ConstructL ( ) [private]
Two phase constructor
Since
3.1

DoCancel()

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

DoTerminate()

void DoTerminate ( ) [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)

void MakeRequestComplete ( TInt aError )
It make the request complete.
Since
3.1

Parameters

TInt aError Error code for the service provided

NewL(MSvgtAppObserver *, CSVGTCustControl *, const TThreadId)

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

Parameters

MSvgtAppObserver * aAppObserverUtil AppOberserverUtil Object
CSVGTCustControl * aCustControl
const TThreadId aMainThreadId

RunError(TInt)

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

Parameters

TInt aError

RunL()

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

SetDocumentComplete()

void SetDocumentComplete ( )
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]