16 #ifndef MBS_MonitorSlowControl
17 #define MBS_MonitorSlowControl
19 #ifndef DABC_ModuleAsync
27 #ifndef MBS_SlowControlData
Represents command with its arguments.
Base class for user-derived code, implementing event-processing.
Base class for monitoring of slow control data.
dabc::TimeStamp fLastSendTime
last time when buffer was send, used for flushing
virtual unsigned GetNextEventNumber()
unsigned fSubeventId
full id number for subevent
virtual unsigned GetRecRawSize()
virtual ~MonitorSlowControl()
virtual unsigned WriteRecRawData(void *ptr, unsigned maxsize)
virtual unsigned GetNextEventTime()
MonitorSlowControl(const std::string &name, const std::string &prefix, dabc::Command cmd=nullptr)
mbs::SlowControlData fRec
record used to store selected variables
bool fDoRec
when true, record should be filled
double fFlushTime
time to flush event
mbs::WriteIterator fIter
iterator for creating of MBS events
virtual void ProcessTimerEvent(unsigned timer)
Method called by framework when timer event is produced.
unsigned fEventNumber
Event number, written to MBS event.
Record for manipulation with slow control data.
unsigned Write(void *buf, unsigned buflen)
Write iterator for MBS events/subevents.
Support for MBS - standard GSI DAQ.
Class for acquiring and holding timestamps.