![]() |
ATLAS Offline Software
|
#include <UserSession.h>
Public Member Functions | |
| UserSession (IFileCatalog &fileCatalog) | |
| Constructor. More... | |
| virtual | ~UserSession () |
| Destructor. More... | |
| UserSession (const UserSession &)=delete | |
| UserSession & | operator= (const UserSession &)=delete |
| DatabaseRegistry & | registry () |
| TechnologyDispatcher & | technologyDispatcher () |
| virtual void | setDefaultConnectionPolicy (const DatabaseConnectionPolicy &policy) override final |
| Sets the default policy when databases are opened/connected. More... | |
| virtual const DatabaseConnectionPolicy & | defaultConnectionPolicy () const override final |
| Retrieves the default connection policy. More... | |
| virtual bool | disconnectAll () override final |
| Explicitly disconnects all the databases. More... | |
| virtual ITransaction & | transaction () override final |
| Returns the transaction object. More... | |
| virtual const ITransaction & | transaction () const override final |
| virtual std::vector< std::string > | connectedDatabases () const override final |
| Returns a vector with the file identifiers of the presently open databases. More... | |
| virtual std::unique_ptr< IDatabase > | databaseHandle (const std::string &dbName, DatabaseSpecification::NameType dbNameType) override final |
| Creates and returns a new database handle object. More... | |
| virtual IFileCatalog & | fileCatalog () override final |
| Returns the file catalog in use. More... | |
| void | setFileCatalog (IFileCatalog &catalog) |
| Set the file catalog to be used. More... | |
| virtual const ITechnologySpecificAttributes & | technologySpecificAttributes (long technology) const override final |
| Returns the object holding the technology specific attributes for a given technology domain. More... | |
| virtual ITechnologySpecificAttributes & | technologySpecificAttributes (long technology) override final |
| ITransaction & | globalTransaction () |
| Returns the global transaction object. More... | |
Private Attributes | |
| DatabaseConnectionPolicy * | m_policy |
| IFileCatalog * | m_catalog |
| DatabaseRegistry * | m_registry |
| GlobalTransaction * | m_transaction |
| TechnologyDispatcher * | m_technologyDispatcher |
UserSession is an implementation of the ISession interface
Definition at line 27 of file UserSession.h.
|
explicit |
Constructor.
|
virtual |
Destructor.
|
delete |
|
finaloverridevirtual |
Returns a vector with the file identifiers of the presently open databases.
Implements pool::ISession.
|
finaloverridevirtual |
Creates and returns a new database handle object.
Implements pool::ISession.
|
finaloverridevirtual |
Retrieves the default connection policy.
Implements pool::ISession.
|
finaloverridevirtual |
Explicitly disconnects all the databases.
If a transaction is active, then all the changes since the last commit are aborted.
Implements pool::ISession.
|
finaloverridevirtual |
Returns the file catalog in use.
Implements pool::ISession.
| ITransaction& pool::PersistencySvc::UserSession::globalTransaction | ( | ) |
Returns the global transaction object.
|
delete |
| DatabaseRegistry& pool::PersistencySvc::UserSession::registry | ( | ) |
|
finaloverridevirtual |
Sets the default policy when databases are opened/connected.
Implements pool::ISession.
| void pool::PersistencySvc::UserSession::setFileCatalog | ( | IFileCatalog & | catalog | ) |
Set the file catalog to be used.
| TechnologyDispatcher& pool::PersistencySvc::UserSession::technologyDispatcher | ( | ) |
|
finaloverridevirtual |
Returns the object holding the technology specific attributes for a given technology domain.
Implements pool::ISession.
|
finaloverridevirtual |
Implements pool::ISession.
|
finaloverridevirtual |
Implements pool::ISession.
|
finaloverridevirtual |
Returns the transaction object.
Implements pool::ISession.
|
private |
Definition at line 83 of file UserSession.h.
|
private |
Definition at line 82 of file UserSession.h.
|
private |
Definition at line 84 of file UserSession.h.
|
private |
Definition at line 86 of file UserSession.h.
|
private |
Definition at line 85 of file UserSession.h.
1.8.18