#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::Scan_ptr 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. | ||||
void | setOptions (const std::string &options) | |||
set the scan options - which may not be immediatley available. | ||||
Sct::UniqueID | getUniqueID () const | |||
Returns a uniqueID for this Test - used for the name in IS. | ||||
Sct_SctApi::Scan_ptr | getScan (unsigned int index) const | |||
Retrieve one of the constituent Scans
| ||||
Private Types | ||||
typedef vector< Sct_SctApi::Scan_var > | 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 20 of file Test.cpp. References data, getUniqueID(), TestData::nScans, TestData::testPoints, and TestData::testPoints_size. Here is the call graph for this function: ![]() |
|
Removes the TestData object from IS.
Definition at line 45 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 49 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 55 of file Test.cpp. References data. |
|
Get the module list.
Definition at line 76 of file Test.cpp. References data, TestData::modules, and TestData::modules_size. |
|
Retrieve one of the constituent Scans
Definition at line 67 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 59 of file Test.cpp. References data, TestData::runNumber, TestData::startScanNumber, and TestData::testName. 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 109 of file Test.cpp. References Sct::ISUtilities::addOrUpdateOrMessage(), data, and getUniqueID(). Referenced by setOptions(). Here is the call graph for this function: ![]() |
|
set the scan options - which may not be immediatley available.
Definition at line 84 of file Test.cpp. References data, TestData::options, and publish(). 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 89 of file Test.cpp. References data, getUniqueID(), TestData::nScans, 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 117 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 98 of file Test.h. Referenced by addScan(), getData(), getModuleList(), getUniqueID(), publish(), setOptions(), setStatus(), and Test(). |
|
The constituent Scans.
Definition at line 100 of file Test.h. Referenced by addScan(), getScan(), and setStatus(). |