- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
43
site.h
43
site.h
@ -26,31 +26,24 @@ being compiled.
|
||||
#include <evcontroller.h>
|
||||
#include <scan.h>
|
||||
|
||||
typedef struct {
|
||||
void (*AddSiteCommands)(SicsInterp *pSics);
|
||||
void (*RemoveSiteCommands)(SicsInterp *pSics);
|
||||
pMotor (*CreateMotor)(SConnection *pCon,
|
||||
int argc, char *argv[]);
|
||||
pCounterDriver (*CreateCounterDriver)(
|
||||
SConnection *pCon,
|
||||
int argc,
|
||||
char *argv[]);
|
||||
HistDriver *(*CreateHistogramMemoryDriver)(
|
||||
char *name, pStringDict pOption);
|
||||
pVelSelDriv (*CreateVelocitySelector)(char *name,
|
||||
char *array, Tcl_Interp *pTcl);
|
||||
pCodri (*CreateControllerDriver)(SConnection *pCon,
|
||||
int argc,
|
||||
char *argv[]);
|
||||
pEVControl (*InstallEnvironmentController)(
|
||||
SicsInterp *pSics,
|
||||
SConnection *pCon,
|
||||
int argc,
|
||||
char *argv[]);
|
||||
int (*ConfigureScan)(pScanData self,
|
||||
char *option);
|
||||
void (*KillSite)(void *pData);
|
||||
}Site, *pSite;
|
||||
typedef struct {
|
||||
void (*AddSiteCommands) (SicsInterp * pSics);
|
||||
void (*RemoveSiteCommands) (SicsInterp * pSics);
|
||||
pMotor(*CreateMotor) (SConnection * pCon, int argc, char *argv[]);
|
||||
pCounterDriver(*CreateCounterDriver) (SConnection * pCon,
|
||||
int argc, char *argv[]);
|
||||
HistDriver *(*CreateHistogramMemoryDriver) (char *name,
|
||||
pStringDict pOption);
|
||||
pVelSelDriv(*CreateVelocitySelector) (char *name, char *array,
|
||||
Tcl_Interp * pTcl);
|
||||
pCodri(*CreateControllerDriver) (SConnection * pCon, int argc,
|
||||
char *argv[]);
|
||||
pEVControl(*InstallEnvironmentController) (SicsInterp * pSics,
|
||||
SConnection * pCon, int argc,
|
||||
char *argv[]);
|
||||
int (*ConfigureScan) (pScanData self, char *option);
|
||||
void (*KillSite) (void *pData);
|
||||
} Site, *pSite;
|
||||
|
||||
/*-------------------------------------------------------------------*/
|
||||
pSite getSite(void);
|
||||
|
Reference in New Issue
Block a user