• Main Page
  • Packages
  • Classes
  • Files
  • File List
  • File Members

unlock/bci/acquire-c++/Pymotiv.hpp

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

Generated on Mon Nov 10 2014 11:09:08 for The Unlock Project by  doxygen 1.7.1