|
|
|
|
Location:
devvideobase.h
Link against: devvideo.lib
class CSystemClockSource : public CBase, public MMMFClockSource;
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.
MMMFClockSource - Defines the interface that video clock sources must to implement
CBase - Base class for all classes to be instantiated on the heap
CSystemClockSource - The CSystemClockSource provides a basic clock source implementation based on the system clock
Defined in CSystemClockSource:
CustomInterface(), NewL(), Reset(), Reset(), Resume(), Suspend(), Time(), ~CSystemClockSource()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
static IMPORT_C CSystemClockSource *NewL();
Creates a new CSystemClockSource 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.
|
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.
IMPORT_C void Resume();
Resumes the clock source after a Suspend() method call. This method is used when resuming playback.
virtual TAny *CustomInterface(TUid aInterface);
No custom interfaces are implemented by this clock source, so this method will always return NULL.
|
|
virtual TTimeIntervalMicroSeconds Time();
Retrieves the time that has elapsed since Reset() was last called, subtracting any time during which the clock was suspended.
|