#include <Test.h>
Collaboration diagram for SctCalibrationController::Test:

Public Member Functions | |||
| Test (const TestData &data, const list< string > &list) | |||
| Construct a Test.   | |||
| ~Test () | |||
| Removes the TestData object from IS.   | |||
| void | addScan (Sct_SctApi_T_Scan *scan) | ||
| Adds a Scan to this Test.   | |||
| const TestData & | getData () const | ||
| Get access to the underlying TestData.   | |||
| list< string > | getModuleList () const | ||
| Get the module list.   | |||
| void | setStatus (TestData::status_E status) | ||
| Set the status of this Test - see TestData.   | |||
| string | getUniqueID () const | ||
| Returns a uniqueID for this Test - used for the name in IS.   | |||
| Sct_SctApi_T_Scan * | getScan (unsigned int index) const | ||
Retrieve one of the constituent Scans 
  | |||
Private Types | |||
| typedef vector< Sct_SctApi_T_Scan * > | ScanVector | ||
| A vector of Scans!   | |||
Private Member Functions | |||
| void | publish () | ||
| Publish or update the TestData object in IS.   | |||
| void | withdraw () | ||
| Remove the TestData object from IS.   | |||
Private Attributes | |||
| TestData | data | ||
| Most of the underlying data.   | |||
| ScanVector | scans | ||
| The constituent Scans.   | |||
It contains references to the Scans that made it up and also the TestData object that is available in IS.
Definition at line 24 of file Test.h.
      
  | 
  
| 
 A vector of Scans! 
  | 
  
      
  | 
  ||||||||||||
| 
 Construct a Test. Puts data into IS. 
 
 Definition at line 14 of file Test.cpp. References data, getUniqueID(), TestData::modules, TestData::modules_size, TestData::nScans, publish(), TestData::startTime, TestData::testPoints, and TestData::testPoints_size.  | 
  
Here is the call graph for this function:

      
  | 
  
| 
 Removes the TestData object from IS. 
 Definition at line 39 of file Test.cpp. References withdraw().  | 
  
Here is the call graph for this function:

      
  | 
  
| 
 Adds a Scan to this Test. You may only add the correct number of Scans. 
 
 Definition at line 43 of file Test.cpp. References data, getUniqueID(), TestData::nScans, and scans.  | 
  
Here is the call graph for this function:

      
  | 
  
| 
 Get access to the underlying TestData. 
 Definition at line 49 of file Test.cpp. References data.  | 
  
      
  | 
  
| 
 Get the module list. 
 
 Definition at line 68 of file Test.cpp. References data, TestData::modules, and TestData::modules_size.  | 
  
      
  | 
  
| 
 Retrieve one of the constituent Scans 
 
 Definition at line 59 of file Test.cpp. References getUniqueID(), and scans.  | 
  
Here is the call graph for this function:

      
  | 
  
| 
 Returns a uniqueID for this Test - used for the name in IS. 
 Definition at line 53 of file Test.cpp. References data, TestData::runNumber, and TestData::startScanNumber. Referenced by addScan(), getScan(), publish(), setStatus(), Test(), and withdraw().  | 
  
      
  | 
  
| 
 Publish or update the TestData object in IS. Won't throw - just reports errors Definition at line 96 of file Test.cpp. References data, getUniqueID(), and Sct::AbstractThrowable::sendToMrs(). Referenced by setStatus(), and Test().  | 
  
Here is the call graph for this function:

      
  | 
  
| 
 Set the status of this Test - see TestData. A Test may only have the COMPLETED state if all the Scans have been added. Once a Test has entered the ABORTED or COMPLETED states, it cannot be changed. 
 Definition at line 76 of file Test.cpp. References data, TestData::endTime, getUniqueID(), TestData::nScans, publish(), scans, and TestData::status.  | 
  
Here is the call graph for this function:

      
  | 
  
| 
 Remove the TestData object from IS. Won't throw - just reports errors Definition at line 115 of file Test.cpp. References getUniqueID(), and Sct::AbstractThrowable::sendToMrs(). Referenced by ~Test().  | 
  
Here is the call graph for this function:

      
  | 
  
| 
 Most of the underlying data. 
 Definition at line 93 of file Test.h. Referenced by addScan(), getData(), getModuleList(), getUniqueID(), publish(), setStatus(), and Test().  | 
  
      
  | 
  
| 
 The constituent Scans. 
 Definition at line 95 of file Test.h. Referenced by addScan(), getScan(), and setStatus().  | 
  
 
1.3.5