QApolloDbServer Class Reference
[ApolloDataBase]

Inheritance diagram for QApolloDbServer:

QApolloDb

List of all members.


Detailed Description

interface to cuore data base, used by daq server

Author:
sergio.didomizio@ge.infn.it

Private Member Functions

 QApolloDbServer ()
 constructor
bool Reset (unsigned int settingsBasket, unsigned int runNumber)
 Close connection to data base and reset singleton.
void UpdateStart (unsigned int shifterSet)
 insert into data base start time for current run
void SanitizeRunsTable ()
 fill runs table (needed when a run was not closed correctly)
void UndoInsertRun ()
 remove from runs table the entry corresponding to current run
void UpdateStop (StopStatus_t stopStatus, unsigned int shifterSet, unsigned int nFiles)
 insert into data base stop time for curent run
void InsertStartComments (const std::string comments)
 insert start comments in user_infos table
void InsertStopComments (const std::string comments)
 insert stop comments in user_infos table

Friends

class QDaqServer

Member Function Documentation

void QApolloDbServer::UndoInsertRun (  )  [inline, private]

remove from runs table the entry corresponding to current run

This method does not perform any check. It simply executes a DELETE statement on current run and only if measurement start_date is null. In particular it returns immediately if current run number is 0 (i.e. it is not set)

References QApolloDbBase::Get(), and QApolloDbBase::UndoInsertRun().


The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:04 2010 for CUORE Software by  doxygen 1.5.6