areaDetector  3-14
EPICS areaDetector framework
Classes | Macros | Enumerations | Functions
eigerDetector.cpp File Reference
#include <epicsExport.h>
#include <epicsThread.h>
#include <epicsMessageQueue.h>
#include <iocsh.h>
#include <string.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 HAVE_EXTG_FIRMWARE   1
 
#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)
const char * driverName
Definition: ADTimePix.cpp:73

◆ ERR_ARGS

#define ERR_ARGS (   fmt,
  ... 
)
Value:
asynPrint(pasynUserSelf, ASYN_TRACE_ERROR, \
"%s::%s: " fmt "\n", driverName, functionName, __VA_ARGS__);
Pylon::EPixelType fmt
Definition: ADPylon.cpp:58

◆ 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__);

◆ HAVE_EXTG_FIRMWARE

#define HAVE_EXTG_FIRMWARE   1

◆ 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  )