1 #ifndef ConditionDatabase_ConnectionPool_h 2 #define ConditionDatabase_ConnectionPool_h 9 #include "CoralBase/MessageStream.h" 16 class IConnectionServiceConfiguration;
26 namespace persistency {
36 void setMessageVerbosity( coral::MsgLevel
level );
38 void setAuthenticationSystem(
int authSysCode );
40 void setLogging(
bool flag );
41 bool isLoggingEnabled()
const;
44 Session createSession(
const std::string& connectionString,
bool writeCapable =
false );
46 std::shared_ptr<coral::ISessionProxy> createCoralSession(
const std::string& connectionString,
bool writeCapable =
false );
49 std::shared_ptr<coral::ISessionProxy> createCoralSession(
const std::string& connectionString,
51 bool writeCapable =
false );
54 bool writeCapable =
false );
55 void configure( coral::IConnectionServiceConfiguration& coralConfig );
59 coral::MsgLevel m_messageLevel = coral::Error;
60 bool m_loggingEnabled =
false;
std::map< std::string, int > m_dbTypes
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined signature