CEBL  2.1
FileDataStream.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 
25 #ifndef FILEDATASTREAM_H
26 #define FILEDATASTREAM_H
27 
28 #include "../CEBLModel.hpp"
29 #include "EEGDataStream.hpp"
30 #include "EEGData.hpp"
31 
33 {
34 private:
35 
36  bool file_opened;
37  EEGData data;
38  int data_index;
39  int sample_rate;
40 
41  CEBLModel * model;
42 
43  void updater();
44  void onStart();
45  void onStop();
46 
47 public:
48  FileDataStream(CEBLModel *model);
50 
51 
52 };
53 
54 
55 #endif