[mareframe] Annotation of /trunk/gadget/interruptinterface.h
Annotation of /trunk/gadget/interruptinterface.h
Parent Directory
| Revision Log
Revision 1 -
(view)
(download)
1 : |
agomez |
1 |
#ifndef interruptinterface_h
|
2 : |
|
|
#define interruptinterface_h
|
3 : |
|
|
|
4 : |
|
|
/**
|
5 : |
|
|
* \class InterruptInterface
|
6 : |
|
|
* \brief This is the class used to communicate with the user after an interrupt
|
7 : |
|
|
*/
|
8 : |
|
|
class InterruptInterface {
|
9 : |
|
|
public:
|
10 : |
|
|
/**
|
11 : |
|
|
* \brief This is the InterruptInterface constructor
|
12 : |
|
|
*/
|
13 : |
|
|
InterruptInterface() {};
|
14 : |
|
|
/**
|
15 : |
|
|
* \brief This is the default InterruptInterface destructor
|
16 : |
|
|
*/
|
17 : |
|
|
~InterruptInterface() {};
|
18 : |
|
|
/**
|
19 : |
|
|
* \brief This is the function used to communicate with the user
|
20 : |
|
|
* \return 0 to quit, else 1 to continue simulation
|
21 : |
|
|
*/
|
22 : |
|
|
int menu();
|
23 : |
|
|
private:
|
24 : |
|
|
/**
|
25 : |
|
|
* \brief This is the function used to print a menu to communicate with the user
|
26 : |
|
|
*/
|
27 : |
|
|
void printMenu();
|
28 : |
|
|
};
|
29 : |
|
|
|
30 : |
|
|
#endif
|
|