18 #define DRIVER_VERSION 1
19 #define DRIVER_REVISION 3
20 #define DRIVER_MODIFICATION 0
31 int maxBuffers,
size_t maxMemory,
32 int priority,
int stackSize);
34 virtual asynStatus writeInt8Array (asynUser *pasynUser, epicsInt8 *
value,
size_t nElements);
35 virtual asynStatus writeInt16Array(asynUser *pasynUser, epicsInt16 *
value,
size_t nElements);
36 virtual asynStatus writeInt32Array(asynUser *pasynUser, epicsInt32 *
value,
size_t nElements);
37 virtual asynStatus writeFloat32Array(asynUser *pasynUser, epicsFloat32 *
value,
size_t nElements);
38 virtual asynStatus writeFloat64Array(asynUser *pasynUser, epicsFloat64 *
value,
size_t nElements);
40 virtual void report (FILE *fp,
int details);
44 #define FIRST_NDSA_DRIVER_PARAM NDSA_CallbackMode_
54 #define LAST_NDSA_DRIVER_PARAM NDSA_ArrayData_
57 template <
typename epicsType> asynStatus writeXXXArray(asynUser *pasynUser,
void *pValue,
size_t nElements);
58 template <
typename epicsType,
typename NDArrayType>
void copyBuffer(
size_t nextElement,
size_t stride,
void *pValue,
size_t nElements);
59 template <
typename NDArrayType>
void fillBuffer(
double fillValueDouble);
61 void setArrayComplete();
67 #define NDSA_CallbackModeString "NDSA_CALLBACK_MODE"
68 #define NDSA_DoCallbacksString "NDSA_DO_CALLBACKS"
69 #define NDSA_AppendModeString "NDSA_APPEND_MODE"
70 #define NDSA_NumElementsString "NDSA_NUM_ELEMENTS"
71 #define NDSA_NextElementString "NDSA_NEXT_ELEMENT"
72 #define NDSA_StrideString "NDSA_STRIDE"
73 #define NDSA_FillValueString "NDSA_FILL_VALUE"
74 #define NDSA_NewArrayString "NDSA_NEW_ARRAY"
75 #define NDSA_ArrayCompleteString "NDSA_ARRAY_COMPLETE"
76 #define NDSA_ArrayDataString "NDSA_ARRAY_DATA"
78 #define NUM_NDSA_DRIVER_PARAMS ((int)(&LAST_NDSA_DRIVER_PARAM - &FIRST_NDSA_DRIVER_PARAM + 1))
#define ND_ARRAY_MAX_DIMS
NDArray.h.
Definition: NDArray.h:26
NDSA_CallbackMode_t
Definition: NDDriverStdArrays.h:22
@ NDSA_OnComplete
Definition: NDDriverStdArrays.h:24
@ NDSA_OnCommand
Definition: NDDriverStdArrays.h:25
@ NDSA_OnUpdate
Definition: NDDriverStdArrays.h:23
Class from which areaDetector drivers are directly derived.
Definition: ADDriver.h:132
virtual asynStatus writeInt32(asynUser *pasynUser, epicsInt32 value)
Sets an int32 parameter.
Definition: ADDriver.cpp:84
Definition: NDDriverStdArrays.h:28
int NDSA_NumElements_
Definition: NDDriverStdArrays.h:47
int NDSA_ArrayData_
Definition: NDDriverStdArrays.h:53
int NDSA_AppendMode_
Definition: NDDriverStdArrays.h:46
int NDSA_ArrayComplete_
Definition: NDDriverStdArrays.h:52
int NDSA_Stride_
Definition: NDDriverStdArrays.h:49
int NDSA_CallbackMode_
Definition: NDDriverStdArrays.h:43
int NDSA_NewArray_
Definition: NDDriverStdArrays.h:51
int NDSA_NextElement_
Definition: NDDriverStdArrays.h:48
int NDSA_DoCallbacks_
Definition: NDDriverStdArrays.h:45
int NDSA_FillValue_
Definition: NDDriverStdArrays.h:50
virtual void report(FILE *fp, int details)
Report status of the driver.
Definition: asynNDArrayDriver.cpp:753
list value
Definition: makeDbAndEdl.py:234
Structure returned by NDArray::getInfo.
Definition: NDArray.h:78