| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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:
35 std::string m_module;
36 };
37
44 class ModuleLoadedIncident : public ModuleIncident {
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