30 #ifndef NDPosPluginAPP_SRC_NDPosPlugin_H_ 31 #define NDPosPluginAPP_SRC_NDPOSPLUGIN_H_ 33 #include <epicsTypes.h> 40 #define str_NDPos_Filename "NDPos_Filename" 41 #define str_NDPos_FileValid "NDPos_FileValid" 42 #define str_NDPos_Clear "NDPos_Clear" 43 #define str_NDPos_Running "NDPos_Running" 44 #define str_NDPos_Restart "NDPos_Restart" 45 #define str_NDPos_Delete "NDPos_Delete" 46 #define str_NDPos_Mode "NDPos_Mode" 47 #define str_NDPos_Append "NDPos_Append" 48 #define str_NDPos_CurrentQty "NDPos_CurrentQty" 49 #define str_NDPos_CurrentIndex "NDPos_CurrentIndex" 50 #define str_NDPos_CurrentPos "NDPos_CurrentPos" 51 #define str_NDPos_MissingFrames "NDPos_MissingFrames" 52 #define str_NDPos_DuplicateFrames "NDPos_DuplicateFrames" 53 #define str_NDPos_ExpectedID "NDPos_ExpectedID" 54 #define str_NDPos_IDName "NDPos_IDName" 55 #define str_NDPos_IDDifference "NDPos_IDDifference" 56 #define str_NDPos_IDStart "NDPos_IDStart" 58 #define MODE_DISCARD 0 62 #define NDPOS_RUNNING 1 70 int blockingCallbacks,
71 const char *NDArrayPort,
81 asynStatus
writeOctet(asynUser *pasynUser,
const char *
value,
size_t nChars,
size_t *nActual);
86 #define FIRST_NDPOS_PARAM NDPos_Filename 106 std::list<std::map<std::string, double> > positionArray;
Class from which actual plugin drivers are derived; derived from asynNDArrayDriver.
Definition: NDPluginDriver.h:56
void processCallbacks(NDArray *pArray)
Callback function that is called by the NDArray driver with new NDArray data.
Definition: NDPosPlugin.cpp:36
int NDPos_CurrentIndex
Definition: NDPosPlugin.h:95
asynStatus writeOctet(asynUser *pasynUser, const char *value, size_t nChars, size_t *nActual)
Called when asyn clients call pasynOctet->write().
Definition: NDPosPlugin.cpp:289
int NDPos_Append
Definition: NDPosPlugin.h:93
int NDPos_DuplicateFrames
Definition: NDPosPlugin.h:97
int NDPos_IDStart
Definition: NDPosPlugin.h:102
int NDPos_Filename
Definition: NDPosPlugin.h:85
list value
Definition: makeDbAndEdl.py:234
int NDPos_IDDifference
Definition: NDPosPlugin.h:101
int NDPos_Clear
Definition: NDPosPlugin.h:88
NDPosPlugin(const char *portName, int queueSize, int blockingCallbacks, const char *NDArrayPort, int NDArrayAddr, int maxBuffers, size_t maxMemory, int priority, int stackSize)
Constructor for the NDPosPlugin class.
Definition: NDPosPlugin.cpp:361
char * portName
The name of this asyn port.
Definition: asynPortDriver.h:179
asynStatus writeInt32(asynUser *pasynUser, epicsInt32 value)
Sets an int32 parameter.
Definition: NDPosPlugin.cpp:220
int NDPos_Restart
Definition: NDPosPlugin.h:90
int NDPos_ExpectedID
Definition: NDPosPlugin.h:99
virtual ~NDPosPlugin()
Definition: NDPosPlugin.cpp:439
int NDPos_IDName
Definition: NDPosPlugin.h:100
int NDPos_Mode
Definition: NDPosPlugin.h:92
int NDPos_Delete
Definition: NDPosPlugin.h:91
int NDPos_FileValid
Definition: NDPosPlugin.h:87
int NDPos_MissingFrames
Definition: NDPosPlugin.h:98
int NDPos_CurrentQty
Definition: NDPosPlugin.h:94
int NDPos_Running
Definition: NDPosPlugin.h:89
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition: NDArray.h:92
Definition: NDPosPlugin.h:64
int NDPos_CurrentPos
Definition: NDPosPlugin.h:96