6 #ifndef DRVEMTSBUFFER_H
7 #define DRVEMTSBUFFER_H
14 #include "mrf/object.h"
22 explicit EVRMRMTSBuffer(
const std::string& n,
EVRMRM* evr);
23 virtual ~EVRMRMTSBuffer();
25 virtual void lock() const OVERRIDE FINAL;
26 virtual
void unlock() const OVERRIDE FINAL;
28 epicsUInt32 dropCount()
const {
return dropped; }
30 epicsUInt16 timeEvent()
const {
return timeEvt; }
31 void flushTimeSet(epicsUInt16 v);
33 epicsUInt16 flushEvent()
const {
return flushEvt; }
34 void flushEventSet(epicsUInt16 v);
39 epicsUInt32 getTimesRelFirst(epicsInt32 *arr, epicsUInt32 count)
const;
40 epicsUInt32 getTimesRelFlush(epicsInt32 *arr, epicsUInt32 count)
const;
41 epicsUInt32 getTimesRelPrevFlush(epicsInt32 *arr, epicsUInt32 count)
const;
43 IOSCANPVT flushed()
const {
return scan; }
56 std::vector<epicsTimeStamp> buf;
57 epicsTimeStamp flushtime, prevflushtime;
60 ebuf_t() :pos(0u), ok(false), prevok(false), drop(false) {
61 flushtime.secPastEpoch = 0u;
63 prevflushtime = flushtime;
66 ebuf_t(
const ebuf_t&);
Modular Register Map Event Receivers.
Definition: drvem.h:97
User implementation hook.
Definition: object.h:460