[ Index | Source | Summary | Member Functions ]
Back to the top of StopWatch
StopWatch(Frame& frame, Location where, int interval );
StopWatch(Frame& frame, Location where, int interval = 1000);
Back to the top of StopWatch
void ButtonPushed(char* buttonName);
Determine which of the two StopWatch's Buttons was pushed
by the user. The name must match either the name of the
Start button or the name of the Stop button.
void ButtonPushed(char* buttonName);
Back to the top of StopWatch
void Tick();
Increment the current value (the elapsed time) of the
StopWatchby 1. This method is iDInvoked (indirectly) by
the encapsulated Clock within the the StopWatch object.
The Clock invokes the OnTimerEvent method which must be
programmed to invoke this method.
void Tick();
Back to the top of StopWatch
int ElapsedTime();
Report the current value of the timer. Note: since the
StopWatch may be stop and (re)started, the current value
need not correspond to the true elapsed time since the
StopWatch was first started.
int ElapsedTime();
Back to the top of StopWatch
~StopWatch();
Delete the internal components of the StopWatch when the
StopWatch itself is deleted.
~StopWatch();
Back to the top of StopWatch
Back to the top of StopWatch
Report problems to jkotula@unimax.com