Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SpillServerMon.h

Go to the documentation of this file.
00001 #ifndef SPILLSERVERMON_H
00002 #define SPILLSERVERMON_H
00003  
00004 #include "Validity/VldTimeStamp.h"
00005 
00006 #include "DatabaseInterface/DbiTableRow.h"
00007  
00008 class DbiValidityRec;
00009  
00010 class SpillServerMon : public DbiTableRow
00011 {
00012  
00013  public:
00014   SpillServerMon();
00015   SpillServerMon(Int_t timestamp, Int_t spillstatus,Int_t spilltype,Int_t spilltimeND_sec,Int_t spilltimeND_nsec,Int_t spilltimeFD_sec,Int_t spilltimeFD_nsec,Int_t spilltimeerror,Int_t request_sec,Int_t windowopen_nsec,Int_t windowclose_nsec);
00016   SpillServerMon(const SpillServerMon& from);
00017   ~SpillServerMon();
00018   
00019   VldTimeStamp GetTimeStamp() const { return VldTimeStamp(fTime,0); }
00020   Int_t GetTimeStamp_sec() const { return fTime; }
00021   Int_t GetTimeStamp_nsec() const { return 0; }
00022   VldTimeStamp GetSpillTime() const { return this->GetSpillTimeFD(); }
00023   Int_t GetSpillTime_sec() const { return this->GetSpillTimeFD_sec(); }
00024   Int_t GetSpillTime_nsec() const { return this->GetSpillTimeFD_nsec(); }
00025   Int_t GetSpillStatus() const { return fStatus; }
00026   Int_t GetSpillType() const { return fType; }
00027   VldTimeStamp GetSpillTimeND() const { return VldTimeStamp(fND_sec,fND_nsec); }
00028   Int_t GetSpillTimeND_sec() const { return fND_sec; }
00029   Int_t GetSpillTimeND_nsec() const { return fND_nsec; }
00030   VldTimeStamp GetSpillTimeFD() const { return VldTimeStamp(fFD_sec,fFD_nsec); }
00031   Int_t GetSpillTimeFD_sec() const { return fFD_sec; }
00032   Int_t GetSpillTimeFD_nsec() const { return fFD_nsec; }
00033   Int_t GetSpillTimeError() const { return fGpsError; }
00034   Int_t GetRequest_sec() const { return fRequest_sec; }
00035   Int_t GetWindowOpen_nsec() const { return fWindowOpen_nsec; }
00036   Int_t GetWindowClose_nsec() const { return fWindowClose_nsec; }
00037    
00038   Bool_t CanL2Cache() const { return kTRUE; }
00039   virtual DbiTableRow* CreateTableRow() const { return new SpillServerMon; }
00040   virtual void Fill(DbiResultSet& rs, const DbiValidityRec* vrec);
00041   virtual void Store(DbiOutRowStream& ors, const DbiValidityRec* vrec) const;
00042  
00043  private:
00044  
00045   Int_t fTime;
00046   Int_t fStatus;
00047   Int_t fType;
00048   Int_t fND_sec;
00049   Int_t fND_nsec;
00050   Int_t fFD_sec;
00051   Int_t fFD_nsec;
00052   Int_t fGpsError;
00053   Int_t fRequest_sec;
00054   Int_t fWindowOpen_nsec;
00055   Int_t fWindowClose_nsec;
00056  
00057   ClassDef(SpillServerMon,1)
00058  
00059 };
00060  
00061 #endif

Generated on Mon Feb 15 11:07:38 2010 for loon by  doxygen 1.3.9.1