Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:56

0001 #ifndef __ONLMONBASE_H__
0002 #define __ONLMONBASE_H__
0003 
0004 #include <string>
0005 
0006 class OnlMonBase
0007 {
0008  public:
0009   explicit OnlMonBase(const std::string &name = "NONE");
0010   virtual ~OnlMonBase() {}
0011 
0012   const std::string Name() const { return ThisName; }
0013   void Name(const std::string &name) {ThisName = name;}
0014   virtual void Verbosity(const int i) { verbosity = i; }
0015   virtual int Verbosity() const { return verbosity; }
0016 
0017  protected:
0018   std::string ThisName;
0019   int verbosity = 0;
0020 };
0021 
0022 #endif /* __ONLMONBASE_H__ */