Jpp
16.0.0
the software that should make you happy
|
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 JTag &tag, JDAQEvent_t &event) |
Insert entry in table. More... | |
void | replace (const JTag &oldTag, const JTag &newTag, JDAQEvent_t &event) |
Replace entry in table. More... | |
const_iterator | find (const JTag &tag, const std::string &event_name) const |
Find entry. More... | |
Static Public Member Functions | |
static std::string | getKey (const JTag &tag, const CHSM::event &event) |
Get key for a given tag and event. More... | |
static std::string | getKey (const 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 35 of file JEventTable.hh.
typedef std::map<std::string, JDAQStateMachine::ev_daq_event*> KM3NETDAQ::JEventTable::JMap_t |
Definition at line 40 of file JEventTable.hh.
|
inline |
Default constructor.
Definition at line 46 of file JEventTable.hh.
|
inlinestatic |
Get key for a given tag and event.
tag | tag |
event | event |
Definition at line 58 of file JEventTable.hh.
|
inlinestatic |
Get key for a given tag and event name.
tag | tag |
event_name | event name |
Definition at line 71 of file JEventTable.hh.
|
inline |
Insert entry in table.
tag | tag |
event | event |
Definition at line 83 of file JEventTable.hh.
|
inline |
Replace entry in table.
oldTag | old tag |
newTag | new tag |
event | event |
Definition at line 96 of file JEventTable.hh.
|
inline |
Find entry.
tag | tag |
event_name | event name |
Definition at line 116 of file JEventTable.hh.