![]() |
ATLAS Offline Software
|
Database Storage Manager, controls the database session and the different loader classes for DB access. More...
#include <StorageMgr.h>
Public Member Functions | |
| StorageMgr (const std::string &cs, const std::string &user="", const std::string &password="", std::ostream &o=std::cout) | |
| constructor | |
| StorageMgr (const std::string &type, const std::string &server, const std::string &name, const std::string &user, const std::string &password, std::ostream &o=std::cout) | |
| constructor | |
| virtual | ~StorageMgr () override |
| destructor | |
| void | setLevel (MSGTC::Level lvl) override |
| void | setCTPVersion (unsigned int v) override |
| void | setL1Version (unsigned int v) override |
| unsigned int | ctpVersion () const override |
| unsigned int | l1Version () const override |
| SessionMgr & | sessionMgr () |
| creates and returns a new database session manager | |
| virtual IL1TopoMenuLoader & | l1topoMenuLoader () override |
| virtual IMasterTableLoader & | masterTableLoader () override |
| virtual IMenuLoader & | menuLoader () override |
| virtual IMuctpiLoader & | muctpiLoader () override |
| virtual IDeadTimeLoader & | deadTimeLoader () override |
| virtual IPrescaledClockLoader & | prescaledClockLoader () override |
| virtual IRandomLoader & | randomLoader () override |
| virtual IThresholdConfigLoader & | thresholdConfigLoader () override |
| virtual ITriggerThresholdLoader & | triggerThresholdLoader () override |
| virtual ITriggerThresholdValueLoader & | triggerThresholdValueLoader () override |
| virtual IThresholdMonitorLoader & | thresholdMonitorLoader () override |
| virtual ICTPFilesLoader & | ctpFilesLoader () override |
| virtual ICaloJetInputLoader & | caloJetInputLoader () override |
| virtual ICaloSinCosLoader & | caloSinCosLoader () override |
| virtual ICaloInfoLoader & | caloInfoLoader () override |
| virtual ILutCamLoader & | lutcamLoader () override |
| virtual IPrescaleSetLoader & | prescaleSetLoader () override |
| virtual IPrioritySetLoader & | prioritySetLoader () override |
| virtual IBunchGroupLoader & | bunchGroupLoader () override |
| virtual IBunchGroupSetLoader & | bunchGroupSetLoader () override |
| virtual ICTPConfigLoader & | ctpConfigLoader () override |
| virtual ICTPConfigLoader & | ctpConfigOnlineLoader () override |
| virtual IHLTFrameLoader & | hltFrameLoader () override |
| virtual IJobOptionTableLoader & | jobOptionTableLoader () override |
| IHLTPrescaleSetLoader & | hltPrescaleSetLoader () |
| IHLTPrescaleSetCollectionLoader & | hltPrescaleSetCollectionLoader () |
| IMuonThresholdSetLoader & | muonThresholdSetLoader () |
| void | closeSession () |
| void | setUseFrontier (bool useFrontier) |
| bool | useFrontier () const |
| void | setRetrialPeriod (int retrialPeriod) |
| void | setRetrialTimeout (int retrialTimeout) |
| void | setConnectionTimeout (int connectionTimeout) |
| int | retrialPeriod () const |
| int | retrialTimeout () const |
| int | connectionTimeout () const |
| bool | msgLvl (const MSGTC::Level lvl) const |
| Test the output level. | |
| MsgStreamTC & | msg () const |
| The standard message stream. | |
| MsgStreamTC & | msg (const MSGTC::Level lvl) const |
| The standard message stream. | |
| const std::string & | getName () const |
| name accessor | |
Private Member Functions | |
| template<class L> | |
| L * | NewLoader () |
Private Attributes | |
| IHLTPrescaleSetLoader * | m_hltPrescaleSetLoader { nullptr } |
| IHLTPrescaleSetCollectionLoader * | m_hltPrescaleSetCollectionLoader { nullptr } |
| SessionMgr * | m_sessionMgr { nullptr } |
| std::string | m_cs {""} |
| connection string | |
| std::string | m_dbtype {""} |
| db type | |
| std::string | m_dbserver {""} |
| db server | |
| std::string | m_dbname {""} |
| db name | |
| std::string | m_user {""} |
| user name | |
| std::string | m_password {""} |
| password | |
| bool | m_useFrontier {false} |
| using frontier to connect to oracle (if set, disables sqlite) | |
| int | m_retrialPeriod {0} |
| int | m_retrialTimeout {0} |
| int | m_connectionTimeout {0} |
| boost::thread_specific_ptr< MsgStreamTC > | m_msg_tls |
| MsgStreamTC instance (a std::cout like with print-out levels) | |
| std::string | m_name |
Database Storage Manager, controls the database session and the different loader classes for DB access.
Definition at line 23 of file StorageMgr.h.
| TrigConf::StorageMgr::StorageMgr | ( | const std::string & | cs, |
| const std::string & | user = "", | ||
| const std::string & | password = "", | ||
| std::ostream & | o = std::cout ) |
constructor
| cs | connection string |
| user | user name, if not specified the XML authentication will be used |
| password | password string (only used in connection with a user name) |
| o | output stream for all messages |
Definition at line 42 of file StorageMgr.cxx.
| TrigConf::StorageMgr::StorageMgr | ( | const std::string & | type, |
| const std::string & | server, | ||
| const std::string & | name, | ||
| const std::string & | user, | ||
| const std::string & | password, | ||
| std::ostream & | o = std::cout ) |
constructor
| type | Server technology |
| server | Server name |
| name | Database name, or schema name, or alias |
| user | user name, if not specified the XML authentication will be used |
| password | password string (only used in connection with a user name) |
| o | output stream for all messages |
Definition at line 52 of file StorageMgr.cxx.
|
overridevirtual |
destructor
Definition at line 67 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 201 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 206 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 170 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 160 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 165 of file StorageMgr.cxx.
| void StorageMgr::closeSession | ( | ) |
Definition at line 82 of file StorageMgr.cxx.
|
inline |
Definition at line 112 of file StorageMgr.h.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 211 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 216 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 180 of file StorageMgr.cxx.
|
inlineoverridevirtual |
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 130 of file StorageMgr.cxx.
|
inlineinherited |
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 225 of file StorageMgr.cxx.
| TrigConf::IHLTPrescaleSetCollectionLoader & TrigConf::StorageMgr::hltPrescaleSetCollectionLoader | ( | ) |
Definition at line 240 of file StorageMgr.cxx.
| TrigConf::IHLTPrescaleSetLoader & TrigConf::StorageMgr::hltPrescaleSetLoader | ( | ) |
Definition at line 235 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 230 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 110 of file StorageMgr.cxx.
|
inlineoverridevirtual |
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 186 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 115 of file StorageMgr.cxx.
|
overridevirtual |
|
inlineinherited |
The standard message stream.
Returns a reference to the message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 86 of file TrigConfMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 96 of file TrigConfMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 75 of file TrigConfMessaging.h.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 125 of file StorageMgr.cxx.
| TrigConf::IMuonThresholdSetLoader & TrigConf::StorageMgr::muonThresholdSetLoader | ( | ) |
Definition at line 220 of file StorageMgr.cxx.
|
inlineprivate |
Definition at line 117 of file StorageMgr.h.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 135 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 191 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 196 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 140 of file StorageMgr.cxx.
|
inline |
Definition at line 110 of file StorageMgr.h.
|
inline |
Definition at line 111 of file StorageMgr.h.
| SessionMgr & StorageMgr::sessionMgr | ( | ) |
creates and returns a new database session manager
Definition at line 88 of file StorageMgr.cxx.
|
inline |
Definition at line 108 of file StorageMgr.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements TrigConf::StorageMgrBase.
Definition at line 76 of file StorageMgr.cxx.
|
inline |
Definition at line 106 of file StorageMgr.h.
|
inline |
Definition at line 107 of file StorageMgr.h.
|
inline |
Definition at line 103 of file StorageMgr.h.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 145 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 175 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 150 of file StorageMgr.cxx.
|
overridevirtual |
Implements TrigConf::IStorageMgr.
Definition at line 155 of file StorageMgr.cxx.
|
inline |
Definition at line 104 of file StorageMgr.h.
|
protectedinherited |
Definition at line 70 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 71 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 66 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 64 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 65 of file StorageMgrBase.h.
|
private |
Definition at line 135 of file StorageMgr.h.
|
private |
|
protectedinherited |
Definition at line 72 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 63 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 78 of file StorageMgrBase.h.
|
private |
|
private |
|
private |
|
protectedinherited |
Definition at line 56 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 74 of file StorageMgrBase.h.
|
private |
Definition at line 122 of file StorageMgr.h.
|
private |
Definition at line 121 of file StorageMgr.h.
|
protectedinherited |
Definition at line 75 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 76 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 79 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 67 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 53 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 54 of file StorageMgrBase.h.
|
mutableprivateinherited |
MsgStreamTC instance (a std::cout like with print-out levels)
Definition at line 71 of file TrigConfMessaging.h.
|
protectedinherited |
Definition at line 55 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 73 of file StorageMgrBase.h.
|
privateinherited |
Definition at line 72 of file TrigConfMessaging.h.
|
private |
|
protectedinherited |
Definition at line 57 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 68 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 69 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 58 of file StorageMgrBase.h.
|
private |
Definition at line 133 of file StorageMgr.h.
|
private |
Definition at line 134 of file StorageMgr.h.
|
private |
Definition at line 124 of file StorageMgr.h.
|
protectedinherited |
Definition at line 59 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 62 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 60 of file StorageMgrBase.h.
|
protectedinherited |
Definition at line 61 of file StorageMgrBase.h.
|
private |
using frontier to connect to oracle (if set, disables sqlite)
Definition at line 131 of file StorageMgr.h.
|
private |