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

CalibrationControllerStatus.h

Go to the documentation of this file.
00001 #ifndef CALIBRATIONCONTROLLERSTATUS_H
00002 #define CALIBRATIONCONTROLLERSTATUS_H
00003 
00004 #include <is/isinfo.h>
00005 
00006 // <<BeginUserCode>>
00007 
00008 // <<EndUserCode>>
00015 class CalibrationControllerStatus: public ISInfo {
00016 public:
00017     enum status_E {LOADED,INCONTROL,BUSY,ERROR};
00018 
00021     status_E            status;
00022 
00025     std::string         updateOption;
00026 
00029     std::string         currentSequence;
00030 
00033     std::string         currentTest;
00034 
00037     unsigned long       currentScanIndex;
00038 
00039 
00040     CalibrationControllerStatus( )
00041       : ISInfo( "CalibrationControllerStatus" )
00042     {
00043     status = LOADED;
00044     updateOption = "UPDATE";
00045 
00046 // <<BeginUserCode>>
00047 
00048 // <<EndUserCode>>
00049     }
00050 
00051     ~CalibrationControllerStatus(){
00052 
00053 // <<BeginUserCode>>
00054 
00055 // <<EndUserCode>>
00056     }
00057 
00058 protected:
00059     CalibrationControllerStatus( const char * type )
00060       : ISInfo( type )
00061     {
00062     status = LOADED;
00063     updateOption = "UPDATE";
00064 
00065 // <<BeginUserCode>>
00066 
00067 // <<EndUserCode>>
00068     }
00069 
00070     void publishGuts( ISostream & out ){
00071     out << (int)status << updateOption << currentSequence << currentTest << currentScanIndex;
00072     }
00073 
00074     void refreshGuts( ISistream & in ){
00075     in >> (int&)status >> updateOption >> currentSequence >> currentTest >> currentScanIndex;
00076     }
00077 
00078 // <<BeginUserCode>>
00079 
00080 // <<EndUserCode>>
00081 };
00082 
00083 // <<BeginUserCode>>
00084 
00085 // <<EndUserCode>>
00086 #endif // CALIBRATIONCONTROLLERSTATUS_H

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