#include "devvideobase.h"
class CSystemClockSource : public CBase |
Public Member Functions | |
---|---|
~CSystemClockSource() | |
virtual TAny * | CustomInterface(TUid) |
IMPORT_C CSystemClockSource * | NewL() |
IMPORT_C void | Reset() |
IMPORT_C void | Reset(const TTimeIntervalMicroSeconds &) |
IMPORT_C void | Resume() |
IMPORT_C void | Suspend() |
virtual TTimeIntervalMicroSeconds | Time() |
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.
IMPORT_C CSystemClockSource * | NewL | ( | ) | [static] |
Returns: "A new clock source object."
IMPORT_C void | Reset | ( | ) |
Resets the clock source to zero. Typically called by the DevVideo client at stream start.
IMPORT_C void | Reset | ( | const TTimeIntervalMicroSeconds & | aOffset | ) |
Resets the clock source to a user-defined offset. Typically called by the DevVideo client when seeking in a file.
Parameter | Description |
---|---|
aOffset | "The clock offset." |
IMPORT_C void | Resume | ( | ) |
Resumes the clock source after a Suspend() method call. This method is used when resuming playback.
IMPORT_C void | Suspend | ( | ) |
Suspends the clock source. The clock time will not increment until the clock has been resumed. This method is used when pausing playback.
TTimeIntervalMicroSeconds | Time | ( | ) | [virtual] |
Retrieves the time that has elapsed since Reset() was last called, subtracting any time during which the clock was suspended.
Returns: "The number of microseconds that have elapsed in the stream."