|
areaDetector 3-14
EPICS areaDetector framework
|
#include <ADTimePix.h>
Public Member Functions | |
| ADTimePix (const char *portName, const char *serial, int maxBuffers, size_t maxMemory, int priority, int stackSize) | |
| virtual asynStatus | writeOctet (asynUser *pasynUser, const char *value, size_t nChars, size_t *nActual) |
| Called when asyn clients call pasynOctet->write(). | |
| virtual asynStatus | writeInt32 (asynUser *pasynUser, epicsInt32 value) |
| Sets an int32 parameter. | |
| virtual asynStatus | writeFloat64 (asynUser *pasynUser, epicsFloat64 value) |
| asynStatus | rotateLayout () |
| Write detector Layout. | |
| virtual asynStatus | readInt32Array (asynUser *pasynUser, epicsInt32 *value, size_t nElements, size_t *nIn) |
| asynStatus | maskReset (epicsInt32 *buf, int OnOff) |
| asynStatus | maskRectangle (epicsInt32 *buf, int nX, int nXsize, int nY, int nYsize, int OnOff) |
| asynStatus | maskCircle (epicsInt32 *buf, int nX, int nY, int nRadius, int OnOff) |
| asynStatus | readBPCfile (char **buf, int *bufSize) |
| asynStatus | writeBPCfile (char **buf, int *bufSize) |
| asynStatus | mask2DtoBPC (int *buf, char *bufBPC) |
| void | timePixCallback () |
| ~ADTimePix () | |
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. | |
| virtual asynStatus | connect (asynUser *pasynUser) |
| Connects driver to device; This method is called when the driver's pasynCommon->connect() function is called. | |
| virtual void | setShutter (int open) |
| Set the shutter position. | |
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. | |
| virtual | ~asynNDArrayDriver () |
| 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. | |
| virtual asynStatus | writeGenericPointer (asynUser *pasynUser, void *genericPointer) |
| This method currently does nothing, but it should be implemented in this base class. | |
| virtual asynStatus | setIntegerParam (int index, int value) |
| Sets the value for an integer in the parameter library. | |
| virtual asynStatus | setIntegerParam (int list, int index, int value) |
| Sets the value for an integer in the parameter library. | |
| virtual asynStatus | createFilePath (const char *path, int pathDepth) |
| Function to create a directory path for a file. | |
| virtual asynStatus | checkPath () |
| Checks whether the directory specified NDFilePath parameter exists. | |
| virtual asynStatus | createFileName (int maxChars, char *fullFileName) |
| Build a file name from component parts. | |
| virtual asynStatus | createFileName (int maxChars, char *filePath, char *fileName) |
| Build a file name from component parts. | |
| 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. | |
| virtual asynStatus | getAttributes (NDAttributeList *pAttributeList) |
| Get the current values of attributes from this driver and appends them to an output attribute list. | |
| virtual void | updateTimeStamps (NDArray *pArray) |
| asynStatus | incrementQueuedArrayCount () |
| asynStatus | decrementQueuedArrayCount () |
| int | getQueuedArrayCount () |
| void | updateQueuedArrayCount () |
Additional Inherited Members | |
Public Attributes inherited from asynNDArrayDriver | |
| class NDArrayPool * | pNDArrayPool |
| An NDArrayPool pointer that is initialized to pNDArrayPoolPvt_ in the constructor. | |
| ADTimePix::ADTimePix | ( | const char * | portName, |
| const char * | serial, | ||
| int | maxBuffers, | ||
| size_t | maxMemory, | ||
| int | priority, | ||
| int | stackSize | ||
| ) |
| ADTimePix::~ADTimePix | ( | ) |
| asynStatus ADTimePix::mask2DtoBPC | ( | int * | buf, |
| char * | bufBPC | ||
| ) |
| asynStatus ADTimePix::maskCircle | ( | epicsInt32 * | buf, |
| int | nX, | ||
| int | nY, | ||
| int | nRadius, | ||
| int | OnOff | ||
| ) |
| asynStatus ADTimePix::maskRectangle | ( | epicsInt32 * | buf, |
| int | nX, | ||
| int | nXsize, | ||
| int | nY, | ||
| int | nYsize, | ||
| int | OnOff | ||
| ) |
| asynStatus ADTimePix::maskReset | ( | epicsInt32 * | buf, |
| int | OnOff | ||
| ) |
| asynStatus ADTimePix::readBPCfile | ( | char ** | buf, |
| int * | bufSize | ||
| ) |
|
virtual |
| asynStatus ADTimePix::rotateLayout | ( | ) |
Write detector Layout.
There are eight possible orientations of the detector The function rotates detector consistent with Serval URL. /detector/Layout/DetectorOrientation: only reports orientation Use: GET <server>/detector/layout/rotate?reset=true flip: horizontal, vertical direction: left, right, 180/half reset: Not applicable Example: /detector/layout/rotate?reset=true&direction=right&flip=horizontal
| void ADTimePix::timePixCallback | ( | ) |
| asynStatus ADTimePix::writeBPCfile | ( | char ** | buf, |
| int * | bufSize | ||
| ) |
|
virtual |
|
virtual |
Sets an int32 parameter.
| [in] | pasynUser | asynUser structure that contains the function code in pasynUser->reason. |
| [in] | value | The value for this parameter |
Takes action if the function code requires it. Currently only ADShutterControl requires action here. This method is normally called from the writeInt32 method in derived classes, which should set the value of the parameter in the parameter library.
Reimplemented from ADDriver.
|
virtual |
Called when asyn clients call pasynOctet->write().
This function performs actions for some parameters, including BPC, and Chips/DACS. For all parameters it sets the value in the parameter library and calls any registered callbacks..
| [in] | pasynUser | pasynUser structure that encodes the reason and address. |
| [in] | value | Address of the string to write. |
| [in] | nChars | Number of characters to write. |
| [out] | nActual | Number of characters actually written. |
Reimplemented from asynNDArrayDriver.
|
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 |
|
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 |
|
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 |
|
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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |