UltraScan III
List of all members | Public Member Functions | Static Public Member Functions | Static Private Member Functions
US_ConvertIO Class Reference

#include "us_convertio.h"

Public Member Functions

 US_ConvertIO (void)
 

Static Public Member Functions

static QString readDBExperiment (QString, QString, US_DB2 *, QVector< SP_SPEEDPROFILE > &)
 Reads entire experiment and auc files from the database, save to HD. More...
 
static QString writeRawDataToDB (US_Experiment &, QList< US_Convert::TripleInfo > &, QString, US_DB2 *=0)
 Writes a new DB rawData record for each triple. More...
 
static int checkDiskData (US_Experiment &, QList< US_Convert::TripleInfo > &, US_DB2 *=0)
 Checks some info that was read from disk with values from DB. More...
 

Static Private Member Functions

static QString readRawDataFromDB (US_Experiment &, QList< US_Convert::TripleInfo > &, QString &, US_DB2 *=0)
 

Detailed Description

This class provides the ability to save converted US3 data to the disk and the database. All methods are static.

Definition at line 25 of file us_convertio.h.

Constructor & Destructor Documentation

US_ConvertIO::US_ConvertIO ( void  )

Definition at line 14 of file us_convertio.cpp.

Member Function Documentation

int US_ConvertIO::checkDiskData ( US_Experiment ExpData,
QList< US_Convert::TripleInfo > &  triples,
US_DB2 db = 0 
)
static

Checks some info that was read from disk with values from DB.

Parameters
ExpDataA reference to a structure provided by the calling function that contains the hardware and other database connection information provided by the xml file.
triplesA reference to a structure provided by the calling function that contains all the different cell/channel/wavelength defined by the xml file.
dbAn opened db connection

Definition at line 490 of file us_convertio.cpp.

QString US_ConvertIO::readDBExperiment ( QString  runID,
QString  dir,
US_DB2 db,
QVector< SP_SPEEDPROFILE > &  speedsteps 
)
static

Reads entire experiment and auc files from the database, save to HD.

Parameters
runIDThe run ID to look up in the database
dirThe location where the binary auc files are to go.
dbAn opened db connection
speedstepsReference for returned experiment speed steps vector

Definition at line 239 of file us_convertio.cpp.

QString US_ConvertIO::readRawDataFromDB ( US_Experiment ExpData,
QList< US_Convert::TripleInfo > &  triples,
QString &  dir,
US_DB2 db = 0 
)
staticprivate

Definition at line 323 of file us_convertio.cpp.

QString US_ConvertIO::writeRawDataToDB ( US_Experiment ExpData,
QList< US_Convert::TripleInfo > &  triples,
QString  dir,
US_DB2 db = 0 
)
static

Writes a new DB rawData record for each triple.

Parameters
ExpDataA reference to a structure provided by the calling function that contains the hardware and other database connection information provided by the xml file.
triplesA reference to a structure provided by the calling function that contains all the different cell/channel/wavelength defined by the xml file.
dirLocal disk directory where auc files can be found
dbAn opened db connection

Definition at line 18 of file us_convertio.cpp.


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