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_C CUpnpNotifyTimer ( MUpnpNotifyTimerObserver * aObserver ) [protected]

Constructor

Parameters

MUpnpNotifyTimerObserver * aObserver

~CUpnpNotifyTimer()

~CUpnpNotifyTimer ( )

Destructor.

Member Functions Documentation

After(TInt, TBool)

IMPORT_C void After ( TInt aInterval = 1,
TBool aUnused = EFalse
)
After
Since
Series60 2.0

Parameters

TInt aInterval = 1
TBool aUnused = EFalse this is unused now

After(TTimeIntervalMicroSeconds32, TBool)

IMPORT_C void After ( TTimeIntervalMicroSeconds32 aInterval,
TBool aUnused
)
After
Since
Series60 2.0

Parameters

TTimeIntervalMicroSeconds32 aInterval
TBool aUnused this is unused now

AfterSeconds(TInt)

IMPORT_C void AfterSeconds ( TInt aIntervalInSeconds )
At
Since
Series60 2.0

Parameters

TInt aIntervalInSeconds

CompleteOneselfImmediate()

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

ConstructL()

void ConstructL ( )

DoCancel()

IMPORT_C void DoCancel ( ) [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 ( TInt aError ) [virtual]
RunError RunError in case RunL leaves.
Since
Series60 2.0

Parameters

TInt aError

RunL()

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

Start(TTimeIntervalMicroSeconds32, TBool)

IMPORT_C void Start ( TTimeIntervalMicroSeconds32 aInterval,
TBool aUnused = EFalse
)
Start Start the CUpnpNotifyTimer object.
Since
Series60 2.0

Parameters

TTimeIntervalMicroSeconds32 aInterval
TBool aUnused = EFalse this is unused now

StartNextIteration()

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