Jpp
|
Event table. More...
#include <JEventTable.hh>
Public Types | |
typedef std::map< std::string, JDAQStateMachine::ev_daq_event * > | JMap_t |
Public Member Functions | |
JEventTable () | |
Default constructor. More... | |
void | insert (const JNET::JTag &tag, JDAQEvent_t &event) |
Insert entry in table. More... | |
void | replace (const JNET::JTag &oldTag, const JNET::JTag &newTag, JDAQEvent_t &event) |
Replace entry in table. More... | |
const_iterator | find (const JNET::JTag &tag, const std::string &event_name) const |
Find entry. More... | |
Static Public Member Functions | |
static std::string | getKey (const JNET::JTag &tag, const CHSM::event &event) |
Get key for a given tag and event. More... | |
static std::string | getKey (const JNET::JTag &tag, const std::string &event_name) |
Get key for a given tag and event name. More... | |
Event table.
This class consists of a STL map<key,value> in which the key corresponds to the unique combination of a ControlHost tag and an event name. The associated value points to the corresponding event.
Definition at line 32 of file JEventTable.hh.
typedef std::map<std::string, JDAQStateMachine::ev_daq_event*> KM3NETDAQ::JEventTable::JMap_t |
Definition at line 37 of file JEventTable.hh.
|
inline |
Default constructor.
Definition at line 43 of file JEventTable.hh.
|
inlinestatic |
Get key for a given tag and event.
tag | tag |
event | event |
Definition at line 55 of file JEventTable.hh.
|
inlinestatic |
Get key for a given tag and event name.
tag | tag |
event_name | event name |
Definition at line 68 of file JEventTable.hh.
|
inline |
Insert entry in table.
tag | tag |
event | event |
Definition at line 80 of file JEventTable.hh.
|
inline |
Replace entry in table.
oldTag | old tag |
newTag | new tag |
event | event |
Definition at line 93 of file JEventTable.hh.
|
inline |
Find entry.
tag | tag |
event_name | event name |
Definition at line 112 of file JEventTable.hh.