StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StDbWrappedMessenger.hh
1 /***************************************************************************
2  *
3  * $Id: StDbWrappedMessenger.hh,v 1.1 2001/01/22 18:40:25 porter Exp $
4  *
5  * Author: R. Jeff Porter
6  ***************************************************************************
7  *
8  * Description: Implements the abstract StDbMessService class with
9  * a pointer to the StUtilities singleton StMessageManager
10  * to make use of the general STAR offline messaging utility
11  *
12  ***************************************************************************
13  * $Log: StDbWrappedMessenger.hh,v $
14  * Revision 1.1 2001/01/22 18:40:25 porter
15  * Added a wrapper for StMessage so one can use it in StDbLib
16  *
17  **************************************************************************/
18 #ifndef STDBWRAPPEDMESSENGER_HH
19 #define STDBWRAPPEDMESSENGER_HH
20 
21 #include "StDbLib/StDbMessService.hh"
22 
23 class StMessMgr;
24 
26 
27  protected:
28 
29  StMessMgr* mMessenger;
30 
31  public:
32 
34  virtual ~StDbWrappedMessenger(){};
35 
36  virtual void printMessage(const char* message,
37  StDbMessLevel dbLevel,
38  int lineNumber,
39  const char* className,
40  const char* methodName) ;
41 
42  virtual void printMessage(const char* message,
43  const char* levelString,
44  int lineNumber,
45  const char* className,
46  const char* methodName) ;
47 
48 
49 };
50 
51 
52 #endif