areaDetector  3-13
EPICS areaDetector framework
Public Member Functions | Protected Attributes | List of all members
ADnEDTransformBase Class Referenceabstract

ADnEDTransform base class. More...

#include <ADnEDTransformBase.h>

Inheritance diagram for ADnEDTransformBase:
ADnEDTransform

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
 

Detailed Description

ADnEDTransform base class.

Concrete classes should inherit from this. This base class provides default implementations for the parameter storage, parameter handling and debug functions.

Constructor & Destructor Documentation

◆ ADnEDTransformBase()

ADnEDTransformBase::ADnEDTransformBase ( void  )

ADnEDTransform base class.

Concrete classes should inherit from this. Constructor.

◆ ~ADnEDTransformBase()

ADnEDTransformBase::~ADnEDTransformBase ( void  )
virtual

Destructor.


Member Function Documentation

◆ calculate()

virtual epicsFloat64 ADnEDTransformBase::calculate ( epicsUInt32  type,
epicsUInt32  pixelID,
epicsUInt32  tof 
) const
pure virtual

Implemented in ADnEDTransform.

◆ printParams()

void ADnEDTransformBase::printParams ( void  ) const

For debug, print all to stdout.

◆ setDebug()

void ADnEDTransformBase::setDebug ( bool  debug)

◆ setDoubleArray()

int ADnEDTransformBase::setDoubleArray ( epicsUInt32  paramIndex,
const epicsFloat64 *  pSource,
epicsUInt32  size 
)

Set array of doubles.

Parameters
paramIndexParameter index number
pSourcePointer to array of type epicsFloat64
sizeThe number of elements to copy

◆ setDoubleParam()

int ADnEDTransformBase::setDoubleParam ( epicsUInt32  paramIndex,
epicsFloat64  paramVal 
)

Set double param.

Parameters
paramIndex
paramVal

◆ setIntParam()

int ADnEDTransformBase::setIntParam ( epicsUInt32  paramIndex,
epicsUInt32  paramVal 
)

Set integer param.

Parameters
paramIndex
paramVal

Member Data Documentation

◆ m_ArraySize

epicsUInt32 ADnEDTransformBase::m_ArraySize[ADNED_MAX_TRANSFORM_PARAMS]
protected

◆ m_debug

bool ADnEDTransformBase::m_debug
protected

◆ m_doubleParam

epicsFloat64 ADnEDTransformBase::m_doubleParam[ADNED_MAX_TRANSFORM_PARAMS]
protected

◆ m_intParam

epicsUInt32 ADnEDTransformBase::m_intParam[ADNED_MAX_TRANSFORM_PARAMS]
protected

◆ p_Array

epicsFloat64* ADnEDTransformBase::p_Array[ADNED_MAX_TRANSFORM_PARAMS]
protected

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