Location:
devvideobase.h
Link against: devvideo.lib
class CMMFClockSourcePeriodicUtility : public CBase;
Utility class that can be used by video HW devices to receive periodic callbacks with the current time. Note that the exact timing of the callbacks cannot be guaranteed due to other things pre-empting the execution of the active object or thread.
CBase
- Base class for all classes to be instantiated on the heap
CMMFClockSourcePeriodicUtility
- Utility class that can be used by video HW devices to receive periodic callbacks with the current time
Defined in CMMFClockSourcePeriodicUtility
:
NewL()
, Start()
, Stop()
, ~CMMFClockSourcePeriodicUtility()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CMMFClockSourcePeriodicUtility *NewL(MMMFClockSource &aClockSource, MMMFClockSourcePeriodicUtilityObserver
&aObserver);
Creates a new clock source periodic utility object.
|
|
|
IMPORT_C void Start(TTimeIntervalMicroSeconds32 aPeriod);
Starts the clock source periodic utility. The utility will call MmcspuoTick on its observer every aPeriod microseconds until
Stop()
is called. Note that the utility will not stop automatically when the clock source is stopped.
|
IMPORT_C void Stop();
Stops the clock source periodic utility. No more callbacks will be made after this method has been called.