00001 //$Id: IConditionInfo.h,v 1.4 2009/02/02 12:20:22 marcocle Exp $ 00002 #ifndef DETDESC_ICONDITIONINFO_H 00003 #define DETDESC_ICONDITIONINFO_H 1 00004 00005 #include "GaudiKernel/IInterface.h" 00006 // Forward declarations 00007 class IDetectorElement; 00008 class Condition; 00009 00013 static const InterfaceID IID_IConditionInfo( "IConditionInfo" , 2 , 0 ); 00014 00016 //-------------------------------------------------------------------------- 00024 00025 class IConditionInfo : virtual public IInterface 00026 { 00027 00028 public: 00029 virtual ~IConditionInfo() { } 00030 00034 static const InterfaceID& interfaceID() { return IID_IConditionInfo; } 00035 00037 virtual IDetectorElement* detElem() const = 0 ; 00038 00040 virtual const std::string& conditionName() const = 0 ; 00041 00043 virtual Condition* condition() = 0 ; 00044 00045 }; 00046 00047 #endif // DETDESC_ICONDITIONINFO_H 00048