Emotiv EPOC plugin 1.0
Functions

Scol functions definition

Functions

int _CREpoc (mmachine m)
 _CREpoc : This function creates a new Emotiv EPOC Object
int _DSEpoc (mmachine m)
 _DSEpoc : This function destroys an Emotiv EPOC Object
int _CBEpocConnected (mmachine m)
 _CBEpocConnected : This function sets the Callback for Connection from Emotiv EPOC
int _CBEpocDisconnected (mmachine m)
 _CBEpocDisconnected : This function sets the Callback for disconnected state from Emotiv EPOC
int _CBEpocBadSignal (mmachine m)
 _CBEpocBadSignal : This function sets the Callback for bad wireless signal from Emotiv EPOC
int _CBEpocLowBattery (mmachine m)
 _CBEpocLowBattery : This function sets the Callback for low battery level from Emotiv EPOC
int _CBEpocHeadsetData (mmachine m)
 _CBEpocHeadsetData : This function sets the Callback for new headset data received from Emotiv EPOC
int _CBEpocAffectivData (mmachine m)
 _CBEpocAffectivData : This function sets the Callback for new affectiv data received from Emotiv EPOC
int _CBEpocExpressivData (mmachine m)
 _CBEpocExpressivData : This function sets the Callback for new expressiv data received from Emotiv EPOC
int _CBEpocCognitivData (mmachine m)
 _CBEpocCognitivData : This function sets the Callback for new cognitiv data received from Emotiv EPOC
int _CBEpocExpressivTrainingStarted (mmachine m)
 _CBEpocExpressivTrainingStarted : This function sets the Callback for Expressiv Training Started event from Emotiv EPOC
int _CBEpocCognitivTrainingStarted (mmachine m)
 _CBEpocCognitivTrainingStarted : This function sets the Callback for Cognitiv Training Started event from Emotiv EPOC
int _CBEpocExpressivTrainingCompleted (mmachine m)
 _CBEpocExpressivTrainingCompleted : This function sets the Callback for Expressiv Training Completed event from Emotiv EPOC
int _CBEpocCognitivTrainingCompleted (mmachine m)
 _CBEpocCognitivTrainingCompleted : This function sets the Callback for Cognitiv Training Completed event from Emotiv EPOC
int _StartExpressivTraining (mmachine m)
 _StartExpressivTraining : This function starts Expressiv Suite training for Emotiv EPOC
int _EraseExpressivTraining (mmachine m)
 _EraseExpressivTraining : This function erases training for a specific expression of Expressiv Suite
int _StartCognitivTraining (mmachine m)
 _StartCognitivTraining : This function starts Cognitiv Suite training for Emotiv EPOC
int _EraseCognitivTraining (mmachine m)
 _EraseCognitivTraining : This function erases training for a specific action of Cognitiv Suite
int _LoadProfile (mmachine m)
 _LoadProfile : This function loads a profile (*.emu) and assigns it to the current user
int _SaveProfile (mmachine m)
 _SaveProfile : This function save current user profile to file (*.emu)
int _CBEpocExpressivTrainingErased (mmachine m)
 _CBEpocExpressivTrainingErased : This function sets the Callback for Expressiv Training Erased event from Emotiv EPOC
int _CBEpocCognitivTrainingErased (mmachine m)
 _CBEpocCognitivTrainingErased : This function sets the Callback for Cognitiv Training Erased event from Emotiv EPOC
int _CBEpocExpressivTrainingRejected (mmachine m)
 _CBEpocExpressivTrainingRejected : This function sets the Callback for Expressiv Training Rejected event from Emotiv EPOC
int _CBEpocCognitivTrainingRejected (mmachine m)
 _CBEpocCognitivTrainingRejected : This function sets the Callback for Cognitiv Training Rejected event from Emotiv EPOC
int _CBEpocExpressivTrainingSucceeded (mmachine m)
 _CBEpocExpressivTrainingSucceeded : This function sets the Callback for Expressiv Training Succeeded event from Emotiv EPOC
int _CBEpocCognitivTrainingSucceeded (mmachine m)
 _CBEpocCognitivTrainingSucceeded : This function sets the Callback for Cognitiv Training Succeeded event from Emotiv EPOC
int _CBEpocExpressivTrainingFailed (mmachine m)
 _CBEpocExpressivTrainingFailed : This function sets the Callback for Expressiv Training Failed event from Emotiv EPOC
int _CBEpocCognitivTrainingFailed (mmachine m)
 _CBEpocCognitivTrainingFailed : This function sets the Callback for Cognitiv Training Failed event from Emotiv EPOC
int _CBEpocRawEEGData (mmachine m)
 _CBEpocRawEEGData : This function sets the Callback for new raw EEG data received from Emotiv EPOC

Detailed Description

Scol functions definition


Function Documentation

int _CBEpocAffectivData ( mmachine  m)

_CBEpocAffectivData : This function sets the Callback for new affectiv data received from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0 F F F F F] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0 F F F F F] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 497 of file Plugin.cpp.

int _CBEpocBadSignal ( mmachine  m)

_CBEpocBadSignal : This function sets the Callback for bad wireless signal from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 316 of file Plugin.cpp.

int _CBEpocCognitivData ( mmachine  m)

_CBEpocCognitivData : This function sets the Callback for new cognitiv data received from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0 [I F]] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0 [I F]] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 588 of file Plugin.cpp.

int _CBEpocCognitivTrainingCompleted ( mmachine  m)

_CBEpocCognitivTrainingCompleted : This function sets the Callback for Cognitiv Training Completed event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 736 of file Plugin.cpp.

int _CBEpocCognitivTrainingErased ( mmachine  m)

_CBEpocCognitivTrainingErased : This function sets the Callback for Cognitiv Training Erased event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 1035 of file Plugin.cpp.

int _CBEpocCognitivTrainingFailed ( mmachine  m)

_CBEpocCognitivTrainingFailed : This function sets the Callback for Cognitiv Training Failed event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 1221 of file Plugin.cpp.

int _CBEpocCognitivTrainingRejected ( mmachine  m)

_CBEpocCognitivTrainingRejected : This function sets the Callback for Cognitiv Training Rejected event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 1097 of file Plugin.cpp.

int _CBEpocCognitivTrainingStarted ( mmachine  m)

_CBEpocCognitivTrainingStarted : This function sets the Callback for Cognitiv Training Started event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 664 of file Plugin.cpp.

int _CBEpocCognitivTrainingSucceeded ( mmachine  m)

_CBEpocCognitivTrainingSucceeded : This function sets the Callback for Cognitiv Training Succeeded event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 1159 of file Plugin.cpp.

int _CBEpocConnected ( mmachine  m)

_CBEpocConnected : This function sets the Callback for Connection from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 254 of file Plugin.cpp.

int _CBEpocDisconnected ( mmachine  m)

_CBEpocDisconnected : This function sets the Callback for disconnected state from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 285 of file Plugin.cpp.

int _CBEpocExpressivData ( mmachine  m)

_CBEpocExpressivData : This function sets the Callback for new expressiv data received from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0 I I F I F] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0 I I F I F] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 542 of file Plugin.cpp.

int _CBEpocExpressivTrainingCompleted ( mmachine  m)

_CBEpocExpressivTrainingCompleted : This function sets the Callback for Expressiv Training Completed event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 699 of file Plugin.cpp.

int _CBEpocExpressivTrainingErased ( mmachine  m)

_CBEpocExpressivTrainingErased : This function sets the Callback for Expressiv Training Erased event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 1004 of file Plugin.cpp.

int _CBEpocExpressivTrainingFailed ( mmachine  m)

_CBEpocExpressivTrainingFailed : This function sets the Callback for Expressiv Training Failed event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 1190 of file Plugin.cpp.

int _CBEpocExpressivTrainingRejected ( mmachine  m)

_CBEpocExpressivTrainingRejected : This function sets the Callback for Expressiv Training Rejected event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 1066 of file Plugin.cpp.

int _CBEpocExpressivTrainingStarted ( mmachine  m)

_CBEpocExpressivTrainingStarted : This function sets the Callback for Expressiv Training Started event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 629 of file Plugin.cpp.

int _CBEpocExpressivTrainingSucceeded ( mmachine  m)

_CBEpocExpressivTrainingSucceeded : This function sets the Callback for Expressiv Training Succeeded event from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 1128 of file Plugin.cpp.

int _CBEpocHeadsetData ( mmachine  m)

_CBEpocHeadsetData : This function sets the Callback for new headset data received from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0 [I I] [I I I I I I I] [I I I I I I I] [F F] F] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0 [I I] [I I I I I I I] [I I I I I I I] [F F] F] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 378 of file Plugin.cpp.

int _CBEpocLowBattery ( mmachine  m)

_CBEpocLowBattery : This function sets the Callback for low battery level from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 347 of file Plugin.cpp.

int _CBEpocRawEEGData ( mmachine  m)

_CBEpocRawEEGData : This function sets the Callback for new raw EEG data received from Emotiv EPOC

Prototype: fun [ObjEpoc fun [ObjEpoc u0 [F r1]] u1 u0] ObjEpoc

Parameters:
ObjEpoc: the current ObjEpoc
fun[ObjEpoc u0 [F r1]] : SCOL CallBack function to call
u1: user parameter
u0: user parameter
Returns:
I : ObjEpoc if success

Definition at line 1252 of file Plugin.cpp.

int _CREpoc ( mmachine  m)

_CREpoc : This function creates a new Emotiv EPOC Object

Prototype: fun [Chn] ObjEpoc

Parameters:
Chn: the current channel
Returns:
ObjEpoc : Emotiv EPOC Object

Definition at line 160 of file Plugin.cpp.

int _DSEpoc ( mmachine  m)

_DSEpoc : This function destroys an Emotiv EPOC Object

Prototype: fun [ObjEpoc] I

Parameters:
ObjEpoc: the current ObjEpoc
Returns:
I : 0 if success

Definition at line 219 of file Plugin.cpp.

int _EraseCognitivTraining ( mmachine  m)

_EraseCognitivTraining : This function erases training for a specific action of Cognitiv Suite

Prototype: fun [ObjEpoc I] I

Parameters:
ObjEpoc: the current ObjEpoc
I: index for Cognitiv Suite action to be erased
Returns:
I : ObjEpoc if success

Definition at line 882 of file Plugin.cpp.

int _EraseExpressivTraining ( mmachine  m)

_EraseExpressivTraining : This function erases training for a specific expression of Expressiv Suite

Prototype: fun [ObjEpoc I] I

Parameters:
ObjEpoc: the current ObjEpoc
I: index for Expressiv Suite action to be erased
Returns:
I : ObjEpoc if success

Definition at line 808 of file Plugin.cpp.

int _LoadProfile ( mmachine  m)

_LoadProfile : This function loads a profile (*.emu) and assigns it to the current user

Prototype: fun [ObjEpoc S] I

Parameters:
ObjEpoc: the current ObjEpoc
S: path to the user profile file name
Returns:
I : ObjEpoc if success

Definition at line 919 of file Plugin.cpp.

int _SaveProfile ( mmachine  m)

_SaveProfile : This function save current user profile to file (*.emu)

Prototype: fun [ObjEpoc S] I

Parameters:
ObjEpoc: the current ObjEpoc
S: path to the user profile file name
Returns:
I : ObjEpoc if success

Definition at line 961 of file Plugin.cpp.

int _StartCognitivTraining ( mmachine  m)

_StartCognitivTraining : This function starts Cognitiv Suite training for Emotiv EPOC

Prototype: fun [ObjEpoc I] I

Parameters:
ObjEpoc: the current ObjEpoc
I: index for Cognitiv Suite action to be trained
Returns:
I : ObjEpoc if success

Definition at line 845 of file Plugin.cpp.

int _StartExpressivTraining ( mmachine  m)

_StartExpressivTraining : This function starts Expressiv Suite training for Emotiv EPOC

Prototype: fun [ObjEpoc I] I

Parameters:
ObjEpoc: the current ObjEpoc
I: index for Expressiv Suite action to be trained
Returns:
I : ObjEpoc if success

Definition at line 771 of file Plugin.cpp.