1 #ifndef __JRUNCONTROL__JEVENTTABLE__ 
    2 #define __JRUNCONTROL__JEVENTTABLE__ 
   36     public std::map<std::string, JDAQStateMachine::ev_daq_event*>
 
   60       return getKey(tag, event.name());
 
   85       JMap_t::insert(make_pair(
getKey(tag,event), &event));
 
  102       if (i != this->end()) {
 
  118       return JMap_t::find(
getKey(tag,event_name));
 
  136     for (JEventTable::const_iterator 
i = event_table.begin(); 
i != event_table.end(); ++
i) {
 
  138       string            key = 
i->first;
 
  141       if (pos != string::npos) {
 
std::map< std::string, JDAQStateMachine::ev_daq_event * > JMap_t
 
static std::string getKey(const JTag &tag, const std::string &event_name)
Get key for a given tag and event name. 
 
static const std::string TOKEN_DELIMETER
 
void replace(const JTag &oldTag, const JTag &newTag, JDAQEvent_t &event)
Replace entry in table. 
 
JEventTable()
Default constructor. 
 
char getTokenDelimeter()
Get the token delimeter for command messages. 
 
Auxiliary class for all subscription. 
 
static std::string getKey(const JTag &tag, const CHSM::event &event)
Get key for a given tag and event. 
 
void insert(const JTag &tag, JDAQEvent_t &event)
Insert entry in table. 
 
std::string toString() const 
Convert tag to string. 
 
JSubscriptionList getSubscription(const JEventTable &event_table)
Convert event table to ControlHost subscription. 
 
JDAQStateMachine::ev_daq_event JDAQEvent_t
Type definition of a DAQ event. 
 
const_iterator find(const JTag &tag, const std::string &event_name) const 
Find entry.