16 #ifndef HADAQ_MonitorModule
17 #define HADAQ_MonitorModule
51 uint32_t
DoRead(uint32_t addr0, uint32_t addr);
Reference on memory from memory pool.
Represents command with its arguments.
Base class for user-derived code, implementing event-processing.
Monitor of TRB slow control data.
uint32_t fEventId
event number
double fInterval
Time interval for reading in seconds.
std::string GetItemName(unsigned addr)
unsigned fTriggerType
trigger type
std::string fTopFolder
name of top folder, which should exists also in every variable
std::string fShellCmd
shell command with formats pattern
std::vector< uint64_t > fAddrs
array of monitored address
bool ReadAllVariables(dabc::Buffer &buf)
void ProcessTimerEvent(unsigned timer) override
Method called by framework when timer event is produced.
std::vector< uint64_t > fAddrs0
array of monitored address
virtual ~MonitorModule()=default
uint32_t DoRead(uint32_t addr0, uint32_t addr)
MonitorModule(const std::string &name, dabc::Command cmd=nullptr)
void BeforeModuleStart() override
void OnThreadAssigned() override
unsigned fSubevId
subevent id
Support for HADAQ - HADES DAQ