00001 // $Id: IDetElemFinder.h,v 1.1 2008/07/21 14:51:45 cattanem Exp $ 00002 #ifndef KERNEL_IDETELEMFINDER_H 00003 #define KERNEL_IDETELEMFINDER_H 1 00004 00005 // Include files 00006 // from STL 00007 #include <string> 00008 00009 // from Gaudi 00010 #include "GaudiKernel/IInterface.h" 00011 00012 class IDetectorElement; 00013 00014 static const InterfaceID IID_IDetElemFinder ( "IDetElemFinder", 1, 0 ); 00015 00024 class IDetElemFinder : virtual public IInterface { 00025 public: 00026 00028 static const InterfaceID& interfaceID() { return IID_IDetElemFinder; } 00029 00032 virtual const IDetectorElement * detectorElementForPath(const std::string &path) const = 0; 00033 00034 protected: 00035 00036 private: 00037 00038 }; 00039 #endif // KERNEL_IDETELEMFINDER_H