EUDAQ
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Static Public Member Functions | List of all members
eudaq::StringEvent Class Reference

#include <StringEvent.hh>

Inheritance diagram for eudaq::StringEvent:
eudaq::Event eudaq::Serializable

Public Member Functions

virtual void Serialize (Serializer &) const
 
 StringEvent (unsigned run, unsigned event, const std::string &str)
 
 StringEvent (Deserializer &)
 
virtual void Print (std::ostream &) const
 
virtual std::string GetType () const
 Return "StringEvent" as type.
 
- Public Member Functions inherited from eudaq::Event
 Event (unsigned run, unsigned event, uint64_t timestamp=NOTIMESTAMP, unsigned flags=0)
 
 Event (Deserializer &ds)
 
unsigned GetRunNumber () const
 
unsigned GetEventNumber () const
 
uint64_t GetTimestamp () const
 
virtual std::string GetSubType () const
 
bool HasTag (const std::string &name) const
 
std::vector< std::string > GetTagList (const std::string &prefix) const
 
EventSetTag (const std::string &name, const std::string &val)
 
template<typename T >
EventSetTag (const std::string &name, const T &val)
 
std::string GetTag (const std::string &name, const std::string &def="") const
 
std::string GetTag (const std::string &name, const char *def) const
 
template<typename T >
GetTag (const std::string &name, T def) const
 
bool IsBORE () const
 
bool IsEORE () const
 
bool HasHits () const
 
bool IsFake () const
 
bool IsSimulation () const
 
unsigned GetFlags (unsigned f=FLAG_ALL) const
 
void SetFlags (unsigned f)
 
void SetTimeStampToNow ()
 
void setTimeStamp (uint64_t timeStamp)
 
void ClearFlags (unsigned f=FLAG_ALL)
 
virtual unsigned get_id () const =0
 

Static Public Member Functions

static StringEvent BORE (unsigned run)
 
static StringEvent EORE (unsigned run, unsigned event)
 
- Static Public Member Functions inherited from eudaq::Event
static unsigned str2id (const std::string &idstr)
 
static std::string id2str (unsigned id)
 

Additional Inherited Members

- Public Types inherited from eudaq::Event
enum  Flags {
  FLAG_BORE = 1, FLAG_EORE = 2, FLAG_HITS = 4, FLAG_FAKE = 8,
  FLAG_SIMU = 16, FLAG_EUDAQ2 = 32, FLAG_PACKET = 64, FLAG_BROKEN = 128,
  FLAG_STATUS = 256, FLAG_ALL = (unsigned)-1
}
 
- Protected Types inherited from eudaq::Event
typedef std::map< std::string,
std::string > 
map_t
 
- Protected Attributes inherited from eudaq::Event
unsigned m_flags
 
unsigned m_runnumber
 
unsigned m_eventnumber
 
uint64_t m_timestamp
 
map_t m_tags
 Metadata tags in (name=value) pairs of strings.
 

Detailed Description

An Event type consisting of just a string.


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