1 #ifndef NDPluginStdArrays_H
2 #define NDPluginStdArrays_H
6 #define NDPluginStdArraysDataString "STD_ARRAY_DATA"
15 const char *NDArrayPort,
int NDArrayAddr,
int maxBuffers,
size_t maxMemory,
16 int priority,
int stackSize,
int maxThreads=1);
20 virtual asynStatus readInt8Array(asynUser *pasynUser, epicsInt8 *
value,
21 size_t nElements,
size_t *nIn);
22 virtual asynStatus readInt16Array(asynUser *pasynUser, epicsInt16 *
value,
23 size_t nElements,
size_t *nIn);
25 size_t nElements,
size_t *nIn);
26 virtual asynStatus readInt64Array(asynUser *pasynUser, epicsInt64 *
value,
27 size_t nElements,
size_t *nIn);
28 virtual asynStatus readFloat32Array(asynUser *pasynUser, epicsFloat32 *
value,
29 size_t nElements,
size_t *nIn);
30 virtual asynStatus readFloat64Array(asynUser *pasynUser, epicsFloat64 *
value,
31 size_t nElements,
size_t *nIn);
34 #define FIRST_NDPLUGIN_STDARRAYS_PARAM NDPluginStdArraysData
37 template <
typename epicsType> asynStatus readArray(asynUser *pasynUser, epicsType *
value,
39 template <
typename epicsType,
typename interruptType>
void arrayInterruptCallback(
NDArray *pArray,
41 void *interruptPvt,
int *initialized,
NDDataType_t signedType,
bool *wasThrottled);
NDDataType_t
Enumeration of NDArray data types.
Definition: NDAttribute.h:30
#define NDPLUGIN_API
Definition: NDPluginAPI.h:41
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition: NDArray.h:99
The NDArrayPool class manages a free list (pool) of NDArray objects.
Definition: NDArray.h:168
Class from which actual plugin drivers are derived; derived from asynNDArrayDriver.
Definition: NDPluginDriver.h:57
virtual void processCallbacks(NDArray *pArray)=0
virtual asynStatus readInt32Array(asynUser *pasynUser, epicsInt32 *value, size_t nElements, size_t *nIn)
Called when asyn clients call pasynInt32Array->read().
Definition: NDPluginDriver.cpp:849
Converts NDArray callback data into standard asyn arrays (asynInt8Array, asynInt16Array,...
Definition: NDPluginStdArrays.h:12
int NDPluginStdArraysData
Definition: NDPluginStdArrays.h:33
list value
Definition: makeDbAndEdl.py:234