My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::RegCal Class Reference

Classes

struct  RegCalData
 
struct  RegCalSlot
 

Public Member Functions

 RegCal (ArrayMap *arrayMap=NULL, bool archivedOnly=false)
 
 RegCal (RegCal &regCal)
 
virtual ~RegCal ()
 
void loadCalFile (std::string dir, std::string name, bool doThrow=true)
 
void loadCalStream (InputStream *stream, bool doThrow=true)
 
void calibrateRegData (RegisterSet *registerSet, RegRawData *raw)
 
void calibrateRegData (RegisterSet &regset, ArrayDataFrameManager &fm)
 
void calibrateRegData (RegSet *registerSet, ArrayDataFrameManager *fm)
 
void reset ()
 
void printCalFactors (std::vector< RegDescription > &regs)
 
RegCal::RegCalDatacalData ()
 
double * getSlotPtr (unsigned iSlot)
 
RegCal::RegCalSlot getRegCalSlot (unsigned iSlot)
 

Constructor & Destructor Documentation

RegCal::RegCal ( ArrayMap arrayMap = NULL,
bool  archivedOnly = false 
)

Constructor.

....................................................................... Create a new register calibration object from a given register map and a given register calibration file.

Input: regmap RegMap * The register map. Output: return RegCal * The new register calibration object, or NULL on error.

RegCal::RegCal ( RegCal regCal)

Copy constructor

....................................................................... Copy constructor

RegCal::~RegCal ( )
virtual

Destructor.

Member Function Documentation

RegCal::RegCalData* gcp::util::RegCal::calData ( )
inline

Get a pointer to the calibrated data

void RegCal::loadCalFile ( std::string  dir,
std::string  name,
bool  doThrow = true 
)

Load calibration parameters from a file. Note that this is just a convenient wrapper around load_cal_stream() that creates a temporary input stream and attaches it to the specified file.

....................................................................... Load a calibration file and record the results in regcal->slots[].

void RegCal::loadCalStream ( InputStream stream,
bool  doThrow = true 
)

Load calibration parameters from an input stream.

void RegCal::printCalFactors ( std::vector< RegDescription > &  regs)

Print cal factors for the requested register

....................................................................... Print cal factors for the requested register


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