PSI sics-cvs-psi_pre-ansto
This commit is contained in:
47
chadapter.h
Normal file
47
chadapter.h
Normal file
@@ -0,0 +1,47 @@
|
||||
|
||||
/*------------------------------------------------------------------------
|
||||
C H a d a p t e r
|
||||
|
||||
This is the header file for a drive adapter for collaboration with a
|
||||
general device controller as implemented in choco.*
|
||||
|
||||
Mark Koennecke, January 1998
|
||||
--------------------------------------------------------------------------*/
|
||||
#ifndef SICSCHADA
|
||||
#define SICSCHADA
|
||||
#include "codri.h"
|
||||
|
||||
typedef struct __CHADAPTER *pCHAdapter;
|
||||
/*-----------------------------------------------------------------------*/
|
||||
int CHAdapterFactory(SConnection *pCon, SicsInterp *pSics,
|
||||
void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
int CHAdapterAction(SConnection *pCon, SicsInterp *pSics,
|
||||
void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
pEVDriver MakeControllerEnvironmentDriver(int argc, char *argv[]);
|
||||
|
||||
|
||||
#ifdef CHADAINTERNAL
|
||||
|
||||
typedef struct __CHADAPTER {
|
||||
pObjectDescriptor pDes;
|
||||
pCodri pDriv;
|
||||
pIDrivable pInt;
|
||||
float fUpper;
|
||||
float fLower;
|
||||
float fTarget;
|
||||
char *pParName;
|
||||
}CHAdapter;
|
||||
|
||||
|
||||
typedef struct __CHEV {
|
||||
char *pParName;
|
||||
pCodri pDriv;
|
||||
int iLastError;
|
||||
}CHev, *pCHev;
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user