Class Reference for E1039 Core & Analysis Software
PdbBankManager Class Referenceabstract

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/database/pdbcal/base/PdbBankManager.h>

+ Collaboration diagram for PdbBankManager:

Public Member Functions

virtual PdbCalBankIteratorgetIterator ()=0
 Get an iterator to loop over banks. More...
 
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 > > &usedbanks) const
 
virtual void ClearUsedBankRids ()
 
virtual void SetMaxInsertTime (const PHTimeStamp &tMax)
 

Static Public Member Functions

static PdbBankManagerinstance ()
 

Protected Member Functions

 PdbBankManager ()
 
virtual ~PdbBankManager ()
 

Static Protected Attributes

static PdbBankManager__instance = NULL
 

Detailed Description

Definition at line 22 of file PdbBankManager.h.

Constructor & Destructor Documentation

◆ PdbBankManager()

PdbBankManager::PdbBankManager ( )
protected

Definition at line 16 of file PdbBankManager.cc.

◆ ~PdbBankManager()

PdbBankManager::~PdbBankManager ( )
protectedvirtual

Definition at line 20 of file PdbBankManager.cc.

References __instance, and NULL.

Member Function Documentation

◆ ClearUsedBankRids()

virtual void PdbBankManager::ClearUsedBankRids ( )
inlinevirtual

Definition at line 108 of file PdbBankManager.h.

◆ createBank() [1/3]

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

◆ createBank() [2/3]

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

◆ createBank() [3/3]

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

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

+ Here is the caller graph for this function:

◆ fetchBank() [1/2]

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

Referenced by PHParameters::ReadFromDB(), and PHG4Parameters::ReadFromDB().

+ Here is the caller graph for this function:

◆ fetchBank() [2/2]

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

◆ fetchClosestBank() [1/2]

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

◆ fetchClosestBank() [2/2]

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

◆ fillCalibObject()

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

◆ getApplication()

virtual PdbApplication* PdbBankManager::getApplication ( )
pure virtual

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

+ Here is the caller graph for this function:

◆ getIterator()

virtual PdbCalBankIterator* PdbBankManager::getIterator ( )
pure virtual

Get an iterator to loop over banks.

◆ GetUsedBankRids()

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

Definition at line 107 of file PdbBankManager.h.

◆ instance()

PdbBankManager * PdbBankManager::instance ( )
static

Definition at line 25 of file PdbBankManager.cc.

References __instance.

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

+ Here is the caller graph for this function:

◆ SetMaxInsertTime()

virtual void PdbBankManager::SetMaxInsertTime ( const PHTimeStamp tMax)
inlinevirtual

Definition at line 109 of file PdbBankManager.h.

Member Data Documentation

◆ __instance

PdbBankManager * PdbBankManager::__instance = NULL
staticprotected

Definition at line 113 of file PdbBankManager.h.

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


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