void handleQuit()
Option methods -----------------------—.
Definition timer.cpp:141
void handleDeleteAll()
deleteAll removes all timers from memory
Definition timer.cpp:149
void handleResetAllTimers()
handleResetAllTimers handles resetting all timers to 00:00:00 in memory
Definition timer.cpp:156
void loadTimers()
loadTimers calls upon Files.
Definition timer.cpp:57
void handleAddtimer()
handleAddTimer prompts the user to create a timer and add it to timeData vector
Definition timer.cpp:163
Timer()
Definition timer.cpp:46
void handleRemoveTimer()
handleRemoveTimer removes a timer from timeData vector after prompting the user for the index of the ...
Definition timer.cpp:182
void printTimers()
printTimers loops through timeData to grab each TimerData instance and calls their corresponding prin...
Definition timer.cpp:69
TimerData::Times getUserTimer()
getUserTimer prompts the user to input the hours minutes and seconds they would like to set on the ti...
Definition timer.cpp:202
std::atomic< bool > running
running is a special atomic bool created for managing the multi threaded nature of this class....
Definition timer.h:50
void handleCases(const char &answer)
handleCases is a switch case method that handles mapping the users input to the correct class method
Definition timer.cpp:117
void listenForInput()
Thread methods ------------------------—.
Definition timer.cpp:78
std::vector< TimerData > timeData
timeData stores all the timers in memory for the user to manipulate as a vector of TimerData structur...
Definition timer.h:45
Times struct organizes parts of a timer body including the hour, minutes, seconds and milliseconds....
Definition timerData.h:40