GACEN  0.0.3
Controller.h
Go to the documentation of this file.
1 
2 #ifndef CONTROLLER_H
3 #define CONTROLLER_H
4 
5 #include <iostream>
6 #include "DBBuilderController.h"
7 #include "DataContainer.h"
8 
9 #include "GacenException.h"
10 
11 namespace gacen {
12 
17  class Controller
18  {
19  public:
24  Controller ();
25 
30  virtual ~Controller ();
31 
32  /*
33  * Accessor
34  */
35 
40  int getStatus();
41 
42  /*
43  * Other methods
44  */
45 
50  void wait_for_data ();
51 
56  void report_status ();
57  protected:
58 
59  private:
60  /*
61  * Arguments
62  */
63 
65  int status=0;
66  };
67 }
68 #endif // CONTROLLER_H
void wait_for_data()
Wait until the requiered data is available.
int getStatus()
Accessor to status.
Definition: Controller.h:11
void report_status()
Report status.
Controller()
Constructor.
The Controller class.
Definition: Controller.h:17
virtual ~Controller()
Destructor.