- Added bridge functions to histmemsec to make it look more like histmem
- Modifed many modules using histmem to work also with histmemsec - Extended tasker with task names and task groups - There is a new taskobj which allows to list tasks and to interact with them. - Task now supports running Tcl functions as tasks - There is a new experimental sctcomtask module which allows to define communication tasks against a scriptcontext. This is a new feature which should facilitate writing sequential scripts using asynchronous communication. - A fix to make spss7 work when there are no switches - ORION support for single X. TRICS measures crystals hanging down, ORION standing up SKIPPED: psi/ease.c psi/faverage.c psi/jvlprot.c psi/make_gen psi/pardef.c psi/polterwrite.c psi/psi.c psi/sinq.c psi/spss7.c
This commit is contained in:
112
HistMem.h
112
HistMem.h
@@ -1,5 +1,5 @@
|
||||
|
||||
#line 440 "histogram.w"
|
||||
#line 443 "histogram.w"
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
H I S T M E M
|
||||
@@ -13,89 +13,91 @@
|
||||
#define SICSHISTMEM
|
||||
#define MAXDIM 3
|
||||
|
||||
typedef struct __HistDriver *pHistDriver;
|
||||
typedef struct __HistMem *pHistMem;
|
||||
typedef struct __HistDriver *pHistDriver;
|
||||
typedef struct __HistMem *pHistMem;
|
||||
/*-------------------------------------------------------------------------*/
|
||||
typedef int HistInt;
|
||||
typedef int HistInt;
|
||||
/*
|
||||
32 bit integer on a DigitalUnix
|
||||
*/
|
||||
|
||||
#line 9 "histogram.w"
|
||||
|
||||
typedef enum {
|
||||
eHTransparent,
|
||||
eHNormal,
|
||||
eHTOF,
|
||||
eHStrobo,
|
||||
eHRPT,
|
||||
ePSD,
|
||||
eSANSTOF
|
||||
} HistMode;
|
||||
typedef enum {
|
||||
eHTransparent,
|
||||
eHNormal,
|
||||
eHTOF,
|
||||
eHStrobo,
|
||||
eHRPT,
|
||||
ePSD,
|
||||
eSANSTOF
|
||||
} HistMode;
|
||||
|
||||
#line 36 "histogram.w"
|
||||
|
||||
typedef enum {
|
||||
eOIgnore,
|
||||
eOCeil,
|
||||
eOCount,
|
||||
eReflect
|
||||
} OverFlowMode;
|
||||
typedef enum {
|
||||
eOIgnore,
|
||||
eOCeil,
|
||||
eOCount,
|
||||
eReflect
|
||||
} OverFlowMode;
|
||||
|
||||
#line 460 "histogram.w"
|
||||
#line 463 "histogram.w"
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#line 292 "histogram.w"
|
||||
|
||||
pHistMem CreateHistMemory(char *drivername);
|
||||
void DeleteHistMemory(void *self);
|
||||
pHistMem CreateHistMemory(char *drivername);
|
||||
void DeleteHistMemory(void *self);
|
||||
|
||||
#line 308 "histogram.w"
|
||||
|
||||
int HistGetOption(pHistMem self, char *name, char *result, int iResultLen);
|
||||
int HistSetOption(pHistMem self, char *name, char *value);
|
||||
int HistConfigure(pHistMem self, SConnection * pCon, SicsInterp * pSics);
|
||||
int HistGetOption(pHistMem self, char *name, char *result, int iResultLen);
|
||||
int HistSetOption(pHistMem self, char *name, char *value);
|
||||
int HistConfigure(pHistMem self, SConnection *pCon, SicsInterp *pSics);
|
||||
|
||||
#line 336 "histogram.w"
|
||||
|
||||
float GetHistPreset(pHistMem self);
|
||||
int SetHistPreset(pHistMem self, float fVal);
|
||||
CounterMode GetHistCountMode(pHistMem self);
|
||||
int SetHistCountMode(pHistMem self, CounterMode eNew);
|
||||
long GetHistMonitor(pHistMem self, int i, SConnection * pCon);
|
||||
const float *GetHistTimeBin(pHistMem self, int *iLength);
|
||||
int GetHistLength(pHistMem self);
|
||||
int GetHistDim(pHistMem self, int iDim[MAXDIM], int *nDim);
|
||||
float GetHistCountTime(pHistMem self, SConnection * pCon);
|
||||
int HistDoCount(pHistMem self, SConnection * pCon);
|
||||
int HistBlockCount(pHistMem self, SConnection * pCon);
|
||||
void HistDirty(pHistMem self);
|
||||
float GetHistPreset(pHistMem self);
|
||||
int SetHistPreset(pHistMem self, float fVal);
|
||||
CounterMode GetHistCountMode(pHistMem self);
|
||||
int SetHistCountMode(pHistMem self, CounterMode eNew);
|
||||
long GetHistMonitor(pHistMem self, int i, SConnection *pCon);
|
||||
const float *GetHistTimeBin(pHistMem self, int *iLength);
|
||||
int GetHistLength(pHistMem self);
|
||||
int GetHistDim(pHistMem self, int iDim[MAXDIM], int *nDim);
|
||||
float GetHistCountTime(pHistMem self,SConnection *pCon);
|
||||
int HistDoCount(pHistMem self, SConnection *pCon);
|
||||
int HistBlockCount(pHistMem self, SConnection *pCon);
|
||||
void HistDirty(pHistMem self);
|
||||
|
||||
int isSecondGen(pHistMem self);
|
||||
pHistMem FindHM(SicsInterp *pSics, char *name);
|
||||
|
||||
|
||||
#line 366 "histogram.w"
|
||||
#line 369 "histogram.w"
|
||||
|
||||
int SetHistogram(pHistMem self, SConnection * pCon,
|
||||
int i, int iStart, int iEnd, HistInt * lData);
|
||||
int GetHistogram(pHistMem self, SConnection * pCon,
|
||||
int i, int iStart, int iEnd, HistInt * lData,
|
||||
int iDataLen);
|
||||
HistInt *GetHistogramPointer(pHistMem self, SConnection * pCon);
|
||||
int GetHistogramDirect(pHistMem self, SConnection * pCon,
|
||||
int i, int iStart, int iEnd,
|
||||
HistInt * lData, int iDataLen);
|
||||
int PresetHistogram(pHistMem self, SConnection * pCon, HistInt lVal);
|
||||
int SetHistogram(pHistMem self, SConnection *pCon,
|
||||
int i,int iStart, int iEnd, HistInt *lData);
|
||||
int GetHistogram(pHistMem self, SConnection *pCon,
|
||||
int i,int iStart, int iEnd, HistInt *lData, int iDataLen);
|
||||
HistInt *GetHistogramPointer(pHistMem self,SConnection *pCon);
|
||||
int GetHistogramDirect(pHistMem self, SConnection *pCon,
|
||||
int i, int iStart, int iEnd,
|
||||
HistInt *lData, int iDataLen);
|
||||
int PresetHistogram(pHistMem self, SConnection *pCon, HistInt lVal);
|
||||
|
||||
#line 409 "histogram.w"
|
||||
#line 412 "histogram.w"
|
||||
|
||||
int MakeHistMemory(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int MakeHistMemory(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
int HistAction(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int HistAction(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
|
||||
|
||||
#line 462 "histogram.w"
|
||||
#line 465 "histogram.w"
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user