From e3ccd849f0dbf546869c1d8211fc31ff424f09ab Mon Sep 17 00:00:00 2001
From: rivers
areaDetector Simulation driver
- September 20, 2008
+ January 30, 2009
Mark Rivers
University of Chicago
-
+
@@ -35,8 +35,7 @@
also very useful for testing plugins and channel access clients. This is part of
the definition of the simDetector class:
-class simDetector : public ADDriver {
+ class simDetector : public ADDriver {
public:
simDetector(const char *portName, int maxSizeX, int maxSizeY, NDDataType_t dataType,
int maxBuffers, size_t maxMemory);
@@ -73,8 +72,7 @@ public:
is started that thread computes new images and then calls back any registered plugins
as follows:
-
- /* Put the frame number and time stamp into the buffer */
+ /* Put the frame number and time stamp into the buffer */
pImage->uniqueId = imageCounter;
pImage->timeStamp = startTime.secPastEpoch + startTime.nsec / 1.e9;
@@ -92,7 +90,7 @@ public:
The simulation driver-specific parameters are the following:
-
@@ -213,8 +211,7 @@ public:
is to be used in an IOC, it must be called before iocInit(). It has the
following syntax:
-
-simDetectorConfig(const char *portName, int maxSizeX, int maxSizeY,
+ |