Gaudi Framework, version v25r0

Home   Generated: Mon Feb 17 2014
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ModuleIncident.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_MODULEINCIDENT_H
2 #define GAUDIKERNEL_MODULEINCIDENT_H
3 
4 // Include files
5 #include <string>
6 #include "GaudiKernel/Incident.h"
7 
14 class ModuleIncident : public Incident {
15 protected:
17 
18  ModuleIncident(const std::string& source, // Source(service or alg) name)
19  const std::string& type, // Type (load, unload, ...)
20  const std::string& module // module(DLL) in question
21  ) : Incident(source, type), m_module(module) { }
22  virtual ~ModuleIncident() { }
24 
25 public:
27 
28  using Incident::type;
29  using Incident::source;
31  const std::string& module() const { return m_module; }
33 private:
36 };
37 
45 public:
46  static std::string TYPE() { return std::string("ModuleLoaded"); }
47  ModuleLoadedIncident(const std::string& source, // Source(service or alg) name)
48  const std::string& module // module(DLL) in question
49  ) : ModuleIncident(source, TYPE(), module) { }
50 };
51 
52 #endif //GAUDIKERNEL_MODULEINCIDENT_H
53 

Generated at Mon Feb 17 2014 14:37:43 for Gaudi Framework, version v25r0 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004