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 |
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().