|
||
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 CSystemClockSource::Reset()
was last called, and return that count from CSystemClockSource::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...
Defined in CSystemClockSource
:
CustomInterface(TUid)
No custom interfaces are implemented by this clock source, so this method will a...NewL()
Creates a new CSystemClockSource object. Reset()
Resets the clock source to zero. Typically called by the DevVideo client at stre...Reset(const TTimeIntervalMicroSeconds &)
Resets the clock source to a user-defined offset. Typically called by the DevVid...Resume()
Resumes the clock source after a CSystemClockSource::Suspend() method call. This...Suspend()
Suspends the clock source. The clock time will not increment until the clock has...Time()
Retrieves the time that has elapsed since CSystemClockSource::Reset() was last c...~CSystemClockSource()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static 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 CSystemClockSource::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 CSystemClockSource::Reset()
was last called, subtracting any time during which the clock was suspended.
|