QApolloDbServer Class Reference

Inheritance diagram for QApolloDbServer:

QApolloDb List of all members.

Detailed Description

read-only interface to cuore data base, intended for daq use

Author:
sergio.didomizio@ge.infn.it


Private Member Functions

 QApolloDbServer ()
 constructor
bool Reset (unsigned short settingsBasket, unsigned int runNumber)
 Close connection to data base and reset singleton.
void UpdateStart (unsigned short 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 short shifterSet, unsigned short nFiles)
 insert into data base stop time for curent run

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)


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:42 2009 for CUORE Software by  doxygen 1.5.1