| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DetDesc::Services Class Reference

This class is a container for accessors to different usefull services, namely the service locator, message service and the detector data provider. More...

#include <DetDesc/Services.h>

Collaboration diagram for DetDesc::Services:

[legend]
List of all members.

Public Member Functions

virtual unsigned long addRef ()
 Increment the reference count of this instance.
virtual unsigned long release ()
 Release this instance.
ISvcLocatorsvcLocator ()
 the accessor to Service Locator
Exceptions:
GaudiException the service could not be located

IDataProviderSvcdetSvc ()
 the accessor to Detector data provider
Exceptions:
GaudiException the service could not be located

IMessageSvcmsgSvc ()
 the accessor to Message Service
Exceptions:
GaudiException the service could not be located

IUpdateManagerSvcupdMgrSvc (bool create=false)
 the accessor to Update Manager Service
Exceptions:
GaudiException the service could not be located


Static Public Member Functions

static void setServices (DetDesc::Services *val)
 reset the static pointer
static Servicesservices ()

Protected Member Functions

 Services ()
 Default constructor.
virtual ~Services ()
 Default destructor.

Private Member Functions

 Services (const Services &)
 copy constructor

Private Attributes

ISvcLocatorm_svcLocator
 The service locator.
IDataProviderSvcm_detSvc
 The Detector data provider.
IMessageSvcm_msgSvc
 The Message service.
IUpdateManagerSvcm_updMgrSvc
 The Update Manager Service.
int m_refCount
 Reference count.

Static Private Attributes

static DetDesc::Servicess_services
 a static instance of the Services class

Detailed Description

This class is a container for accessors to different usefull services, namely the service locator, message service and the detector data provider.

Author:
Sebastien Ponce

Definition at line 20 of file Services.h.


Constructor & Destructor Documentation

DetDesc::Services::Services (  )  [protected]

Default constructor.

virtual DetDesc::Services::~Services (  )  [protected, virtual]

Default destructor.

DetDesc::Services::Services ( const Services  )  [private]

copy constructor


Member Function Documentation

virtual unsigned long DetDesc::Services::addRef (  )  [virtual]

Increment the reference count of this instance.

virtual unsigned long DetDesc::Services::release (  )  [virtual]

Release this instance.

ISvcLocator* DetDesc::Services::svcLocator (  ) 

the accessor to Service Locator

Exceptions:
GaudiException the service could not be located

Returns:
pointer to message service

IDataProviderSvc* DetDesc::Services::detSvc (  ) 

the accessor to Detector data provider

Exceptions:
GaudiException the service could not be located

Returns:
pointer to detector data provider

IMessageSvc* DetDesc::Services::msgSvc (  ) 

the accessor to Message Service

Exceptions:
GaudiException the service could not be located

Returns:
pointer to message service

IUpdateManagerSvc* DetDesc::Services::updMgrSvc ( bool  create = false  ) 

the accessor to Update Manager Service

Exceptions:
GaudiException the service could not be located

Returns:
pointer to UpdateManagerSvc instance

static void DetDesc::Services::setServices ( DetDesc::Services val  )  [static]

reset the static pointer

static Services* DetDesc::Services::services (  )  [static]


Member Data Documentation

ISvcLocator* DetDesc::Services::m_svcLocator [private]

The service locator.

Definition at line 79 of file Services.h.

IDataProviderSvc* DetDesc::Services::m_detSvc [private]

The Detector data provider.

Definition at line 81 of file Services.h.

IMessageSvc* DetDesc::Services::m_msgSvc [private]

The Message service.

Definition at line 83 of file Services.h.

IUpdateManagerSvc* DetDesc::Services::m_updMgrSvc [private]

The Update Manager Service.

Definition at line 85 of file Services.h.

int DetDesc::Services::m_refCount [private]

Reference count.

Definition at line 88 of file Services.h.

DetDesc::Services* DetDesc::Services::s_services [static, private]

a static instance of the Services class

Definition at line 92 of file Services.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:00:22 2011 for DetDesc by doxygen 1.4.7