#include <ITrackerTimer.h>
Defines an interface used to start a timer during tracking. Typically a timer is started in BeginTracking and stopped in EndTracking.
- See Also
- ITracker.h
- IIdleTask.h
| virtual void ITrackerTimer::StartTimer | ( | ITracker * | callBack, | | | uint32 | milliSeconds, | | | uint32 | mouseMoveDelay = kDefaultMouseMoveDelay, | | | uint32 | mouseSteadyDelay = kDefaultMouseSteadyDelay | | ) | | |
| pure virtual |
Start a timer that will be run periodically during tracking after a certain amount of time elapses. Used internally by some tracker to start up patient user mode.
- Parameters
| callBack | [IN] ITracker* object to initiate timer with (you can use to store the object for use by by timer. e.g. callback to ITracker->TimerMessage). |
| milliSeconds | [IN] how frequently in milliseconds before first RunTask is called. |
| mouseMoveDelay | [IN] how frequently in milliseconds RunTask is called while mouse is moving. |
| mouseSteadyDelay | [IN] how frequently in milliseconds RunTask is called while mouse is not moving. |
- See Also
- IIdleTask.h
- kPatientUserBoss
| virtual void ITrackerTimer::StopTimer | ( | | ) | |
| pure virtual |