areaDetector  3-12-1
EPICS areaDetector framework
NDPluginColorConvert.h
Go to the documentation of this file.
1 #ifndef NDPluginColorConvert_H
2 #define NDPluginColorConvert_H
3 
4 #include <epicsTypes.h>
5 
6 #include "NDPluginDriver.h"
7 
8 #define NDPluginColorConvertColorModeOutString "COLOR_MODE_OUT" /* (NDColorMode_t r/w) Output color mode */
9 #define NDPluginColorConvertFalseColorString "FALSE_COLOR" /* (NDColorMode_t r/w) Output color mode */
10 
27 public:
28  NDPluginColorConvert(const char *portName, int queueSize, int blockingCallbacks,
29  const char *NDArrayPort, int NDArrayAddr,
30  int maxBuffers, size_t maxMemory,
31  int priority, int stackSize, int maxThreads);
32 
33  /* These methods override the virtual methods in the base class */
34  void processCallbacks(NDArray *pArray);
35 
36 protected:
38  #define FIRST_NDPLUGIN_COLOR_CONVERT_PARAM NDPluginColorConvertColorModeOut
40 
41 private:
42  /* These methods are just for this class */
43  template <typename epicsType> void convertColor(NDArray *pArray);
44 };
45 
46 #endif
Class from which actual plugin drivers are derived; derived from asynNDArrayDriver.
Definition: NDPluginDriver.h:58
int NDPluginColorConvertFalseColor
Definition: NDPluginColorConvert.h:39
Convert NDArrays from one NDColorMode to another.
Definition: NDPluginColorConvert.h:26
virtual void processCallbacks(NDArray *pArray)=0
#define NDPLUGIN_API
Definition: NDPluginAPI.h:41
int NDPluginColorConvertColorModeOut
Definition: NDPluginColorConvert.h:37
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition: NDArray.h:94