areaDetector  3-14
EPICS areaDetector framework
Classes | Macros | Enumerations | Functions
ADEuresys.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <epicsEvent.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <iocsh.h>
#include <cantProceed.h>
#include <epicsString.h>
#include <epicsExit.h>
#include <ADGenICam.h>
#include <EGrabber.h>
#include <epicsExport.h>
#include "ADEuresys.h"
#include "EuresysFeature.h"

Classes

class  myGrabber
 

Macros

#define DRIVER_VERSION   1
 
#define DRIVER_REVISION   0
 
#define DRIVER_MODIFICATION   0
 

Enumerations

enum  ESTimeStamp_t { TimeStampCamera , TimeStampEPICS }
 
enum  ESUniqueId_t { UniqueIdCamera , UniqueIdDriver }
 

Functions

int ADEuresysConfig (const char *portName, const char *cameraId, int numEGBuffers, size_t maxMemory, int priority, int stackSize)
 Configuration function to configure one camera. More...
 
 epicsExportRegistrar (ADEuresysRegister)
 

Macro Definition Documentation

◆ DRIVER_MODIFICATION

#define DRIVER_MODIFICATION   0

◆ DRIVER_REVISION

#define DRIVER_REVISION   0

◆ DRIVER_VERSION

#define DRIVER_VERSION   1

Enumeration Type Documentation

◆ ESTimeStamp_t

Enumerator
TimeStampCamera 
TimeStampEPICS 

◆ ESUniqueId_t

Enumerator
UniqueIdCamera 
UniqueIdDriver 

Function Documentation

◆ ADEuresysConfig()

int ADEuresysConfig ( const char *  portName,
const char *  cameraId,
int  numEGBuffers,
size_t  maxMemory,
int  priority,
int  stackSize 
)

Configuration function to configure one camera.

This function need to be called once for each camera to be used by the IOC. A call to this function instantiates one object from the ADEuresys class.

Parameters
[in]portNameasyn port name to assign to the camera.
[in]cameraIdA string identifying the camera to control.
[in]numEGBuffersThe number of buffers to allocate in EGrabber. If set to 0 or omitted the default of 100 will be used.
[in]maxMemoryMaximum memory (in bytes) that this driver is allowed to allocate. 0=unlimited.
[in]priorityThe EPICS thread priority for this driver. 0=use asyn default.
[in]stackSizeThe size of the stack for the EPICS port thread. 0=use asyn default.

◆ epicsExportRegistrar()

epicsExportRegistrar ( ADEuresysRegister  )