Electric Tiger DAQ  1.0.0
Data Acquisition Software for the Electric Tiger Experiment
flatfilesaver.h
1 #ifndef FLATFILESAVER_H
2 #define FLATFILESAVER_H
3 
4 //C System-Headers
5 //
6 //C++ System headers
7 #include <string>
8 #include <vector>
9 //Qt Headers
10 //
11 //OpenCV Headers
12 //
13 //Boost Headers
14 //
15 //Project specific headers
16 #include "../../Generics/generics.h"
17 
19 
20  public:
21  FlatFileSaver( std::string save_file_path );
22  void Save(const std::vector<data_triple<double> > &data_values, std::string header );
23 
24  protected:
25  std::string GenerateSaveFileName( uint index );
26 
27  private:
28  void MakeEmptyDataFolder( std::string root_directory );
29  std::string GetFolderName();
30 
31  std::string root_dir;
32  uint counter = 0;
33 
34 };
35 
36 
37 #endif // FLATFILESAVER_H
Definition: flatfilesaver.h:18
Definition: generics.h:48