Class StopWatchInterface#
Defined in File helper_timer.h
Inheritance Relationships#
Derived Type#
public StopWatchLinux
(Class StopWatchLinux)
Class Documentation#
-
class StopWatchInterface#
Subclassed by StopWatchLinux
Public Functions
-
inline StopWatchInterface()#
-
inline virtual ~StopWatchInterface()#
-
virtual void start() = 0#
Start time measurement.
-
virtual void stop() = 0#
Stop time measurement.
-
virtual void reset() = 0#
Reset time counters to zero.
-
virtual float getTime() = 0#
Time in msec. after start. If the stop watch is still running (i.e. there was no call to stop()) then the elapsed time is returned, otherwise the time between the last start() and stop call is returned
-
virtual float getAverageTime() = 0#
Mean time to date based on the number of times the stopwatch has been stopped (ie finished sessions) and the current total time
-
inline StopWatchInterface()#