ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PdbBankManager Class Referenceabstract

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

+ Inheritance diagram for PdbBankManager:
+ Collaboration diagram for PdbBankManager:

Public Member Functions

virtual PdbCalBankIteratorgetIterator ()=0
 Get an iterator to loop over banks.
 
virtual PdbCalBankcreateBank (const std::string &, PdbBankID, const std::string &, PHTimeStamp &, PHTimeStamp &, const std::string &)=0
 
virtual PdbCalBankcreateBank (const int, const std::string &, PdbBankID, const std::string &, const std::string &, const time_t duration=60)=0
 
virtual PdbCalBankcreateBank (const int, const int, const std::string &, PdbBankID, const std::string &, const std::string &)=0
 
virtual PdbCalBankfetchBank (const std::string &, PdbBankID, const std::string &, const int)=0
 
virtual PdbCalBankfetchClosestBank (const std::string &, PdbBankID, const std::string &, const int)=0
 
virtual PdbCalBankfetchBank (const std::string &, PdbBankID, const std::string &, const PHTimeStamp &)=0
 
virtual PdbCalBankfetchClosestBank (const std::string &, PdbBankID, const std::string &, PHTimeStamp &)=0
 
virtual PdbApplicationgetApplication ()=0
 
virtual void fillCalibObject (PdbCalBank *, const std::string &, PHTimeStamp &)=0
 
virtual void GetUsedBankRids (std::map< std::string, std::set< int > > &) const
 
virtual void ClearUsedBankRids ()
 
virtual void SetMaxInsertTime (const PHTimeStamp &)
 

Static Public Member Functions

static PdbBankManagerinstance ()
 

Protected Member Functions

 PdbBankManager ()
 
virtual ~PdbBankManager ()
 

Static Protected Attributes

static PdbBankManager__instance = nullptr
 

Detailed Description

Definition at line 21 of file PdbBankManager.h.

View newest version in sPHENIX GitHub at line 21 of file PdbBankManager.h

Constructor & Destructor Documentation

PdbBankManager::PdbBankManager ( )
inlineprotected

Definition at line 26 of file PdbBankManager.h.

View newest version in sPHENIX GitHub at line 26 of file PdbBankManager.h

PdbBankManager::~PdbBankManager ( )
protectedvirtual

Definition at line 17 of file PdbBankManager.cc.

View newest version in sPHENIX GitHub at line 17 of file PdbBankManager.cc

References __instance.

Member Function Documentation

virtual void PdbBankManager::ClearUsedBankRids ( )
inlinevirtual

Reimplemented in PgPostBankManager.

Definition at line 107 of file PdbBankManager.h.

View newest version in sPHENIX GitHub at line 107 of file PdbBankManager.h

virtual PdbCalBank* PdbBankManager::createBank ( const std::string &  ,
PdbBankID  ,
const std::string &  ,
PHTimeStamp ,
PHTimeStamp ,
const std::string &   
)
pure virtual

Implemented in PgPostBankManager.

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

+ Here is the caller graph for this function:

virtual PdbCalBank* PdbBankManager::createBank ( const int  ,
const std::string &  ,
PdbBankID  ,
const std::string &  ,
const std::string &  ,
const time_t  duration = 60 
)
pure virtual

Implemented in PgPostBankManager.

virtual PdbCalBank* PdbBankManager::createBank ( const int  ,
const int  ,
const std::string &  ,
PdbBankID  ,
const std::string &  ,
const std::string &   
)
pure virtual

Implemented in PgPostBankManager.

virtual PdbCalBank* PdbBankManager::fetchBank ( const std::string &  ,
PdbBankID  ,
const std::string &  ,
const int   
)
pure virtual

Implemented in PgPostBankManager.

Referenced by PHParameters::ReadFromDB().

+ Here is the caller graph for this function:

virtual PdbCalBank* PdbBankManager::fetchBank ( const std::string &  ,
PdbBankID  ,
const std::string &  ,
const PHTimeStamp  
)
pure virtual

Implemented in PgPostBankManager.

virtual PdbCalBank* PdbBankManager::fetchClosestBank ( const std::string &  ,
PdbBankID  ,
const std::string &  ,
const int   
)
pure virtual

Implemented in PgPostBankManager.

virtual PdbCalBank* PdbBankManager::fetchClosestBank ( const std::string &  ,
PdbBankID  ,
const std::string &  ,
PHTimeStamp  
)
pure virtual

Implemented in PgPostBankManager.

virtual void PdbBankManager::fillCalibObject ( PdbCalBank ,
const std::string &  ,
PHTimeStamp  
)
pure virtual

Implemented in PgPostBankManager.

virtual PdbApplication* PdbBankManager::getApplication ( )
pure virtual

Implemented in PgPostBankManager.

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

+ Here is the caller graph for this function:

virtual PdbCalBankIterator* PdbBankManager::getIterator ( )
pure virtual

Get an iterator to loop over banks.

Implemented in PgPostBankManager.

virtual void PdbBankManager::GetUsedBankRids ( std::map< std::string, std::set< int > > &  ) const
inlinevirtual

Reimplemented in PgPostBankManager.

Definition at line 106 of file PdbBankManager.h.

View newest version in sPHENIX GitHub at line 106 of file PdbBankManager.h

PdbBankManager * PdbBankManager::instance ( )
static

Definition at line 22 of file PdbBankManager.cc.

View newest version in sPHENIX GitHub at line 22 of file PdbBankManager.cc

References __instance.

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

+ Here is the caller graph for this function:

virtual void PdbBankManager::SetMaxInsertTime ( const PHTimeStamp )
inlinevirtual

Reimplemented in PgPostBankManager.

Definition at line 108 of file PdbBankManager.h.

View newest version in sPHENIX GitHub at line 108 of file PdbBankManager.h

Member Data Documentation

PdbBankManager * PdbBankManager::__instance = nullptr
staticprotected

Definition at line 112 of file PdbBankManager.h.

View newest version in sPHENIX GitHub at line 112 of file PdbBankManager.h

Referenced by instance(), and ~PdbBankManager().


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