nonin/src/plugin.cpp File Reference

#include "plugin.h"
#include "NoninCom.h"

Go to the source code of this file.

Defines

#define NbNoninPKG   8
 Nb of Scol functions or types.

Functions

int destroyNoninObj (mmachine m, int handsys, int NoninTab)
 Scol CallBack for OBJNonin destruction.
int _CRNonin (mmachine m)
 _CRNonin : This function create a new Nonin Object
int _DSNonin (mmachine m)
 _DSNonin : This function destroy a Nonin Object
int _CBNoninConnected (mmachine m)
 _CBNoninConnected : This function set the Callback for Connection from nonin
int getNoninConnectedCb (mmachine m, HWND h, unsigned msg, UINT id, LONG param, int *ret)
int _CBNoninDisconnected (mmachine m)
 _CBNoninDisconnected : This function set the Callback for Disconnection from nonin
int getNoninDisconnectedCb (mmachine m, HWND h, unsigned msg, UINT id, LONG param, int *ret)
int _CBNoninHR (mmachine m)
 _CBNoninDisconnected : This function set the Callback for Hear rate datas from nonin
int getNoninHRCb (mmachine m, HWND h, unsigned msg, UINT id, LONG param, int *ret)
int _CBNoninSPO2 (mmachine m)
 _CBNoninSPO2 : This function set the Callback for spO2 datas from nonin
int getNoninSPO2Cb (mmachine m, HWND h, unsigned msg, UINT id, LONG param, int *ret)
int _CBNoninSNSA (mmachine m)
 _CBNoninSNSA : This function set the Callback for sensor alarm
int getNoninSNSACb (mmachine m, HWND h, unsigned msg, UINT id, LONG param, int *ret)
void cleanDirtyConnection ()
 __declspec (dllexport) int SCOLloadNONIN(mmachine m
 Starting point of the DLL Function to add in Scol usm.ini for loading dll.
cbmachine w SCOLinitplugin (w)
 MMechostr (MSKDEBUG,"SCOLloadNONIN trying loading nonin DLL ...\n")
 LoadNonin (m)

Variables

cbmachine ww
 Scol machine declaration for MM macros.
HWND HScol = NULL
int OBJNONINSCOL
 Scol object declaration.
int SCOL_NONIN_CONNECTED_CB = 0
int NONIN_CONNECTED_CB
int SCOL_NONIN_DISCONNECTED_CB = 1
int NONIN_DISCONNECTED_CB
int SCOL_NONIN_HR_CB = 2
int NONIN_HR_CB
int SCOL_NONIN_SPO2_CB = 3
int NONIN_SPO2_CB
int SCOL_NONIN_SNSA_CB = 4
int NONIN_SNSA_CB
std::list< NoninCom * > noninList
char * NoninName [NbNoninPKG]
int(* NoninFunc [NbNoninPKG])(mmachine m)
int NoninNArg [NbNoninPKG]
char * NoninType [NbNoninPKG]
 return

Define Documentation

#define NbNoninPKG   8

Nb of Scol functions or types.

Definition at line 305 of file plugin.cpp.


Function Documentation

__declspec ( dllexport   ) 

Starting point of the DLL Function to add in Scol usm.ini for loading dll.

Ending point of the DLL Function to add in Scol usm.ini for free dll.

Definition at line 440 of file plugin.cpp.

void cleanDirtyConnection (  ) 

Definition at line 372 of file plugin.cpp.

int destroyNoninObj ( mmachine  m,
int  handsys,
int  NoninTab 
)

Scol CallBack for OBJNonin destruction.

Definition at line 72 of file plugin.cpp.

int getNoninConnectedCb ( mmachine  m,
HWND  h,
unsigned  msg,
UINT  id,
LONG  param,
int *  ret 
)

Definition at line 177 of file plugin.cpp.

int getNoninDisconnectedCb ( mmachine  m,
HWND  h,
unsigned  msg,
UINT  id,
LONG  param,
int *  ret 
)

Definition at line 205 of file plugin.cpp.

int getNoninHRCb ( mmachine  m,
HWND  h,
unsigned  msg,
UINT  id,
LONG  param,
int *  ret 
)

Definition at line 233 of file plugin.cpp.

int getNoninSNSACb ( mmachine  m,
HWND  h,
unsigned  msg,
UINT  id,
LONG  param,
int *  ret 
)

Definition at line 291 of file plugin.cpp.

int getNoninSPO2Cb ( mmachine  m,
HWND  h,
unsigned  msg,
UINT  id,
LONG  param,
int *  ret 
)

Definition at line 262 of file plugin.cpp.

LoadNonin (  ) 
MMechostr ( MSKDEBUG  ,
"SCOLloadNONIN trying loading nonin DLL ...\n"   
)
cbmachine w SCOLinitplugin (  ) 

Variable Documentation

HWND HScol = NULL

Definition at line 44 of file plugin.cpp.

Definition at line 51 of file plugin.cpp.

Definition at line 55 of file plugin.cpp.

Definition at line 59 of file plugin.cpp.

Definition at line 67 of file plugin.cpp.

Definition at line 63 of file plugin.cpp.

int(* NoninFunc[NbNoninPKG])(mmachine m)
Initial value:

Pointers to C functions that manipulate the VM for each scol function previously defined

Definition at line 327 of file plugin.cpp.

std::list<NoninCom*> noninList

Definition at line 30 of file NoninCom.cpp.

char* NoninName[NbNoninPKG]
Initial value:
{
  "ObjNonin",
  "_CRNonin",
  "_DSNonin",
  "_CBNoninConnected",
  "_CBNoninDisconnected",
  "_CBNoninHR",
  "_CBNoninSPO2",
  "_CBNoninSNSA"
}

Scol function names

Definition at line 311 of file plugin.cpp.

int NoninNArg[NbNoninPKG]
Initial value:
{
  TYPTYPE,                  
  1,                      
  1,                      
  3,                    
  3,                    
  3,                    
  3,                    
  3,                    
}

Nb of arguments of each scol function

Definition at line 343 of file plugin.cpp.

char* NoninType[NbNoninPKG]
Initial value:
{
        NULL,                                                                                                                                                                                                                                                                               
  "fun [Chn] ObjNonin",                                                                                                                                                                                                 
  "fun [ObjNonin] I",                                                                                                                                                                                                     
  "fun [ObjNonin fun [ObjNonin u0] u1 u0] ObjNonin",                            
  "fun [ObjNonin fun [ObjNonin u0] u1 u0] ObjNonin",                            
  "fun [ObjNonin fun [ObjNonin u0 I] u1 u0] ObjNonin",                                                      
  "fun [ObjNonin fun [ObjNonin u0 I] u1 u0] ObjNonin",                                                      
  "fun [ObjNonin fun [ObjNonin u0] u1 u0] ObjNonin",                            
}

Prototypes of the scol functions

Definition at line 359 of file plugin.cpp.

Scol object declaration.

Definition at line 47 of file plugin.cpp.

Definition at line 432 of file plugin.cpp.

Definition at line 50 of file plugin.cpp.

Definition at line 54 of file plugin.cpp.

Definition at line 58 of file plugin.cpp.

Definition at line 66 of file plugin.cpp.

Definition at line 62 of file plugin.cpp.

cbmachine ww

Scol machine declaration for MM macros.

Definition at line 43 of file plugin.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Fri Oct 15 10:23:38 2010 for Nonin by  doxygen 1.6.3