1 #ifndef SAMPLEMECHANISM_EA3_H_
2 #define SAMPLEMECHANISM_EA3_H_
5 #include "engine/SampleMechanism.h"
6 #include "engine/CircularBuffer.h"
60 virtual void addEvent(
Guard& guard,
short severity,
const epicsTime& when);
virtual void pvConnected(ProcessVariable &pv, const epicsTime &when)
ProcessVariableStateListener.
One process variable.
Definition: ProcessVariable.h:39
SampleMechanismEA3(const EngineConfig &config, ProcessVariableContext &ctx, const char *name, double period, ProcessVariableListener *disable_filt_listener)
Constructor.
Global engine configuration parameters.
Definition: EngineConfig.h:14
Automatically takes and releases an epicsMutex.
Definition: Guard.h:63
Sample Mechanism base, has a ProcessVariable and filters its values.
Definition: SampleMechanism.h:33
Listener for ProcessVariable info.
Definition: ProcessVariableListener.h:47
In-Memory buffer for values.
Definition: CircularBuffer.h:14
size_t getSampleCount(Guard &guard) const
Definition: SampleMechanismEA3.h:68
Context for ProcessVariable instances.
Definition: ProcessVariableContext.h:18
Definition: SampleMechanismEA3.h:8
virtual void pvValue(ProcessVariable &pv, const RawValue::Data *data)
ProcessVariableValueListener.
Base interface for the archiver's indices.
Definition: Index.h:16
virtual ~SampleMechanismEA3()
Destructor.
size_t getCount() const
Number of values in the buffer, 0...(capacity-1)
dbr_time_double Data
Type for accessing the raw data and its common fields.
Definition: RawValue.h:55
virtual unsigned long write(Guard &guard, Index &index)
Write current buffer to index.