EPICS ARCHIVER V4
|
A filter to remove samples that go back in time or are too futuristic. More...
#include <TimeFilter.h>
Public Member Functions | |
TimeFilter (const EngineConfig &config, ProcessVariableListener *listener) | |
Construct filter, using config to determine what's too futuristic. More... | |
void | pvValue (ProcessVariable &pv, const RawValue::Data *data) |
React to new value and filter it. More... | |
![]() | |
ProcessVariableFilter (ProcessVariableListener *listener) | |
Create a PV filter which passes filtered events on to the provided listener. | |
virtual void | pvConnected (ProcessVariable &pv, const epicsTime &when) |
React to connection, then pass on to listener. More... | |
virtual void | pvDisconnected (ProcessVariable &pv, const epicsTime &when) |
React to disconnect, then pass on to listener. More... | |
![]() | |
virtual | ~ProcessVariableStateListener () |
Constructor. | |
A filter to remove samples that go back in time or are too futuristic.
Since the archived data has to go "forward" in time, going back is no option, and samples that are too far ahead of the host clock indicate a problem with either the IOC or host clock. If we stored such a sample, e.g. "1/1/2050", we could not add another sample to the archive until that date...
TimeFilter::TimeFilter | ( | const EngineConfig & | config, |
ProcessVariableListener * | listener | ||
) |
Construct filter, using config to determine what's too futuristic.
|
virtual |
React to new value and filter it.
Might invoke listener with the value, another value, or not at all.
Reimplemented from ProcessVariableFilter.