pvCam Class Reference

#include <pvCamSrc.h>

Inheritance diagram for pvCam:

ADDriver asynNDArrayDriver

List of all members.

Public Member Functions

 pvCam (const char *portName, int maxSizeX, int maxSizeY, NDDataType_t dataType, int maxBuffers, size_t maxMemory, int priority, int stackSize)
virtual asynStatus writeInt32 (asynUser *pasynUser, epicsInt32 value)
 Sets an int32 parameter.
virtual asynStatus writeFloat64 (asynUser *pasynUser, epicsFloat64 value)
virtual asynStatus drvUserCreate (asynUser *pasynUser, const char *drvInfo, const char **pptypeName, size_t *psize)
 Sets pasynUser->reason to one of the enum values for the parameters defined in ADDriver.h if the drvInfo field matches one the strings defined.
void report (FILE *fp, int details)
 Report status of the driver.
template<typename epicsType >
int computeArray (int maxSizeX, int maxSizeY)
int allocateBuffer ()
int computeImage ()
void pvCamAcquisitionTask ()
void pvCamMonitorTask ()
 ~pvCam ()

Public Attributes

int imagesRemaining
epicsEventId startEventId
epicsEventId stopEventId
NDArraypRaw


Constructor & Destructor Documentation

pvCam::pvCam ( const char *  portName,
int  maxSizeX,
int  maxSizeY,
NDDataType_t  dataType,
int  maxBuffers,
size_t  maxMemory,
int  priority,
int  stackSize 
)

pvCam::~pvCam (  ) 


Member Function Documentation

int pvCam::allocateBuffer ( void   ) 

template<typename epicsType >
int pvCam::computeArray ( int  maxSizeX,
int  maxSizeY 
) [inline]

int pvCam::computeImage (  ) 

asynStatus pvCam::drvUserCreate ( asynUser *  pasynUser,
const char *  drvInfo,
const char **  pptypeName,
size_t *  psize 
) [virtual]

Sets pasynUser->reason to one of the enum values for the parameters defined in ADDriver.h if the drvInfo field matches one the strings defined.

Simply calls asynPortDriver::drvUserCreateParam with the parameter table for this driver.

Parameters:
[in] pasynUser pasynUser structure that driver modifies
[in] drvInfo String containing information about what driver function is being referenced
[out] pptypeName Location in which driver puts a copy of drvInfo.
[out] psize Location where driver puts size of param
Returns:
Returns asynSuccess if a matching string was found, asynError if not found.

Reimplemented from ADDriver.

void pvCam::pvCamAcquisitionTask (  ) 

void pvCam::pvCamMonitorTask (  ) 

void pvCam::report ( FILE *  fp,
int  details 
) [virtual]

Report status of the driver.

This method calls the report function in the asynPortDriver base class. It then calls the NDArrayPool::report() method if details >5.

Parameters:
[in] fp File pointed passed by caller where the output is written to.
[in] details If >5 then NDArrayPool::report and NDAttributeList::report are both called.

Reimplemented from asynNDArrayDriver.

asynStatus pvCam::writeFloat64 ( asynUser *  pasynUser,
epicsFloat64  value 
) [virtual]

asynStatus pvCam::writeInt32 ( asynUser *  pasynUser,
epicsInt32  value 
) [virtual]

Sets an int32 parameter.

Parameters:
[in] pasynUser asynUser structure that contains the function code in pasynUser->reason.
[in] value The value for this parameter
Takes action if the function code requires it. Currently only ADShutterControl requires action here. This method is normally called from the writeInt32 method in derived classes, which should set the value of the parameter in the parameter library.

Reimplemented from ADDriver.


Member Data Documentation

epicsEventId pvCam::startEventId

epicsEventId pvCam::stopEventId


The documentation for this class was generated from the following files:

Generated on Tue Aug 25 16:53:04 2009 for areaDetector by  doxygen 1.5.7.1