Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/database/pdbcal/pg/PgPostApplication.h>
Public Member Functions | |
virtual | ~PgPostApplication () |
PdbStatus | startUpdate () |
PdbStatus | startRead () |
PdbStatus | commit () |
PdbStatus | commit (PdbCalBank *) |
PdbStatus | commit (PdbCalBank *, int rid, long, long, long) |
PdbStatus | abort () |
PdbStatus | isActive () |
TSQLConnection * | getConnection () |
int | setDBName (const std::string &name) |
int | DisconnectDB () |
Public Member Functions inherited from PdbApplication | |
virtual | ~PdbApplication () |
Static Public Member Functions | |
static int | Register (const std::string &dbname="calibrations") |
static int | releaseConnection () |
static PgPostApplication * | instance () |
Static Public Member Functions inherited from PdbApplication | |
static PdbApplication * | instance () |
Protected Member Functions | |
PgPostApplication (const std::string &dbname) | |
Protected Member Functions inherited from PdbApplication | |
PdbApplication () | |
Protected Attributes | |
bool | readOnly |
std::string | dsn |
Static Protected Attributes | |
static TSQLConnection * | con = nullptr |
static PgPostApplication * | mySpecificCopy = nullptr |
Static Protected Attributes inherited from PdbApplication | |
static std::unique_ptr < PdbApplication > | __instance |
Definition at line 14 of file PgPostApplication.h.
View newest version in sPHENIX GitHub at line 14 of file PgPostApplication.h
|
protected |
Definition at line 66 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 66 of file PgPostApplication.cc
|
virtual |
Definition at line 72 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 72 of file PgPostApplication.cc
References TSQLConnection::Close(), con, and mySpecificCopy.
|
virtual |
Implements PdbApplication.
Definition at line 132 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 132 of file PgPostApplication.cc
References PgPostBankWrapperManager::clear(), con, PgPostBankWrapperManager::instance(), and TSQLConnection::Rollback().
|
virtual |
Implements PdbApplication.
Definition at line 141 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 141 of file PgPostApplication.cc
References PgPostBankWrapperManager::clear(), PgPostBankWrapperManager::commit(), TSQLConnection::Commit(), con, PgPostBankWrapperManager::instance(), and readOnly.
|
virtual |
Implements PdbApplication.
Definition at line 159 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 159 of file PgPostApplication.cc
References KFPMath::b, PgPostBankWrapper::commit(), and PHWHERE.
|
virtual |
Implements PdbApplication.
Definition at line 174 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 174 of file PgPostApplication.cc
References KFPMath::b, PgPostBankWrapper::commit(), and PHWHERE.
|
virtual |
Implements PdbApplication.
Definition at line 188 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 188 of file PgPostApplication.cc
References TSQLConnection::Close(), and con.
TSQLConnection * PgPostApplication::getConnection | ( | ) |
Definition at line 82 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 82 of file PgPostApplication.cc
References PdbApplication::__instance, con, dsn, TSQLDriverManager::GetConnection(), gSQLDriverManager, and Register().
Referenced by PgPostBankBackupManager::CleanTable(), PgPostBankWrapper::commit(), PgPostBankBackupManager::commit(), PgPostBankBackupManager::commitAllBankfromTFile(), PgPostBankBackupManager::deleteODBCPreparedStatement(), PgPostBankBackupManager::deleteSQLStatement(), PgPostBankBackupManager::dumpTable(), PgPostBankBackupManager::fetchAllBank2TFile(), PgPostBankManager::fetchBank(), PgPostBankBackupManager::fetchBank(), PgPostBankBackupManager::getListOfRId(), PgPostBankBackupManager::getTotalRowCount(), PgPostCalBankIterator::init(), and PgPostBankBackupManager::isRIdExist().
|
static |
Definition at line 42 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 42 of file PgPostApplication.cc
Referenced by PgPostBankBackupManager::CleanTable(), PgPostBankWrapper::commit(), PgPostBankBackupManager::commit(), PgPostBankBackupManager::commitAllBankfromTFile(), PgPostBankBackupManager::deleteODBCPreparedStatement(), PgPostBankBackupManager::deleteSQLStatement(), PgPostBankBackupManager::dumpTable(), PgPostBankBackupManager::fetchAllBank2TFile(), PgPostBankManager::fetchBank(), PgPostBankBackupManager::fetchBank(), PgPostBankManager::getApplication(), PgPostBankBackupManager::getListOfRId(), PgPostBankBackupManager::getTotalRowCount(), and PgPostBankBackupManager::isRIdExist().
|
inlinevirtual |
Implements PdbApplication.
Definition at line 28 of file PgPostApplication.h.
View newest version in sPHENIX GitHub at line 28 of file PgPostApplication.h
|
static |
Definition at line 47 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 47 of file PgPostApplication.cc
Referenced by getConnection().
|
static |
Definition at line 55 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 55 of file PgPostApplication.cc
References con.
|
virtual |
Implements PdbApplication.
Definition at line 97 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 97 of file PgPostApplication.cc
References TSQLConnection::Close(), con, dsn, TSQLDriverManager::GetConnection(), gSQLDriverManager, perf_headwind::name, and PHWHERE.
|
virtual |
Implements PdbApplication.
Definition at line 125 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 125 of file PgPostApplication.cc
References readOnly.
Referenced by PgPostCalBankIterator::init().
|
virtual |
Implements PdbApplication.
Definition at line 118 of file PgPostApplication.cc.
View newest version in sPHENIX GitHub at line 118 of file PgPostApplication.cc
References readOnly.
|
staticprotected |
Definition at line 38 of file PgPostApplication.h.
View newest version in sPHENIX GitHub at line 38 of file PgPostApplication.h
Referenced by abort(), commit(), DisconnectDB(), getConnection(), setDBName(), and ~PgPostApplication().
|
protected |
Definition at line 41 of file PgPostApplication.h.
View newest version in sPHENIX GitHub at line 41 of file PgPostApplication.h
Referenced by getConnection(), and setDBName().
|
staticprotected |
Definition at line 39 of file PgPostApplication.h.
View newest version in sPHENIX GitHub at line 39 of file PgPostApplication.h
Referenced by ~PgPostApplication().
|
protected |
Definition at line 40 of file PgPostApplication.h.
View newest version in sPHENIX GitHub at line 40 of file PgPostApplication.h
Referenced by commit(), startRead(), and startUpdate().