5 #ifndef PDBBANKMANAGER_HH__
6 #define PDBBANKMANAGER_HH__
42 const std::string &) = 0;
50 const time_t duration=60) = 0;
58 const std::string &) = 0;
107 virtual void GetUsedBankRids(std::map<std::string,std::set<int> > &usedbanks)
const {}
virtual PdbCalBank * fetchClosestBank(const std::string &, PdbBankID, const std::string &, PHTimeStamp &)=0
virtual PdbCalBank * fetchClosestBank(const std::string &, PdbBankID, const std::string &, const int)=0
virtual ~PdbBankManager()
virtual PdbCalBank * createBank(const int, const int, const std::string &, PdbBankID, const std::string &, const std::string &)=0
virtual PdbCalBankIterator * getIterator()=0
Get an iterator to loop over banks.
virtual void GetUsedBankRids(std::map< std::string, std::set< int > > &usedbanks) const
virtual PdbCalBank * fetchBank(const std::string &, PdbBankID, const std::string &, const int)=0
static PdbBankManager * instance()
virtual void ClearUsedBankRids()
virtual PdbCalBank * fetchBank(const std::string &, PdbBankID, const std::string &, const PHTimeStamp &)=0
virtual PdbApplication * getApplication()=0
virtual void SetMaxInsertTime(const PHTimeStamp &tMax)
virtual void fillCalibObject(PdbCalBank *, const std::string &, PHTimeStamp &)=0
static PdbBankManager * __instance
virtual PdbCalBank * createBank(const std::string &, PdbBankID, const std::string &, PHTimeStamp &, PHTimeStamp &, const std::string &)=0
virtual PdbCalBank * createBank(const int, const std::string &, PdbBankID, const std::string &, const std::string &, const time_t duration=60)=0