Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PdbApplication Class Referenceabstract

#include <coresoftware/blob/master/offline/database/pdbcal/base/PdbApplication.h>

+ Inheritance diagram for PdbApplication:

Public Member Functions

virtual ~PdbApplication ()
 
virtual PdbStatus startUpdate ()=0
 
virtual PdbStatus startRead ()=0
 
virtual PdbStatus commit ()=0
 
virtual PdbStatus abort ()=0
 
virtual PdbStatus isActive ()=0
 
virtual PdbStatus commit (PdbCalBank *)=0
 
virtual PdbStatus commit (PdbCalBank *, int, long, long, long)=0
 
virtual int setDBName (const std::string &name)=0
 
virtual int DisconnectDB ()=0
 

Static Public Member Functions

static PdbApplicationinstance ()
 

Protected Member Functions

 PdbApplication ()
 

Static Protected Attributes

static std::unique_ptr
< PdbApplication
__instance
 

Friends

class std::unique_ptr< PdbApplication >
 

Detailed Description

Definition at line 11 of file PdbApplication.h.

View newest version in sPHENIX GitHub at line 11 of file PdbApplication.h

Constructor & Destructor Documentation

PdbApplication::PdbApplication ( )
inlineprotected

Definition at line 15 of file PdbApplication.h.

View newest version in sPHENIX GitHub at line 15 of file PdbApplication.h

virtual PdbApplication::~PdbApplication ( )
inlinevirtual

Definition at line 19 of file PdbApplication.h.

View newest version in sPHENIX GitHub at line 19 of file PdbApplication.h

Member Function Documentation

virtual PdbStatus PdbApplication::abort ( )
pure virtual

Implemented in PgPostApplication.

Referenced by OnCalServer::CopySnglTableNewBankId(), PHParameters::ReadFromDB(), PHParametersContainer::WriteToDB(), and PHParameters::WriteToDB().

+ Here is the caller graph for this function:

virtual PdbStatus PdbApplication::commit ( )
pure virtual

Implemented in PgPostApplication.

Referenced by OnCalServer::CopySnglTableNewBankId(), PHParametersContainer::WriteToDB(), and PHParameters::WriteToDB().

+ Here is the caller graph for this function:

virtual PdbStatus PdbApplication::commit ( PdbCalBank )
pure virtual

Implemented in PgPostApplication.

virtual PdbStatus PdbApplication::commit ( PdbCalBank ,
int  ,
long  ,
long  ,
long   
)
pure virtual

Implemented in PgPostApplication.

virtual int PdbApplication::DisconnectDB ( )
pure virtual

Implemented in PgPostApplication.

PdbApplication * PdbApplication::instance ( )
static

Definition at line 19 of file PdbApplication.cc.

View newest version in sPHENIX GitHub at line 19 of file PdbApplication.cc

References __instance.

Referenced by OnCalServer::End().

+ Here is the caller graph for this function:

virtual PdbStatus PdbApplication::isActive ( )
pure virtual

Implemented in PgPostApplication.

virtual int PdbApplication::setDBName ( const std::string &  name)
pure virtual

Implemented in PgPostApplication.

Referenced by OnCalServer::CopySnglTableNewBankId(), OnCalServer::CreateCalibration(), and OnCalServer::End().

+ Here is the caller graph for this function:

virtual PdbStatus PdbApplication::startRead ( )
pure virtual

Implemented in PgPostApplication.

Referenced by PHParameters::ReadFromDB().

+ Here is the caller graph for this function:

virtual PdbStatus PdbApplication::startUpdate ( )
pure virtual

Implemented in PgPostApplication.

Referenced by OnCalServer::CopySnglTableNewBankId(), PHParametersContainer::WriteToDB(), and PHParameters::WriteToDB().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class std::unique_ptr< PdbApplication >
friend

Definition at line 42 of file PdbApplication.h.

View newest version in sPHENIX GitHub at line 42 of file PdbApplication.h

Member Data Documentation

std::unique_ptr< PdbApplication > PdbApplication::__instance
staticprotected

Definition at line 43 of file PdbApplication.h.

View newest version in sPHENIX GitHub at line 43 of file PdbApplication.h

Referenced by PgPostApplication::getConnection(), and instance().


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