Gaudi Framework, version v22r0

Home   Generated: 9 Feb 2011

DataIncident.h

Go to the documentation of this file.
00001 #ifndef GAUDI_DATAINCIDENT_H
00002 #define GAUDI_DATAINCIDENT_H
00003 
00004 // Include files
00005 #include "GaudiKernel/Incident.h"
00006 
00015 template<class T>
00016 class GAUDI_API ContextIncident: public Incident {
00017 public:
00019 
00025   ContextIncident(const std::string& src,const std::string& typ,T tag)
00026     : Incident(src,typ), m_tag(tag)  {  }
00027 
00029   virtual ~ContextIncident() { }
00030 
00032   const T& tag()  const { return m_tag; }
00033 
00034 private:
00035   T m_tag;
00036 };
00037 
00039 typedef ContextIncident<std::string> DataIncident;
00040 
00041 #endif //GAUDI_DATAINCIDENT_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Wed Feb 9 16:24:50 2011 for Gaudi Framework, version v22r0 by Doxygen version 1.6.2 written by Dimitri van Heesch, © 1997-2004