CUpnpNotifyTimer Class Reference

class CUpnpNotifyTimer : public CActive

Wrapper for RTimer classs to notify observer about elaspsed time

Since
Series60 2.0

Inherits from

Constructor & Destructor Documentation

CUpnpNotifyTimer(MUpnpNotifyTimerObserver *)

IMPORT_CCUpnpNotifyTimer(MUpnpNotifyTimerObserver *aObserver)[protected]

Constructor

Parameters

MUpnpNotifyTimerObserver * aObserver

~CUpnpNotifyTimer()

~CUpnpNotifyTimer()

Destructor.

Member Functions Documentation

After(TInt, TBool)

IMPORT_C voidAfter(TIntaInterval = 1,
TBoolaUnused = EFalse
)
After
Since
Series60 2.0

Parameters

TInt aInterval = 1
TBool aUnused = EFalsethis is unused now

After(TTimeIntervalMicroSeconds32, TBool)

IMPORT_C voidAfter(TTimeIntervalMicroSeconds32aInterval,
TBoolaUnused
)
After
Since
Series60 2.0

Parameters

TTimeIntervalMicroSeconds32 aInterval
TBool aUnusedthis is unused now

AfterSeconds(TInt)

IMPORT_C voidAfterSeconds(TIntaIntervalInSeconds)
At
Since
Series60 2.0

Parameters

TInt aIntervalInSeconds

CompleteOneselfImmediate()

IMPORT_C voidCompleteOneselfImmediate()
CompleteOneselfImmediate Immediate completes oneself by call of User::RequestComplete().
Since
Series60 3.2

ConstructL()

voidConstructL()

DoCancel()

IMPORT_C voidDoCancel()[virtual]
DoCancel Cancel outstanding request(s) and reset the iActive flag.
Since
Series60 2.0

NewL(MUpnpNotifyTimerObserver *)

IMPORT_C CUpnpNotifyTimer *NewL(MUpnpNotifyTimerObserver *aObserver)[static]

Parameters

MUpnpNotifyTimerObserver * aObserver

RunError(TInt)

TInt RunError(TIntaError)[virtual]
RunError RunError in case RunL leaves.
Since
Series60 2.0

Parameters

TInt aError

RunL()

voidRunL()[virtual]
RunL Active object state machine.
Since
Series60 2.0

Start(TTimeIntervalMicroSeconds32, TBool)

IMPORT_C voidStart(TTimeIntervalMicroSeconds32aInterval,
TBoolaUnused = EFalse
)
Start Start the CUpnpNotifyTimer object.
Since
Series60 2.0

Parameters

TTimeIntervalMicroSeconds32 aInterval
TBool aUnused = EFalsethis is unused now

StartNextIteration()

voidStartNextIteration()[private]

StartNextIteration only for internal use, decrease repeat counter and waits for KOneIterationSeconds seconds it is required for long run timers because of RTimer::After 32 bit limitation - about 35 minutes

Member Data Documentation

TTimeIntervalMicroSeconds32 iInterval

TTimeIntervalMicroSeconds32 iInterval[private]

TInt iIterationsToRun

TInt iIterationsToRun[private]

MUpnpNotifyTimerObserver * iObserver

MUpnpNotifyTimerObserver *iObserver[private]

RTimer iTimer

RTimer iTimer[private]