decoder_base.hh

Go to the documentation of this file.
00001 
00015 #ifndef DECODER_BASE_HH
00016 #define DECODER_BASE_HH
00017 
00018 #include "types.hh"
00019 #include "constants.hh"
00020 #include "messenger.hh"
00021 
00026 class decoder_base {
00027 
00028 public:
00029 
00031   decoder_base();
00032   
00034   decoder_base(const decoder_base &original) : _name(original._name){};
00035 
00037   virtual ~decoder_base(){};
00038 
00040   void set_verbosity(MSG::Level level);
00041 
00043   MSG::Level get_verbosity() const {return _verbosity_level;};
00044 
00046   const std::string class_name() const {return _name;};
00047 
00048 protected:
00049 
00050   char _buf[200];                           
00051   bool       _verbosity[MSG::MSG_TYPE_MAX]; 
00052   MSG::Level _verbosity_level;              
00053   std::string _name;                        
00054 
00055 };
00056 
00057 #endif
00058  // end of doxygen group

Generated on Mon Apr 7 15:35:12 2014 for MyProject by  doxygen 1.4.7