1 #ifndef NDPluginOverlay_H 2 #define NDPluginOverlay_H 48 #define NDPluginOverlayMaxSizeXString "MAX_SIZE_X" 49 #define NDPluginOverlayMaxSizeYString "MAX_SIZE_Y" 50 #define NDPluginOverlayNameString "NAME" 51 #define NDPluginOverlayUseString "USE" 52 #define NDPluginOverlayPositionXString "OVERLAY_POSITION_X" 53 #define NDPluginOverlayPositionYString "OVERLAY_POSITION_Y" 54 #define NDPluginOverlayCenterXString "OVERLAY_CENTER_X" 55 #define NDPluginOverlayCenterYString "OVERLAY_CENTER_Y" 56 #define NDPluginOverlaySizeXString "OVERLAY_SIZE_X" 57 #define NDPluginOverlaySizeYString "OVERLAY_SIZE_Y" 58 #define NDPluginOverlayWidthXString "OVERLAY_WIDTH_X" 59 #define NDPluginOverlayWidthYString "OVERLAY_WIDTH_Y" 60 #define NDPluginOverlayShapeString "OVERLAY_SHAPE" 61 #define NDPluginOverlayDrawModeString "OVERLAY_DRAW_MODE" 62 #define NDPluginOverlayRedString "OVERLAY_RED" 63 #define NDPluginOverlayGreenString "OVERLAY_GREEN" 64 #define NDPluginOverlayBlueString "OVERLAY_BLUE" 65 #define NDPluginOverlayTimeStampFormatString "OVERLAY_TIMESTAMP_FORMAT" 66 #define NDPluginOverlayFontString "OVERLAY_FONT" 67 #define NDPluginOverlayDisplayTextString "OVERLAY_DISPLAY_TEXT" 72 NDPluginOverlay(
const char *portName,
int queueSize,
int blockingCallbacks,
73 const char *NDArrayPort,
int NDArrayAddr,
int maxOverlays,
74 int maxBuffers,
size_t maxMemory,
75 int priority,
int stackSize,
int maxThreads);
82 #define FIRST_NDPLUGIN_OVERLAY_PARAM NDPluginOverlayMaxSizeX 106 std::vector<NDOverlay_t> prevOverlays_;
Class from which actual plugin drivers are derived; derived from asynNDArrayDriver.
Definition: NDPluginDriver.h:56
int NDPluginOverlayUse
Definition: NDPluginOverlay.h:85
NDOverlayDrawMode_t
Definition: NDPluginOverlay.h:15
bool changed
Definition: NDPluginOverlay.h:22
std::vector< int > addressOffset
Definition: NDPluginOverlay.h:21
int NDPluginOverlayCenterX
Definition: NDPluginOverlay.h:88
int NDPluginOverlaySizeY
Definition: NDPluginOverlay.h:91
virtual asynStatus writeInt32(asynUser *pasynUser, epicsInt32 value)
Called when asyn clients call pasynInt32->write().
Definition: NDPluginDriver.cpp:684
Definition: NDPluginOverlay.h:20
int NDPluginOverlayRed
Definition: NDPluginOverlay.h:96
int PositionX
Definition: NDPluginOverlay.h:30
int NDPluginOverlayMaxSizeY
Definition: NDPluginOverlay.h:83
Definition: NDPluginOverlay.h:11
Structure returned by NDArray::getInfo.
Definition: NDArray.h:71
int PositionY
Definition: NDPluginOverlay.h:31
NDOverlayDrawMode_t drawMode
Definition: NDPluginOverlay.h:37
int NDPluginOverlayWidthY
Definition: NDPluginOverlay.h:93
Definition: NDPluginOverlay.h:10
int red
Definition: NDPluginOverlay.h:38
int NDPluginOverlayMaxSizeX
Definition: NDPluginOverlay.h:81
list value
Definition: makeDbAndEdl.py:234
int NDPluginOverlayPositionX
Definition: NDPluginOverlay.h:86
int NDPluginOverlayTimeStampFormat
Definition: NDPluginOverlay.h:99
int NDPluginOverlayShape
Definition: NDPluginOverlay.h:94
Structure defining an overlay.
Definition: NDPluginOverlay.h:28
int NDPluginOverlayName
Definition: NDPluginOverlay.h:84
int NDPluginOverlayCenterY
Definition: NDPluginOverlay.h:89
int blue
Definition: NDPluginOverlay.h:40
int NDPluginOverlayGreen
Definition: NDPluginOverlay.h:97
int NDPluginOverlaySizeX
Definition: NDPluginOverlay.h:90
int use
Definition: NDPluginOverlay.h:29
int WidthX
Definition: NDPluginOverlay.h:34
Definition: NDPluginOverlay.h:17
int NDPluginOverlayDisplayText
Definition: NDPluginOverlay.h:101
int WidthY
Definition: NDPluginOverlay.h:35
bool freezePositionX
Definition: NDPluginOverlay.h:23
int SizeY
Definition: NDPluginOverlay.h:33
int NDPluginOverlayDrawMode
Definition: NDPluginOverlay.h:95
Definition: NDPluginOverlay.h:12
int green
Definition: NDPluginOverlay.h:39
virtual void processCallbacks(NDArray *pArray)=0
char TimeStampFormat[64]
Definition: NDPluginOverlay.h:41
bool freezePositionY
Definition: NDPluginOverlay.h:24
Overlay graphics on top of an image.
Definition: NDPluginOverlay.h:70
int NDPluginOverlayWidthX
Definition: NDPluginOverlay.h:92
NDOverlayPvt_t pvt
Definition: NDPluginOverlay.h:44
NDOverlayShape_t
Definition: NDPluginOverlay.h:8
NDOverlayShape_t shape
Definition: NDPluginOverlay.h:36
struct NDOverlay NDOverlay_t
Structure defining an overlay.
int Font
Definition: NDPluginOverlay.h:42
int SizeX
Definition: NDPluginOverlay.h:32
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition: NDArray.h:92
char DisplayText[256]
Definition: NDPluginOverlay.h:43
Definition: NDPluginOverlay.h:16
int NDPluginOverlayFont
Definition: NDPluginOverlay.h:100
int NDPluginOverlayPositionY
Definition: NDPluginOverlay.h:87
int NDPluginOverlayBlue
Definition: NDPluginOverlay.h:98
Definition: NDPluginOverlay.h:9