5DT Data Glove plugin  1.0
Functions
Scol functions definition

Functions

int _DTGloveOpenDevice (mmachine m)
 _DTGloveOpenDevice : This function opens, initializes and calibrates a 5DTData Glove device
int _DTGloveCloseDevice (mmachine m)
 _DTGloveCloseDevice : This function closes a 5DTData Glove device
int _DTGloveGetSerialNumber (mmachine m)
 _DTGloveGetSerialNumber : This function gets the data glove serial number
int _DTGloveGetType (mmachine m)
 _DTGloveGetType : This function gets the data glove type (5, 14 or 16 sensors)
int _DTGloveGetUSBIndex (mmachine m)
 _DTGloveGetUSBIndex : This function gets the index of the USB port on which the data glove is opened
int _DTGloveCalibrate (mmachine m)
 _DTGloveCalibrate : This function starts the calibration for the data glove
int _CBDTGloveRawData (mmachine m)
 _CBDTGloveRawData : This function sets the Callback for new data (including thumb) received from data glove
int _CBDTGloveGesture (mmachine m)
 _CBDTGloveGesture : This function sets the Callback for new hand gesture received from data glove
int _CBDTGloveCalibrationStart (mmachine m)
 _CBDTGloveCalibrationStart : This function sets the Callback for a calibration started event
int _CBDTGloveCalibrationEnd (mmachine m)
 _CBDTGloveCalibrationEnd : This function sets the Callback for a calibration ended event

Detailed Description

Scol functions definition

Function Documentation

int _CBDTGloveCalibrationEnd ( mmachine  m)

_CBDTGloveCalibrationEnd : This function sets the Callback for a calibration ended event

Prototype: fun [ObjGlove fun [ObjGlove u0] u1 u0] ObjGlove

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

Definition at line 555 of file GlovePlugin.cpp.

int _CBDTGloveCalibrationStart ( mmachine  m)

_CBDTGloveCalibrationStart : This function sets the Callback for a calibration started event

Prototype: fun [ObjGlove fun [ObjGlove u0] u1 u0] ObjGlove

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

Definition at line 517 of file GlovePlugin.cpp.

int _CBDTGloveGesture ( mmachine  m)

_CBDTGloveGesture : This function sets the Callback for new hand gesture received from data glove

Prototype: fun [ObjGlove fun [ObjGlove u0 I] u1 u0] ObjGlove

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

Definition at line 480 of file GlovePlugin.cpp.

int _CBDTGloveRawData ( mmachine  m)

_CBDTGloveRawData : This function sets the Callback for new data (including thumb) received from data glove

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

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

Definition at line 400 of file GlovePlugin.cpp.

int _DTGloveCalibrate ( mmachine  m)

_DTGloveCalibrate : This function starts the calibration for the data glove

Prototype: fun [ObjGlove] I

Parameters
ObjGlove: the current ObjGlove
Returns
I : 0 if success, NIL otherwise

Definition at line 353 of file GlovePlugin.cpp.

int _DTGloveCloseDevice ( mmachine  m)

_DTGloveCloseDevice : This function closes a 5DTData Glove device

Prototype: fun [ObjGlove] I

Parameters
ObjGlove: the current ObjGlove
Returns
I : 0 if success, NIL otherwise

Definition at line 177 of file GlovePlugin.cpp.

int _DTGloveGetSerialNumber ( mmachine  m)

_DTGloveGetSerialNumber : This function gets the data glove serial number

Prototype: fun [ObjGlove] S

Parameters
ObjGlove: the current ObjGlove
Returns
S : data glove serial number

Definition at line 215 of file GlovePlugin.cpp.

int _DTGloveGetType ( mmachine  m)

_DTGloveGetType : This function gets the data glove type (5, 14 or 16 sensors)

Prototype: fun [ObjGlove] S

Parameters
ObjGlove: the current ObjGlove
Returns
S : data glove type

Definition at line 262 of file GlovePlugin.cpp.

int _DTGloveGetUSBIndex ( mmachine  m)

_DTGloveGetUSBIndex : This function gets the index of the USB port on which the data glove is opened

Prototype: fun [ObjGlove] I

Parameters
ObjGlove: the current ObjGlove
Returns
I : USB port index

Definition at line 309 of file GlovePlugin.cpp.

int _DTGloveOpenDevice ( mmachine  m)

_DTGloveOpenDevice : This function opens, initializes and calibrates a 5DTData Glove device

Prototype: fun [Chn] ObjGlove

Parameters
Chn: the current channel
Returns
ObjGlove : The 5DT Data Glove object or NIL if creation fails

Definition at line 107 of file GlovePlugin.cpp.