ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
pool::PersistencySvc::TechnologyDispatcher Class Reference

#include <TechnologyDispatcher.h>

Collaboration diagram for pool::PersistencySvc::TechnologyDispatcher:

Public Member Functions

 TechnologyDispatcher (DatabaseRegistry &registry, ITransaction &transaction)
 Constructor. More...
 
 ~TechnologyDispatcher ()
 Destructor. More...
 
MicroSessionManagermicroSessionManager (long technology)
 Returns the technology given a technology type. More...
 
const MicroSessionManagermicroSessionManager (long technology) const
 
MicroSessionManagermicroSessionManager (const std::string &technology)
 
const MicroSessionManagermicroSessionManager (const std::string &technology) const
 
bool disconnectAll ()
 Disconnects from all the databases. More...
 

Private Attributes

DatabaseRegistrym_registry
 
ITransactionm_transaction
 
std::map< long, MicroSessionManager * > m_technologyTypes
 
std::map< std::string, MicroSessionManager * > m_technologyNames
 

Detailed Description

TechnologyDispatcher is a class that delivers the appropriate MicroSessionManager given a technology.

Definition at line 30 of file TechnologyDispatcher.h.

Constructor & Destructor Documentation

◆ TechnologyDispatcher()

pool::PersistencySvc::TechnologyDispatcher::TechnologyDispatcher ( DatabaseRegistry registry,
ITransaction transaction 
)

Constructor.

◆ ~TechnologyDispatcher()

pool::PersistencySvc::TechnologyDispatcher::~TechnologyDispatcher ( )

Destructor.

Member Function Documentation

◆ disconnectAll()

bool pool::PersistencySvc::TechnologyDispatcher::disconnectAll ( )

Disconnects from all the databases.

◆ microSessionManager() [1/4]

MicroSessionManager& pool::PersistencySvc::TechnologyDispatcher::microSessionManager ( const std::string &  technology)

◆ microSessionManager() [2/4]

const MicroSessionManager& pool::PersistencySvc::TechnologyDispatcher::microSessionManager ( const std::string &  technology) const

◆ microSessionManager() [3/4]

MicroSessionManager& pool::PersistencySvc::TechnologyDispatcher::microSessionManager ( long  technology)

Returns the technology given a technology type.

◆ microSessionManager() [4/4]

const MicroSessionManager& pool::PersistencySvc::TechnologyDispatcher::microSessionManager ( long  technology) const

Member Data Documentation

◆ m_registry

DatabaseRegistry& pool::PersistencySvc::TechnologyDispatcher::m_registry
private

Definition at line 49 of file TechnologyDispatcher.h.

◆ m_technologyNames

std::map< std::string, MicroSessionManager* > pool::PersistencySvc::TechnologyDispatcher::m_technologyNames
private

Definition at line 52 of file TechnologyDispatcher.h.

◆ m_technologyTypes

std::map< long, MicroSessionManager* > pool::PersistencySvc::TechnologyDispatcher::m_technologyTypes
private

Definition at line 51 of file TechnologyDispatcher.h.

◆ m_transaction

ITransaction& pool::PersistencySvc::TechnologyDispatcher::m_transaction
private

Definition at line 50 of file TechnologyDispatcher.h.


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