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

In This Package:

ConditionInfo Class Reference

The simplest implementation of the IConditionInfo abstract interface. More...

#include <Det/DetDesc/ConditionInfo.h>

Inheritance diagram for ConditionInfo:

[legend]
Collaboration diagram for ConditionInfo:
[legend]
List of all members.

Public Types

 SUCCESS
 NO_INTERFACE
 VERSMISMATCH
 LAST_ERROR
enum  Status

Public Member Functions

 ConditionInfo (IDetectorElement *de, const std::string &condition)
 Constructor.
virtual ~ConditionInfo ()
 Destructor.
virtual IDetectorElementdetElem () const
 Get a pointer to the detector element to which the ConditionInfo belongs.
virtual const std::string & conditionName () const
 Get the name of the associated condition.
virtual Conditioncondition ()
 Get a pointer to the associated condition.
StatusCode queryInterface (const InterfaceID &ID, void **ppI)
 query interface
unsigned long addRef ()
 add reference
unsigned long release ()
 release

Static Public Member Functions

static const InterfaceIDinterfaceID ()
 retrieve the uniqie interface identifier

Public Attributes

 SUCCESS
 NO_INTERFACE
 VERSMISMATCH
 LAST_ERROR

Private Member Functions

IDataProviderSvcdataSvc () const
 Get a pointer to the data service responsible for condition data.

Private Attributes

IDetectorElementm_detElem
 Pointer to the detector element to which the ConditionInfo belongs.
std::string m_conditionName
 Name of the associated condition.
Conditionm_condition
 Pointer to the associated condition (loaded on demand only).
unsigned long m_count
 reference count
DetDesc::Servicesm_services
 reference to dataSvc

Detailed Description

The simplest implementation of the IConditionInfo abstract interface.

Author:
Andrea Valassi

Sebastien Ponce

Definition at line 24 of file ConditionInfo.h.


Constructor & Destructor Documentation

ConditionInfo::ConditionInfo ( IDetectorElement de,
const std::string &  condition 
)

Constructor.

virtual ConditionInfo::~ConditionInfo (  )  [virtual]

Destructor.


Member Function Documentation

IDataProviderSvc* ConditionInfo::dataSvc (  )  const [private]

Get a pointer to the data service responsible for condition data.

virtual IDetectorElement* ConditionInfo::detElem (  )  const [virtual]

Get a pointer to the detector element to which the ConditionInfo belongs.

Implements IConditionInfo.

virtual const std::string& ConditionInfo::conditionName (  )  const [virtual]

Get the name of the associated condition.

Implements IConditionInfo.

virtual Condition* ConditionInfo::condition (  )  [virtual]

Get a pointer to the associated condition.

Implements IConditionInfo.

StatusCode ConditionInfo::queryInterface ( const InterfaceID ID,
void **  ppI 
) [virtual]

query interface

Implements IInterface.

unsigned long ConditionInfo::addRef (  )  [virtual]

add reference

Implements IInterface.

unsigned long ConditionInfo::release (  )  [virtual]

release

Implements IInterface.

static const InterfaceID& IConditionInfo::interfaceID (  )  [inline, static, inherited]

retrieve the uniqie interface identifier

Returns:
the unique interface identifier

Reimplemented from IInterface.

Definition at line 34 of file IConditionInfo.h.

00034 { return IID_IConditionInfo; }


Member Data Documentation

IDetectorElement* ConditionInfo::m_detElem [private]

Pointer to the detector element to which the ConditionInfo belongs.

Definition at line 67 of file ConditionInfo.h.

std::string ConditionInfo::m_conditionName [private]

Name of the associated condition.

Definition at line 70 of file ConditionInfo.h.

Condition* ConditionInfo::m_condition [private]

Pointer to the associated condition (loaded on demand only).

Definition at line 73 of file ConditionInfo.h.

unsigned long ConditionInfo::m_count [private]

reference count

Definition at line 76 of file ConditionInfo.h.

DetDesc::Services* ConditionInfo::m_services [private]

reference to dataSvc

Definition at line 79 of file ConditionInfo.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:17 2011 for DetDesc by doxygen 1.4.7