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::ConnectionState Class Reference
Inheritance diagram for eudaq::ConnectionState:
eudaq::Serializable

Public Types

enum  State {
  STATE_UNINIT, STATE_UNCONF, STATE_CONF, STATE_RUNNING,
  STATE_ERROR
}
 

Public Member Functions

 ConnectionState (const std::string &msg="", int state=STATE_UNINIT)
 
 ConnectionState (Deserializer &)
 
virtual void Serialize (Serializer &) const
 
ConnectionStateSetTag (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 GetState () const
 
bool isBusy ()
 

Static Public Member Functions

static std::string State2String (int state)
 
static int String2State (const std::string &)
 

Protected Types

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

Protected Attributes

bool isbusy =false
 
int m_state
 
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: