#include <pvCamSrc.h>
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 |
NDArray * | pRaw |
pvCam::pvCam | ( | const char * | portName, | |
int | maxSizeX, | |||
int | maxSizeY, | |||
NDDataType_t | dataType, | |||
int | maxBuffers, | |||
size_t | maxMemory, | |||
int | priority, | |||
int | stackSize | |||
) |
pvCam::~pvCam | ( | ) |
int pvCam::allocateBuffer | ( | void | ) |
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.
[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 |
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.
[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.
[in] | pasynUser | asynUser structure that contains the function code in pasynUser->reason. |
[in] | value | The value for this parameter |
Reimplemented from ADDriver.
epicsEventId pvCam::startEventId |
epicsEventId pvCam::stopEventId |