Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

Test.h

Go to the documentation of this file.
00001 #ifndef TEST_H
00002 #define TEST_H
00003 
00004 #include <string>
00005 #include <vector>
00006 
00007 #include "IS/TestData.h"
00008 #include "ipc/Sct_CalibrationController.hh"
00009 
00010 using std::vector;
00011 using std::string;
00012 
00013 class Sct_SctApi_T_Scan;
00014 
00015 namespace SctCalibrationController  {
00016 
00022 class Test {    
00023 public:
00029     Test(const TestData& data);
00030     
00034     ~Test();
00035     
00042     void addScan(Sct_SctApi_T_Scan* scan);
00043     
00047     const TestData& getData() const;
00048     
00057     void setStatus(TestData::status_E status);
00058     
00062     string getUniqueID() const;    
00063     
00068     Sct_SctApi_T_Scan* getScan(unsigned int index) const;
00069     
00070 private:
00075     void publish();
00076     
00081     void withdraw();    
00082     
00083     TestData data;                  
00084     typedef vector<Sct_SctApi_T_Scan*> ScanVector;  
00085     ScanVector scans;                   
00086 };   
00087 }
00088 
00089 #endif //TEST_H

Generated on Mon Dec 15 19:36:19 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3