From 436f8215a60dd30726753282923bb1ff1010ff9e Mon Sep 17 00:00:00 2001 From: rivers Date: Tue, 4 Aug 2009 16:40:28 +0000 Subject: [PATCH] Added doc for NDPluginType parameter; removed class details, replaced with links to doxygen documentation git-svn-id: https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk@9169 dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b --- documentation/pluginDoc.html | 70 +++++++++++------------------------- 1 file changed, 20 insertions(+), 50 deletions(-) diff --git a/documentation/pluginDoc.html b/documentation/pluginDoc.html index 37c1936..362556f 100755 --- a/documentation/pluginDoc.html +++ b/documentation/pluginDoc.html @@ -10,7 +10,7 @@

areaDetector Plugins

- January 30, 2009

+ July 30, 2009

Mark Rivers

@@ -76,56 +76,9 @@ NDPluginDriver class handles most of the details of processing NDArray callbacks from the driver. Plugins derived from this class typically need to implement the processCallbacks method, the drvUser method, and one or more of the write(Int32, - Float64, Octet) methods. The NDPluginDriver public interface is defined in NDPluginDriver.h - as follows: + Float64, Octet) methods. The + NDPluginDriver class documentation describes this class in detail.

-
class NDPluginDriver : public asynNDArrayDriver {
-public:
-    NDPluginDriver(const char *portName, int queueSize, int blockingCallbacks, 
-                 const char *NDArrayPort, int NDArrayAddr, int maxAddr, int paramTableSize,
-                 int maxBuffers, size_t maxMemory, int interfaceMask, int interruptMask);
-                 
-    /* These are the methods that we override from asynNDArrayDriver */
-    virtual asynStatus writeInt32(asynUser *pasynUser, epicsInt32 value);
-    virtual asynStatus writeOctet(asynUser *pasynUser, const char *value, size_t maxChars,
-                          size_t *nActual);
-    virtual asynStatus readInt32Array(asynUser *pasynUser, epicsInt32 *value,
-                                        size_t nElements, size_t *nIn);
-    virtual asynStatus drvUserCreate(asynUser *pasynUser, const char *drvInfo, 
-                                     const char **pptypeName, size_t *psize);
-                                     
-    /* These are the methods that are new to this class */
-    virtual void processCallbacks(NDArray *pArray);
-    virtual int createFileName(int maxChars, char *fullFileName);
-    virtual int createFileName(int maxChars, char *filePath, char *fileName);
-
-...
-}
-
-

- The methods of the NDPluginDriver class are: -

-

NDPluginDriver defines parameters that all plugin drivers should implement if possible. These parameters are defined by enum values with an associated asyn interface, and @@ -201,6 +154,23 @@ public: longout
longin + + + NDPluginDriver
+ PluginType + + asynOctet + + r/o + + A string describing the plugin type. + + PLUGIN_TYPE + + $(P)$(R)PluginType_RBV + + stringin + Callback enable, minimum time, and statistics