|
| 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 | writeInt32 (asynUser *pasynUser, epicsInt32 value) |
| Sets an int32 parameter. 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...
|
|
| 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 void | report (FILE *fp, int details) |
| Report status of the driver. 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 () |
|
Class from which areaDetector drivers are directly derived.
asynStatus ADDriver::connect |
( |
asynUser * |
pasynUser | ) |
|
|
virtual |
Connects driver to device; This method is called when the driver's pasynCommon->connect() function is called.
It uses the class variable deviceIsReachable to determine whether to call asynPortDriver::connect(), which in turn calls pasynManager::exceptionConnect() to signal that the driver is connected to the underlying hardware. Derived classes can override this method if they need to handle connect() calls in a more complex way. For example, with a network camera that can be temporarily unreachable the driver could attempt to connect to the camera each time that connect() is called.
- Parameters
-
[in] | pasynUser | The pasynUser structure which contains information about the port and address |
Reimplemented in ADPylon, prosilica, and FastCCD.
void ADDriver::setShutter |
( |
int |
open | ) |
|
|
virtual |
Set the shutter position.
This method will open (1) or close (0) the shutter if ADShutterMode==ADShutterModeEPICS. Drivers will implement setShutter if they support ADShutterModeDetector. If ADShutterMode=ADShutterModeDetector they will control the shutter directly, else they will call this method.
- Parameters
-
[in] | open | 1 (open) or 0 (closed) |
Reimplemented in simDetector, roper, xcamCamera, marCCD, mar345, LightField, and BISDetector.
asynStatus ADDriver::writeInt32 |
( |
asynUser * |
pasynUser, |
|
|
epicsInt32 |
value |
|
) |
| |
|
virtual |
Sets an int32 parameter.
- Parameters
-
[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 asynNDArrayDriver.
Reimplemented in SpecsAnalyser, pvaDriver, NDDriverStdArrays, FirewireDCAM, aravisCamera, URLDriver, ADTimePix, simDetector, roper, xcamCamera, QImage, ADPvCam, PSL, prosilica, pointGrey, pixirad, pilatusDetector, ADPICam, PhotonII, PerkinElmer, ADnED, mythen, merlinDetector, marCCD, mar345, LightField, ADLambda, ADGenICam, FirewireWinDCAM, FastCCD, ADEuresys, eigerDetector, Dexela, BISDetector, ADAravis, andor3, AndorCCD, and adsc.