CSystemClockSource Class Reference
class CSystemClockSource : public CBase |
The CSystemClockSource provides a basic clock source implementation based on the system clock. It will count microseconds since the object was created or Reset() was last called, and return that count from Time(). It does not implement any custom interfaces.
Constructor & Destructor Documentation
CSystemClockSource()
CSystemClockSource | ( | ) | [private] |
~CSystemClockSource()
IMPORT_C | ~CSystemClockSource | ( | ) | |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
CustomInterface(TUid)
TAny * | CustomInterface | ( | TUid | aInterface | ) | [virtual] |
No custom interfaces are implemented by this clock source, so this method will always return NULL.
Parameters
TUid aInterface | "The interface" |
NewL()
Creates a new
CSystemClockSource object.
- leave
- "This method may leave with one of the system-wide error codes."
Reset()
Resets the clock source to zero. Typically called by the DevVideo client at stream start.
Reset(const TTimeIntervalMicroSeconds &)
Resets the clock source to a user-defined offset. Typically called by the DevVideo client when seeking in a file.
Resume()
Resumes the clock source after a Suspend() method call. This method is used when resuming playback.
Suspend()
Suspends the clock source. The clock time will not increment until the clock has been resumed. This method is used when pausing playback.
Time()
Retrieves the time that has elapsed since Reset() was last called, subtracting any time during which the clock was suspended.
Member Data Documentation
RCriticalSection
iCriticalSection
TTime
iCurrentTime
TTime
| iCurrentTime | [private] |
TTimeIntervalMicroSeconds
iOffset
TTime
iStartTime
TTime
| iStartTime | [private] |
TBool
iSuspended
TBool
| iSuspended | [private] |
TTimeIntervalMicroSeconds
iTimeSuspended
TTime
iTimeWhenSuspended
TTime
| iTimeWhenSuspended | [private] |
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.