This is a timer class for counting down to a specified time. More...
#include <timer.h>
Inheritance diagram for Mezzanine::StopWatchTimer:
Collaboration diagram for Mezzanine::StopWatchTimer:Public Member Functions | |
| StopWatchTimer () | |
| Class constructor. | |
| virtual | ~StopWatchTimer () |
| Class destructor. | |
| virtual Timer::TimerType | GetType () const |
| Gets the type of timer this is. More... | |
Public Member Functions inherited from Mezzanine::GoalTimer | |
| GoalTimer () | |
| Class constructor. | |
| virtual | ~GoalTimer () |
| Class destructor. | |
| virtual Boolean | GetAutoReset () const |
| Gets whether or not this Timer will reset when it reaches it's goal. More... | |
| virtual Whole | GetGoalTime () const |
| Gets the Goal time in Microseconds. More... | |
| virtual Whole | GetGoalTimeInMilliseconds () const |
| Gets the Goal time in Milliseconds. More... | |
| virtual void | SetAutoReset (const bool AutoReset) |
| Sets whether or not this Timer should reset if it reaches it's goal. More... | |
| virtual void | SetGoalTime (const Whole Goal) |
| Sets the goal time in Microseconds. More... | |
| virtual void | SetGoalTimeInMilliseconds (const Whole Goal) |
| Sets the goal time in Milliseconds. More... | |
Public Member Functions inherited from Mezzanine::Timer | |
| Timer () | |
| Standard Constructor. More... | |
| virtual | ~Timer () |
| Class Destructor. | |
| virtual Whole | GetCurrentTime () |
| Gets the Current time in Microseconds. More... | |
| virtual Whole | GetCurrentTimeInMilliseconds () |
| Gets the Current time in Milliseconds. More... | |
| virtual Whole | GetInitialTime () const |
| Gets the Initial time in Microseconds. More... | |
| virtual Whole | GetInitialTimeInMilliseconds () const |
| Gets the Initial time in Milliseconds. More... | |
| virtual Boolean | IsStopped () |
| Gets Whether or not this timer is currently running. More... | |
| virtual void | Reset () |
| Sets the current values to their initial values. | |
| virtual void | SetCurrentTime (const Whole Current) |
| Sets the current time in Microseconds. More... | |
| virtual void | SetCurrentTimeInMilliseconds (const Whole Current) |
| Sets the current time in Milliseconds. The time that resetting sets the timer to. More... | |
| virtual void | SetInitialTime (const Whole Initial) |
| Sets the initial time in Microseconds. The time that resetting sets the timer to. More... | |
| virtual void | SetInitialTimeInMilliseconds (const Whole Initial) |
| Sets the initial time in Milliseconds. The time that resetting sets the timer to. More... | |
| virtual void | Start () |
| Activates the Timer. | |
| virtual void | Stop () |
| Deactivates the Timer. | |
Protected Member Functions | |
| virtual Boolean | GoalReached () |
| Checks to see if the goal has been attained as dictated by the type of timer this is. More... | |
| virtual void | Update () |
| Updates all the timings in this timer. More... | |
Additional Inherited Members | |
Public Types inherited from Mezzanine::Timer | |
| enum | TimerType { Normal, StopWatch, Alarm } |
| The style of timer to be used. More... | |
Protected Attributes inherited from Mezzanine::GoalTimer | |
| MaxInt | GoalTime |
| The time this timer should stop at. More... | |
| Boolean | ResetAtGoal |
| Wether or not this timer will reset itself when it reaches it's goal. More... | |
This is a timer class for counting down to a specified time.
|
virtual |
Gets the type of timer this is.
Reimplemented from Mezzanine::Timer.
|
protectedvirtual |
Checks to see if the goal has been attained as dictated by the type of timer this is.
Implements Mezzanine::GoalTimer.
|
protectedvirtual |
Updates all the timings in this timer.
Reimplemented from Mezzanine::Timer.
1.8.4