quadEM  7-0
NDPluginScatter.h
Go to the documentation of this file.
1 #ifndef NDPluginScatter_H
2 #define NDPluginScatter_H
3 
4 #include "NDPluginDriver.h"
5 
6 /* General parameters */
7 #define NDPluginScatterMethodString "SCATTER_METHOD" /* (asynInt32, r/w) Algorithm for scatter */
8 
11 public:
12  NDPluginScatter(const char *portName, int queueSize, int blockingCallbacks,
13  const char *NDArrayPort, int NDArrayAddr,
14  int maxBuffers, size_t maxMemory,
15  int priority, int stackSize);
16  /* These methods override the virtual methods in the base class */
17  void processCallbacks(NDArray *pArray);
18 
19 protected:
21  #define FIRST_NDPLUGIN_SCATTER_PARAM NDPluginScatterMethod
22 
23 private:
24  int nextClient_;
25  asynStatus doNDArrayCallbacks(NDArray *pArray, int reason, int addr);
26 };
27 
28 #endif
Class from which actual plugin drivers are derived; derived from asynNDArrayDriver.
Definition: NDPluginDriver.h:58
A plugin that does callbacks in round-robin fashion rather than passing every NDArray to every callba...
Definition: NDPluginScatter.h:10
int NDPluginScatterMethod
Definition: NDPluginScatter.h:20
virtual void processCallbacks(NDArray *pArray)=0
#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:93