EUDAQ
 All Classes Namespaces Files Functions Variables Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes | List of all members
eudaq::Status Class Reference
Inheritance diagram for eudaq::Status:
eudaq::Serializable eudaq::LogMessage

Public Types

enum  Level {
  LVL_DEBUG, LVL_OK, LVL_THROW, LVL_EXTRA,
  LVL_INFO, LVL_WARN, LVL_ERROR, LVL_USER,
  LVL_BUSY, LVL_NONE
}
 

Public Member Functions

 Status (int level=LVL_OK, const std::string &msg="")
 
 Status (Deserializer &)
 
virtual void Serialize (Serializer &) const
 
StatusSetTag (const std::string &name, const std::string &val)
 
std::string GetTag (const std::string &name, const std::string &def="") const
 
virtual void print (std::ostream &) const
 
int GetLevel () const
 

Static Public Member Functions

static std::string Level2String (int level)
 
static int String2Level (const std::string &)
 

Protected Types

typedef std::map< std::string,
std::string > 
map_t
 

Protected Attributes

int m_level
 
std::string m_msg
 
map_t m_tags
 Metadata tags in (name=value) pairs of strings.
 

The documentation for this class was generated from the following files: