Files
sicspsi/nextrics.h
cvs 064ec37e9a - Rearranged directory structure for forking out ANSTO
- Refactored site specific stuff into a site module
- PSI specific stuff is now in the PSI directory.
- The old version has been tagged with pre-ansto
2003-06-20 10:18:47 +00:00

39 lines
1.2 KiB
C

/*----------------------------------------------------------------------------
N E X T R I C S
An object for writing NeXus data files for the four ciclre diffractometer
TRICS at PSI. Can be used as basis for writing files for other four
circles equiped with a PSD as well.
copyright: see copyright.h
Mark Koennecke, April 1998
------------------------------------------------------------------------------*/
#ifndef NEXTRICS
#define NEXTRICS
#include <danu.h>
typedef struct __NexTrics *pNexTrics;
/*----------------------------- live & death -----------------------------*/
pNexTrics CreateNexTrics(pDataNumber pNum, char *pRoot, char *pDict,
SicsInterp *pSics);
void DeleteNexTrics(void *pData);
int NexTricsFactory(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
/*----------------------------- interaction ------------------------------*/
int StartFile(pNexTrics self, SConnection *pCon);
int ReopenFile(pNexTrics self, char *filename);
int DumpFrame(pNexTrics self, SConnection *pCon);
int NexTricsAction(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
#endif