QApolloDbServer.hh

Go to the documentation of this file.
00001 /*
00002  * APOLLO: A complete DAQ and Online Data Analysis Framework for Cuore 
00003  * $Id: QApolloDbServer.hh 604 2006-12-17 17:18:10Z giacher $
00004  * M.P. created 21/9/4
00005  * 
00006  * Class QApolloDbServer: singleton interface to new Apollo data base (qdb)
00007  *
00008  */
00009 
00020 #ifndef _QAPOLLO_DB_SERVER_HH_
00021 #define _QAPOLLO_DB_SERVER_HH_
00022 
00023 #include <string>
00024 
00025 #include "QCuore.hh"
00026 #include "QApolloDb.hh"
00027 
00028 class QApolloDbServer : public QApolloDb {
00029 public:
00030   
00031   
00032   virtual ~QApolloDbServer();
00033 
00034 private:
00035 
00039   QApolloDbServer(); 
00040   
00042   bool Reset(unsigned short settingsBasket, unsigned int runNumber)
00043   { return QApolloDbBase::Get().Reset(settingsBasket, runNumber); }
00044 
00045 
00047   void UpdateStart(unsigned short shifterSet)
00048   { return QApolloDbBase::Get().UpdateStart(shifterSet); }
00049   
00051    void SanitizeRunsTable()
00052    { return QApolloDbBase::Get().SanitizeRunsTable(); }
00053 
00062   void UndoInsertRun()
00063    { return QApolloDbBase::Get().UndoInsertRun(); }
00064 
00066   void UpdateStop(StopStatus_t stopStatus, unsigned short shifterSet,
00067                   unsigned short nFiles)
00068   { return QApolloDbBase::Get().UpdateStop(stopStatus,shifterSet,nFiles); }
00069 
00070   friend class QDaqServer;
00071 };
00072 
00073 #endif // _QAPOLLO_DB_SERVER_HH_

Generated on Fri Mar 6 13:40:39 2009 for CUORE Software by  doxygen 1.5.1