areaDetector
3-14
EPICS areaDetector framework
|
#include <QImaging.h>
Public Member Functions | |
QImage (const char *portName, const char *model, NDDataType_t dataType, int numbuffs, int debug, int maxBuffers, size_t maxMemory, int priority, int stackSize) | |
QImage::QImage Class constructor. More... | |
virtual asynStatus | writeInt32 (asynUser *pasynUser, epicsInt32 value) |
QImage::writeInt32: Called when asyn clients call pasynInt32->write(). More... | |
virtual asynStatus | writeFloat64 (asynUser *pasynUser, epicsFloat64 value) |
QImage::writeFloat64: Called when asyn clients call pasynFloat64->write(). More... | |
virtual void | report (FILE *fp, int details) |
QImage::report. More... | |
virtual asynStatus | readEnum (asynUser *pasynUser, char *strings[], int values[], int severities[], size_t nElements, size_t *nIn) |
QImage::readEnum: Adds frame data type and color mode to enums. More... | |
void | consumerTask () |
QImage::consumerTask: Thread function to accept new frames from the detector and push them down the pipeline. More... | |
void | frameTask () |
QImage::frameTask: Thread function for generating software triggers for the detector. More... | |
void | shutdown () |
QImage::shutdown: Function called at IOC exit. More... | |
void | pushCollectedFrame (int id) |
QImage::pushCollectedFrame: Pushes an aquired frame to a queue to be proecssed by consumer thread. More... | |
void | setExposureDone () |
QImage::setExposureDone: Call signal when exposure happened on the detector. More... | |
Public Member Functions inherited from ADDriver | |
ADDriver (const char *portName, int maxAddr, int numParams, int maxBuffers, size_t maxMemory, int interfaceMask, int interruptMask, int asynFlags, int autoConnect, int priority, int stackSize) | |
All of the arguments are simply passed to the constructor for the asynNDArrayDriver base class, except numParams. More... | |
virtual asynStatus | connect (asynUser *pasynUser) |
Connects driver to device; This method is called when the driver's pasynCommon->connect() function is called. More... | |
virtual void | setShutter (int open) |
Set the shutter position. More... | |
Public Member Functions inherited from asynNDArrayDriver | |
asynNDArrayDriver (const char *portName, int maxAddr, int maxBuffers, size_t maxMemory, int interfaceMask, int interruptMask, int asynFlags, int autoConnect, int priority, int stackSize) | |
This is the constructor for the asynNDArrayDriver class. More... | |
virtual | ~asynNDArrayDriver () |
virtual asynStatus | writeOctet (asynUser *pasynUser, const char *value, size_t maxChars, size_t *nActual) |
Called when asyn clients call pasynOctet->write(). More... | |
virtual asynStatus | readGenericPointer (asynUser *pasynUser, void *genericPointer) |
This method copies an NDArray object from the asynNDArrayDriver to an NDArray pointer passed in by the caller. More... | |
virtual asynStatus | writeGenericPointer (asynUser *pasynUser, void *genericPointer) |
This method currently does nothing, but it should be implemented in this base class. More... | |
virtual asynStatus | setIntegerParam (int index, int value) |
Sets the value for an integer in the parameter library. More... | |
virtual asynStatus | setIntegerParam (int list, int index, int value) |
Sets the value for an integer in the parameter library. More... | |
virtual asynStatus | createFilePath (const char *path, int pathDepth) |
Function to create a directory path for a file. More... | |
virtual asynStatus | checkPath () |
Checks whether the directory specified NDFilePath parameter exists. More... | |
virtual bool | checkPath (std::string &filePath) |
Checks whether the directory specified exists. More... | |
virtual asynStatus | createFileName (int maxChars, char *fullFileName) |
Build a file name from component parts. More... | |
virtual asynStatus | createFileName (int maxChars, char *filePath, char *fileName) |
Build a file name from component parts. More... | |
virtual asynStatus | readNDAttributesFile () |
Create this driver's NDAttributeList (pAttributeList) by reading an XML file This clears any existing attributes from this drivers' NDAttributeList and then creates a new list based on the XML file. More... | |
virtual asynStatus | getAttributes (NDAttributeList *pAttributeList) |
Get the current values of attributes from this driver and appends them to an output attribute list. More... | |
virtual void | updateTimeStamps (NDArray *pArray) |
asynStatus | incrementQueuedArrayCount () |
asynStatus | decrementQueuedArrayCount () |
int | getQueuedArrayCount () |
void | updateQueuedArrayCount () |
Friends | |
void QCAMAPI | QImageCallback (void *usrPtr, unsigned long frameId, QCam_Err errorcode, unsigned long flags) |
Callback function from the detector when a frame or exposure occur. More... | |
Additional Inherited Members | |
Public Attributes inherited from asynNDArrayDriver | |
class NDArrayPool * | pNDArrayPool |
An NDArrayPool pointer that is initialized to pNDArrayPoolPvt_ in the constructor. More... | |
QImage::QImage | ( | const char * | portName, |
const char * | model, | ||
NDDataType_t | ndDataType, | ||
int | numbuffs, | ||
int | debug, | ||
int | maxBuffers, | ||
size_t | maxMemory, | ||
int | priority, | ||
int | stackSize | ||
) |
QImage::QImage Class constructor.
portName | The name of the asyn port driver to be created. |
model | Camera Model name |
ndDataType | The initial data type (NDDataType_t) of the images that this driver will create. |
numbuffs | The number of frames to hold in the circular buffer. |
debug | Debug mode |
maxBuffers | The maximum number of NDArray buffers that the NDArrayPool for this driver is allowed to allocate. Set this to -1 to allow an unlimited number of buffers. |
maxMemory | The maximum amount of memory that the NDArrayPool for this driver is allowed to allocate. Set this to -1 to allow an unlimited amount of memory. |
priority | The thread priority for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags. |
stackSize | The stack size for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags. |
void QImage::consumerTask | ( | ) |
QImage::consumerTask: Thread function to accept new frames from the detector and push them down the pipeline.
void QImage::frameTask | ( | ) |
QImage::frameTask: Thread function for generating software triggers for the detector.
void QImage::pushCollectedFrame | ( | int | id | ) |
QImage::pushCollectedFrame: Pushes an aquired frame to a queue to be proecssed by consumer thread.
id |
|
virtual |
QImage::readEnum: Adds frame data type and color mode to enums.
pasynUser | |
strings | |
values | |
severities | |
nElements | |
nIn |
|
virtual |
void QImage::setExposureDone | ( | ) |
QImage::setExposureDone: Call signal when exposure happened on the detector.
void QImage::shutdown | ( | void | ) |
QImage::shutdown: Function called at IOC exit.
|
virtual |
QImage::writeFloat64: Called when asyn clients call pasynFloat64->write().
This function performs actions for some parameters, including ADAcquireTime, ADGain, etc. For all parameters it sets the value in the parameter library and calls any registered callbacks.
pasynUser | Structure that encodes the reason and address. |
value | Value to write. |
|
virtual |
QImage::writeInt32: Called when asyn clients call pasynInt32->write().
This function performs actions for some parameters, including ADAcquire, ADColorMode, etc. For all parameters it sets the value in the parameter library and calls any registered callbacks.
pasynUser | Structure that encodes the reason and address. |
value | Value to write |
Reimplemented from ADDriver.
|
friend |
Callback function from the detector when a frame or exposure occur.
usrPtr | QImage class pointer |
frameId | |
errorcode | |
flags |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |