areaDetector 1-9
Public Member Functions | Public Attributes | Protected Attributes
pvCam Class Reference

#include <pvCamSrc.h>

Inheritance diagram for pvCam:
ADDriver asynNDArrayDriver asynPortDriver

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)
 Called when asyn clients call pasynFloat64->write().
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

Protected Attributes

int PVCamInitDetector
int PVCamSlot1Cam
int PVCamSlot2Cam
int PVCamSlot3Cam
int PVCamDetectorSelected
int PVCamChipNameRBV
int PVCamNumParallelPixelsRBV
int PVCamNumSerialPixelsRBV
int PVCamPixelParallelSizeRBV
int PVCamPixelSerialSizeRBV
int PVCamChipHeightMMRBV
int PVCamChipWidthMMRBV
int PVCamPixelParallelDistRBV
int PVCamPixelSerialDistRBV
int PVCamPostMaskRBV
int PVCamPreMaskRBV
int PVCamPostScanRBV
int PVCamPreScanRBV
int PVCamNumPortsRBV
int PVCamFullWellCapacityRBV
int PVCamFrameTransferCapableRBV
int PVCamNumSpeedTableEntriesRBV
int PVCamSpeedTableIndex
int PVCamSpeedTableIndexRBV
int PVCamBitDepthRBV
int PVCamPixelTimeRBV
int PVCamGainIndex
int PVCamGainIndexRBV
int PVCamMaxGainIndexRBV
int PVCamMinShutterOpenDelayRBV
int PVCamMaxShutterOpenDelayRBV
int PVCamMinShutterCloseDelayRBV
int PVCamMaxShutterCloseDelayRBV
int PVCamShutterOpenDelay
int PVCamShutterOpenDelayRBV
int PVCamShutterCloseDelay
int PVCamShutterCloseDelayRBV
int PVCamMeasuredTemperatureRBV
int PVCamMinTemperatureRBV
int PVCamMaxTemperatureRBV
int PVCamSetTemperature
int PVCamSetTemperatureRBV
int PVCamDetectorMode
int PVCamDetectorModeRBV
int PVCamTriggerMode
int PVCamTriggerModeRBV
int PVCamTriggerEdge
int PVCamTriggerEdgeRBV
int PVCamCamFirmwareVersRBV
int PVCamPCIFWVersRBV
int PVCamHeadSerialNumRBV
int PVCamSerialNumRBV
int PVCamPVCamVersRBV
int PVCamDevDrvVersRBV

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 ( )
template<typename epicsType >
int pvCam::computeArray ( int  maxSizeX,
int  maxSizeY 
)
int pvCam::computeImage ( )
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]fpFile pointed passed by caller where the output is written to.
[in]detailsIf >5 then NDArrayPool::report and NDAttributeList::report are both called.

Reimplemented from asynNDArrayDriver.

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

Called when asyn clients call pasynFloat64->write().

The base class implementation simply sets the value in the parameter library and calls any registered callbacks for this pasynUser->reason and address. Derived classes will reimplement this function if they need to perform an action when an asynFloat64 value is written.

Parameters:
[in]pasynUserpasynUser structure that encodes the reason and address.
[in]valueValue to write.

Reimplemented from asynPortDriver.

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

Sets an int32 parameter.

Parameters:
[in]pasynUserasynUser structure that contains the function code in pasynUser->reason.
[in]valueThe 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

int pvCam::PVCamBitDepthRBV [protected]
int pvCam::PVCamChipHeightMMRBV [protected]
int pvCam::PVCamChipNameRBV [protected]
int pvCam::PVCamChipWidthMMRBV [protected]
int pvCam::PVCamDetectorMode [protected]
int pvCam::PVCamDetectorModeRBV [protected]
int pvCam::PVCamDevDrvVersRBV [protected]
int pvCam::PVCamGainIndex [protected]
int pvCam::PVCamGainIndexRBV [protected]
int pvCam::PVCamInitDetector [protected]
int pvCam::PVCamMaxGainIndexRBV [protected]
int pvCam::PVCamNumPortsRBV [protected]
int pvCam::PVCamPCIFWVersRBV [protected]
int pvCam::PVCamPixelTimeRBV [protected]
int pvCam::PVCamPostMaskRBV [protected]
int pvCam::PVCamPostScanRBV [protected]
int pvCam::PVCamPreMaskRBV [protected]
int pvCam::PVCamPreScanRBV [protected]
int pvCam::PVCamPVCamVersRBV [protected]
int pvCam::PVCamSerialNumRBV [protected]
int pvCam::PVCamSetTemperature [protected]
int pvCam::PVCamSlot1Cam [protected]
int pvCam::PVCamSlot2Cam [protected]
int pvCam::PVCamSlot3Cam [protected]
int pvCam::PVCamSpeedTableIndex [protected]
int pvCam::PVCamTriggerEdge [protected]
int pvCam::PVCamTriggerEdgeRBV [protected]
int pvCam::PVCamTriggerMode [protected]
int pvCam::PVCamTriggerModeRBV [protected]
epicsEventId pvCam::startEventId
epicsEventId pvCam::stopEventId

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