areaDetector  3-5-0
EPICS areaDetector framework
Classes | Macros | Enumerations | Functions
eigerDetector.cpp File Reference
#include <epicsExport.h>
#include <epicsThread.h>
#include <epicsMessageQueue.h>
#include <iocsh.h>
#include <math.h>
#include <sys/fsuid.h>
#include <sys/stat.h>
#include <pwd.h>
#include <grp.h>
#include <fcntl.h>
#include <limits>
#include <hdf5.h>
#include <hdf5_hl.h>
#include "ADDriver.h"
#include "eigerDetector.h"
#include "restApi.h"
#include "streamApi.h"

Classes

struct  acquisition_t
 
struct  file_t
 
struct  stream_worker_t
 
struct  stream_job_t
 

Macros

#define MAX_BUF_SIZE   256
 
#define DEFAULT_NR_START   1
 
#define DEFAULT_QUEUE_CAPACITY   2
 
#define MX_PARAM_EPSILON   0.0001
 
#define ENERGY_EPSILON   0.05
 
#define WAVELENGTH_EPSILON   0.0005
 
#define ERR(msg)
 
#define ERR_ARGS(fmt, ...)
 
#define FLOW(msg)
 
#define FLOW_ARGS(fmt, ...)
 

Enumerations

enum  data_source { SOURCE_NONE, SOURCE_FILEWRITER, SOURCE_STREAM }
 

Functions

int eigerDetectorConfig (const char *portName, const char *serverPort, int maxBuffers, size_t maxMemory, int priority, int stackSize)
 
 epicsExportRegistrar (eigerDetectorRegister)
 

Macro Definition Documentation

◆ DEFAULT_NR_START

#define DEFAULT_NR_START   1

◆ DEFAULT_QUEUE_CAPACITY

#define DEFAULT_QUEUE_CAPACITY   2

◆ ENERGY_EPSILON

#define ENERGY_EPSILON   0.05

◆ ERR

#define ERR (   msg)
Value:
asynPrint(pasynUserSelf, ASYN_TRACE_ERROR, "%s::%s: %s\n", \
driverName, functionName, msg)

◆ ERR_ARGS

#define ERR_ARGS (   fmt,
  ... 
)
Value:
asynPrint(pasynUserSelf, ASYN_TRACE_ERROR, \
"%s::%s: "fmt"\n", driverName, functionName, __VA_ARGS__);

◆ FLOW

#define FLOW (   msg)
Value:
asynPrint(pasynUserSelf, ASYN_TRACE_FLOW, "%s::%s: %s\n", \
driverName, functionName, msg)

◆ FLOW_ARGS

#define FLOW_ARGS (   fmt,
  ... 
)
Value:
asynPrint(pasynUserSelf, ASYN_TRACE_FLOW, \
"%s::%s: "fmt"\n", driverName, functionName, __VA_ARGS__);

◆ MAX_BUF_SIZE

#define MAX_BUF_SIZE   256

◆ MX_PARAM_EPSILON

#define MX_PARAM_EPSILON   0.0001

◆ WAVELENGTH_EPSILON

#define WAVELENGTH_EPSILON   0.0005

Enumeration Type Documentation

◆ data_source

Enumerator
SOURCE_NONE 
SOURCE_FILEWRITER 
SOURCE_STREAM 

Function Documentation

◆ eigerDetectorConfig()

int eigerDetectorConfig ( const char *  portName,
const char *  serverPort,
int  maxBuffers,
size_t  maxMemory,
int  priority,
int  stackSize 
)

◆ epicsExportRegistrar()

epicsExportRegistrar ( eigerDetectorRegister  )