Go to the documentation of this file.00001 #ifndef PYPOC_H
00002 #define PYPOC_H
00003
00004 #include <Windows.h>
00005 #include "EmoStateDLL.h"
00006 #include "edk.h"
00007 #include "edkErrorCode.h"
00008
00009 class EPOC {
00010 private:
00011 EmoEngineEventHandle eEvent;
00012 EmoStateHandle eState;
00013 DataHandle hData;
00014 int nChannels;
00015 EE_DataChannel_t *channels;
00016 unsigned int userId;
00017 double *samples;
00018 BOOL ready;
00019 BOOL closed;
00020 public:
00021 EPOC();
00022 ~EPOC();
00023 BOOL open();
00024 BOOL init(const int);
00025 BOOL start();
00026 BOOL acquire();
00027 void getdata(int *data, int n);
00028 BOOL stop();
00029 BOOL close();
00030 };
00031
00032
00033 #endif