neurosky/header/plugin.h File Reference

#include <scol.h>
#include <list>
#include <string>
#include <assert.h>

Go to the source code of this file.

Defines

#define ASSERT   assert
#define DELETEARRAY(x)   if (x) { delete []x; x = NULL; }
#define CHECKALLOC(x)   if(!x) { return false;}
#define TG_BAUD_1200   1200
#define TG_BAUD_2400   2400
#define TG_BAUD_4800   4800
#define TG_BAUD_9600   9600
#define TG_BAUD_57600   57600
#define TG_BAUD_115200   115200
#define TG_STREAM_PACKETS   0
#define TG_STREAM_5VRAW   1
#define TG_STREAM_FILE_PACKETS   2

Functions

wchar_t * convertCharToLPCWSTR (char *s_text)
 Usefull function.
char * convertWcharToChar (wchar_t *w_text)

Variables

cbmachine ww
 Scol machine declaration for MM macros.
HWND HScol
int OBJNEUROSKYSCOL
 Scol object declaration.
int SCOL_NEUROSKY_ATTENTION_CB
 Scol CallBacks declaration.
int NEUROSKY_ATTENTION_CB
int SCOL_NEUROSKY_MEDITATION_CB
int NEUROSKY_MEDITATION_CB
int SCOL_NEUROSKY_BATTERY_CB
int NEUROSKY_BATTERY_CB
int SCOL_NEUROSKY_RAW_SIGNAL_CB
int NEUROSKY_RAW_SIGNAL_CB
int SCOL_NEUROSKY_POOR_QUALITY_CB
int NEUROSKY_POOR_QUALITY_CB
int SCOL_NEUROSKY_EEG_CB
int NEUROSKY_EEG_CB
int SCOL_NEUROSKY_CONNECTED_CB
int NEUROSKY_CONNECTED_CB
int SCOL_NEUROSKY_DISCONNECTED_CB
int NEUROSKY_DISCONNECTED_CB

Define Documentation

#define ASSERT   assert

Definition at line 45 of file plugin.h.

#define CHECKALLOC (  )     if(!x) { return false;}

Definition at line 48 of file plugin.h.

#define DELETEARRAY (  )     if (x) { delete []x; x = NULL; }

Definition at line 47 of file plugin.h.

#define TG_BAUD_115200   115200

Definition at line 60 of file plugin.h.

#define TG_BAUD_1200   1200

Baud rate for use with TG_Connect() and TG_SetBaudrate().

Definition at line 55 of file plugin.h.

#define TG_BAUD_2400   2400

Definition at line 56 of file plugin.h.

#define TG_BAUD_4800   4800

Definition at line 57 of file plugin.h.

#define TG_BAUD_57600   57600

Definition at line 59 of file plugin.h.

#define TG_BAUD_9600   9600

Definition at line 58 of file plugin.h.

#define TG_STREAM_5VRAW   1

Definition at line 66 of file plugin.h.

#define TG_STREAM_FILE_PACKETS   2

Definition at line 67 of file plugin.h.

#define TG_STREAM_PACKETS   0

Data format for use with TG_Connect() and TG_SetDataFormat().

Definition at line 65 of file plugin.h.


Function Documentation

wchar_t* convertCharToLPCWSTR ( char *  s_text  ) 

Usefull function.

Definition at line 93 of file plugin.cpp.

char* convertWcharToChar ( wchar_t *  w_text  ) 

Definition at line 102 of file plugin.cpp.


Variable Documentation

HWND HScol

Definition at line 47 of file plugin.cpp.

Definition at line 58 of file plugin.cpp.

Definition at line 66 of file plugin.cpp.

Definition at line 82 of file plugin.cpp.

Definition at line 86 of file plugin.cpp.

Definition at line 78 of file plugin.cpp.

Definition at line 62 of file plugin.cpp.

Definition at line 74 of file plugin.cpp.

Definition at line 70 of file plugin.cpp.

Scol object declaration.

Definition at line 51 of file plugin.cpp.

Scol CallBacks declaration.

Definition at line 57 of file plugin.cpp.

Definition at line 65 of file plugin.cpp.

Definition at line 81 of file plugin.cpp.

Definition at line 85 of file plugin.cpp.

Definition at line 77 of file plugin.cpp.

Definition at line 61 of file plugin.cpp.

Definition at line 73 of file plugin.cpp.

Definition at line 69 of file plugin.cpp.

cbmachine ww

Scol machine declaration for MM macros.

Definition at line 46 of file plugin.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Defines
Generated on Sat May 15 15:11:27 2010 for NeuroSky by  doxygen 1.6.3