| # 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