CMMFClockSourcePeriodicUtility Class Reference
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.
Inherits from
-
CMMFClockSourcePeriodicUtility
Constructor & Destructor Documentation
CMMFClockSourcePeriodicUtility(MMMFClockSource &, MMMFClockSourcePeriodicUtilityObserver &)
~CMMFClockSourcePeriodicUtility()
IMPORT_C
|
~CMMFClockSourcePeriodicUtility
|
(
|
)
|
|
Member Functions Documentation
Callback(TAny *)
TInt
|
Callback
|
(
|
TAny
*
|
aAny
|
)
|
[private, static]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
DoCallback()
void
|
DoCallback
|
(
|
)
|
[private]
|
NewL(MMMFClockSource &, MMMFClockSourcePeriodicUtilityObserver &)
Creates a new clock source periodic utility object.
-
leave
-
"The method will leave if an error occurs."
Parameters
MMMFClockSource
& aClockSource
|
"A reference to the clock source to be used to query the current time."
|
MMMFClockSourcePeriodicUtilityObserver
& aObserver
|
"A reference to the observer of the utility that will receive callbacks
each time the specified period elapses."
|
Start(TTimeIntervalMicroSeconds32)
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.
Stop()
Stops the clock source periodic utility. No more callbacks will be made after this method has been called.
Member Data Documentation
MMMFClockSource & iClockSource
MMMFClockSourcePeriodicUtilityObserver & iObserver
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.