00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef EKG_H
00023 #define EKG_H
00024
00025 #include <cstdlib>
00026 #include <fstream>
00027 #include <unistd.h>
00028 #include "calibrate.h"
00029 #include "EKGdevice.h"
00030 #include "EKGbuffer.h"
00031 #include "EKGfreq.h"
00032 #include "EKGhfilter.h"
00033 #include "EKGlfilter.h"
00034 #include "EKGplotter.h"
00035 #include "EKGsource.h"
00036 #include "EKGlogger.h"
00037 using namespace std;
00038
00071 class EKG
00072 {
00073 public:
00075 EKG( int argc, char *argv[] );
00077 void run();
00078 private:
00079
00080
00081
00082
00084 char * g;
00086 bool h;
00088 char * p;
00090 bool r;
00092 int t;
00094 int w;
00096 float H;
00098 float L;
00100 char * N;
00102 bool P;
00104 bool S;
00106 float T;
00108 float V;
00110 char * device;
00111
00112
00113
00114
00115
00117 EKGsource Source;
00119 EKGhfilter Hfilter;
00121 EKGlfilter Lfilter;
00123 EKGfreq Freq;
00125 EKGdevice & Pipeend;
00126
00127
00128
00129
00130
00132 void wait();
00134 void help();
00136 void program_ps();
00138 void program_data();
00139
00140 };
00141
00142 #endif