areaDetector  3-13
EPICS areaDetector framework
NDPluginTransform.h
Go to the documentation of this file.
1 #ifndef NDPluginTransform_H
2 #define NDPluginTransform_H
3 
4 #include "NDPluginDriver.h"
5 
8 #define NDPluginTransformTypeString "TRANSFORM_TYPE"
9 
10 static const char* pluginName = "NDPluginTransform";
11 
14 public:
15  NDPluginTransform(const char *portName, int queueSize, int blockingCallbacks,
16  const char *NDArrayPort, int NDArrayAddr,
17  int maxBuffers, size_t maxMemory,
18  int priority, int stackSize, int maxThreads=1);
19  /* These methods override the virtual methods in the base class */
20  void processCallbacks(NDArray *pArray);
21 
22 protected:
24  #define FIRST_TRANSFORM_PARAM NDPluginTransformType_
25 
26 private:
27  size_t userDims_[ND_ARRAY_MAX_DIMS];
28  void transformImage(NDArray *inArray, NDArray *outArray, NDArrayInfo_t *arrayInfo);
29 };
30 
31 #endif
#define ND_ARRAY_MAX_DIMS
NDArray.h.
Definition: NDArray.h:26
#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
Class from which actual plugin drivers are derived; derived from asynNDArrayDriver.
Definition: NDPluginDriver.h:57
virtual void processCallbacks(NDArray *pArray)=0
Perform transformations (rotations, flips) on NDArrays.
Definition: NDPluginTransform.h:13
int NDPluginTransformType_
Definition: NDPluginTransform.h:23
Structure returned by NDArray::getInfo.
Definition: NDArray.h:78