CEBL  2.1
InfoBar.hpp
Go to the documentation of this file.
1 /*
2 * CEBL : CSU EEG Brain-Computer Interface Lab
3 *
4 * Author: Jeshua Bratman - jeshuabratman@gmail.com
5 *
6 * This file is part of CEBL.
7 *
8 * CEBL is free software; you can redistribute it and/or modify it.
9 * We only ask that if you use our code that you cite the source in
10 * your project or publication.
11 *
12 * EEG Group (www.cs.colostate.edu/eeg)
13 * Department of Computer Science
14 * Colorado State University
15 *
16 */
17 
18 /*
19  * InfoBar.hpp
20  * \author Alex Klein
21  *
22  * Displays information at bottom of CEBL window about several settings
23  * and object statuses regardless of current tab
24  */
25 
26 #ifndef INFO_BAR_H
27 #define INFO_BAR_H
28 #include "CEBLViewGTK.hpp"
29 #include "CEBLGtkWidget.hpp"
30 #include <stdlib.h>
31 
32 
33 class InfoBar : public CEBLGtkWidget{
34 
35 private:
36  CEBLViewGTK * view;
37  static const int n_labels = 5;
38  //Number of lags
39  int n_lags;
40  //Number of classes
41  int n_classes;
42  //Training data ready?
43  bool trained;
44  //Classifier Name
45  string classifier;
46  //Classifier Trained?
47  bool c_trained;
48 
49 public:
50  InfoBar(CEBLViewGTK * view);
51  ~InfoBar();
52 
53  //update labels' text
54  void update();
55 
56  //void show();
57  //void hide();
58 };
59 
60 #endif