Timer Console
|
Enumerations | |
enum | AppFunction { ALARM = 1 , STOPWATCH = 2 , TIMER = 3 , QUIT = 4 } |
Functions | |
void | branchApp (const int &selection) |
predefined functions @params selection is queried from the user to choose which functionality they want. Alarm, timer, stopwatch... | |
void | printMenu () |
int | takeInput () |
Instruct user to select a valid functionality via integer to map to local ENUM. | |
void | reset () |
void | handleAlarm () |
void | handleTimer () |
int | main () |
enum AppFunction |
void branchApp | ( | const int & | selection | ) |
predefined functions @params selection is queried from the user to choose which functionality they want. Alarm, timer, stopwatch...
Take user selection and branch it to create the correct class instance.
void handleAlarm | ( | ) |
void handleTimer | ( | ) |
int main | ( | ) |
void printMenu | ( | ) |
void reset | ( | ) |
int takeInput | ( | ) |
Instruct user to select a valid functionality via integer to map to local ENUM.