2#ifndef NDPluginAttribute_H
3#define NDPluginAttribute_H
10#define NDPluginAttributeAttrNameString "ATTR_ATTRNAME"
11#define NDPluginAttributeResetString "ATTR_RESET"
12#define NDPluginAttributeValString "ATTR_VAL"
13#define NDPluginAttributeValSumString "ATTR_VAL_SUM"
19 const char *NDArrayPort,
int NDArrayAddr,
int maxAttributes,
20 int maxBuffers,
size_t maxMemory,
21 int priority,
int stackSize);
24 asynStatus
writeInt32(asynUser *pasynUser, epicsInt32 value);
28 #define FIRST_NDPLUGIN_ATTR_PARAM NDPluginAttributeAttrName
35 void doTimeSeriesCallbacks(
NDArray *pArray);
36 static const epicsInt32 MAX_ATTR_NAME_;
37 static const char* UNIQUE_ID_NAME_;
38 static const char* TIMESTAMP_NAME_;
39 static const char* EPICS_TS_SEC_NAME_;
40 static const char* EPICS_TS_NSEC_NAME_;
#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
Extract an Attribute from an NDArray and publish the value (and array of values) over channel access.
Definition NDPluginAttribute.h:16
int NDPluginAttributeReset
Definition NDPluginAttribute.h:29
int NDPluginAttributeValSum
Definition NDPluginAttribute.h:31
int NDPluginAttributeAttrName
Definition NDPluginAttribute.h:27
int NDPluginAttributeVal
Definition NDPluginAttribute.h:30
Class from which actual plugin drivers are derived; derived from asynNDArrayDriver.
Definition NDPluginDriver.h:57
virtual asynStatus writeInt32(asynUser *pasynUser, epicsInt32 value)
Called when asyn clients call pasynInt32->write().
Definition NDPluginDriver.cpp:678
virtual void processCallbacks(NDArray *pArray)=0