areaDetector
3-14
EPICS areaDetector framework
|
ADnEDTransform base class. More...
#include <ADnEDTransformBase.h>
Public Member Functions | |
ADnEDTransformBase () | |
ADnEDTransform base class. More... | |
virtual | ~ADnEDTransformBase () |
Destructor. More... | |
virtual epicsFloat64 | calculate (epicsUInt32 type, epicsUInt32 pixelID, epicsUInt32 tof) const =0 |
int | setIntParam (epicsUInt32 paramIndex, epicsUInt32 paramVal) |
Set integer param. More... | |
int | setDoubleParam (epicsUInt32 paramIndex, epicsFloat64 paramVal) |
Set double param. More... | |
int | setDoubleArray (epicsUInt32 paramIndex, const epicsFloat64 *pSource, epicsUInt32 size) |
Set array of doubles. More... | |
void | printParams (void) const |
For debug, print all to stdout. More... | |
void | setDebug (bool debug) |
Protected Attributes | |
epicsUInt32 | m_intParam [ADNED_MAX_TRANSFORM_PARAMS] |
epicsFloat64 | m_doubleParam [ADNED_MAX_TRANSFORM_PARAMS] |
epicsFloat64 * | p_Array [ADNED_MAX_TRANSFORM_PARAMS] |
epicsUInt32 | m_ArraySize [ADNED_MAX_TRANSFORM_PARAMS] |
bool | m_debug |
ADnEDTransform base class.
Concrete classes should inherit from this. This base class provides default implementations for the parameter storage, parameter handling and debug functions.
ADnEDTransformBase::ADnEDTransformBase | ( | void | ) |
ADnEDTransform base class.
Concrete classes should inherit from this. Constructor.
|
virtual |
Destructor.
|
pure virtual |
Implemented in ADnEDTransform.
void ADnEDTransformBase::printParams | ( | void | ) | const |
For debug, print all to stdout.
void ADnEDTransformBase::setDebug | ( | bool | debug | ) |
int ADnEDTransformBase::setDoubleArray | ( | epicsUInt32 | paramIndex, |
const epicsFloat64 * | pSource, | ||
epicsUInt32 | size | ||
) |
Set array of doubles.
paramIndex | Parameter index number |
pSource | Pointer to array of type epicsFloat64 |
size | The number of elements to copy |
int ADnEDTransformBase::setDoubleParam | ( | epicsUInt32 | paramIndex, |
epicsFloat64 | paramVal | ||
) |
Set double param.
paramIndex | |
paramVal |
int ADnEDTransformBase::setIntParam | ( | epicsUInt32 | paramIndex, |
epicsUInt32 | paramVal | ||
) |
Set integer param.
paramIndex | |
paramVal |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |