SctTest::HighLevelApi Class Reference

Collaboration diagram for SctTest::HighLevelApi:

Collaboration graph
[legend]

Public Member Functions

void handy_setModuleSerial (const string &serial)
 Sets the serial number and loads in all necessary data.
string handy_getModuleSerial () const
void handy_setDataFile (const string &file)
 Sets the data file.
string handy_getDataFile () const
void handy_setXmlSummaryFile (const string &file)
 Sets the XML summary file
Exceptions:
Sct::FileException if there is a problem with the file.

string handy_getXmlSummaryFile () const
virtual void setDataFile (const char *file)
virtual char * getDataFile ()
virtual void setXmlSummaryFile (const char *file)
virtual char * getXmlSummaryFile ()
virtual void setModuleSerial (const char *serial)
virtual char * getModuleSerial ()
virtual void fullBypass ()
virtual void timeWalk ()
virtual void strobeDelay ()
virtual void threePointGain ()
virtual void responseCurve ()
virtual void noiseOccupancy ()
virtual void trim ()
virtual void pipeline ()
virtual void shutdown ()

Static Public Member Functions

static HighLevelApiinstance ()

Private Member Functions

 HighLevelApi ()
void getConfig (string serial)
 Gets the ModuleConfiguration for the given serial number.
void addAndGetConfig (string serial)
void publishTest (TestData &t) const
string getFileName (const TestInfo &info, unsigned int scanNumber) const
void doTest (const TestInfo &info, TestData &data, const SctData::ConfigurationVariable &var) const
void publishScan (const TestInfo &info, unsigned int scanNumber, const SctData::ConfigurationVariable &scan_variable, const SctData::ModuleConfiguration &config) const

Private Attributes

string serial
string xmlFile
 The xml summary file.
ModuleData data
boost::shared_ptr< SctData::ModuleConfigurationconfig

Detailed Description

Definition at line 23 of file HighLevelApi.h.


Member Function Documentation

void SctTest::HighLevelApi::getConfig string  serial  )  [private]
 

Gets the ModuleConfiguration for the given serial number.

Exceptions:
NoDataException if it can't get any data

Definition at line 104 of file HighLevelApi.cpp.

References addAndGetConfig(), and config.

Referenced by handy_setModuleSerial().

Here is the call graph for this function:

void SctTest::HighLevelApi::handy_setDataFile const string &  file  ) 
 

Sets the data file.

Exceptions:
Sct::FileException if there is a problem with the file

Definition at line 87 of file HighLevelApi.cpp.

References data, and SctTest::ModuleData::load().

Referenced by HighLevelApi(), and setDataFile().

Here is the call graph for this function:

void SctTest::HighLevelApi::handy_setModuleSerial const string &  serial  ) 
 

Sets the serial number and loads in all necessary data.

Exceptions:
NoDataException if it can't find any valid data.

Definition at line 77 of file HighLevelApi.cpp.

References data, SctTest::ModuleData::dataExists(), and getConfig().

Referenced by HighLevelApi(), and setModuleSerial().

Here is the call graph for this function:

void SctTest::HighLevelApi::handy_setXmlSummaryFile const string &  file  ) 
 

Sets the XML summary file

Exceptions:
Sct::FileException if there is a problem with the file.

Definition at line 95 of file HighLevelApi.cpp.

References xmlFile.

Referenced by HighLevelApi(), and setXmlSummaryFile().


Field Documentation

string SctTest::HighLevelApi::xmlFile [private]
 

The xml summary file.

Definition at line 82 of file HighLevelApi.h.

Referenced by addAndGetConfig(), handy_getXmlSummaryFile(), and handy_setXmlSummaryFile().


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:10:03 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6