Gaudi Framework, version v23r6

Home   Generated: Wed Jan 30 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IssueLogger.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_ISSUELOGGER_H
2 #define GAUDISVC_ISSUELOGGER_H
3 
4 #include "GaudiKernel/Service.h"
7 #include "GaudiKernel/Property.h"
8 #include "StreamLogger.h"
9 #include "boost/function.hpp"
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 // Forward declarations
15 template <class TYPE> class SvcFactory;
16 
17 class IssueLogger: public extends1<Service, IIssueLogger> {
18 
19 public:
20  friend class SvcFactory<IssueLogger>;
21 
22  virtual StatusCode initialize();
23  virtual StatusCode reinitialize();
24  virtual StatusCode finalize();
25 
26  IssueLogger(const std::string& name, ISvcLocator *svc );
27 
29  const std::string& origin);
30  void report(const IssueSeverity& err);
31 
32 
33 protected:
34 
35  virtual ~IssueLogger();
36 
37 private:
38 
42 
44 
46  boost::function<void (const std::string&)> m_log[IssueSeverity::NUM_LEVELS];
47 
52 
53 
54  StatusCode connect( const std::string& );
55  void getTraceBack(std::string& stack);
56 
59 
60  void setupDefaultLogger();
61  void setupLevels(Property& prop);
62  void setupStreams(Property& prop);
63 
64 };
65 
66 #endif

Generated at Wed Jan 30 2013 17:13:41 for Gaudi Framework, version v23r6 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004