EPICS ARCHIVER V4
|
A filter that a SampleMechanism can place between the ProcessVariable and its ProcessVariableListener implementation. More...
#include <ProcessVariableFilter.h>
Public Member Functions | |
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 void | pvValue (ProcessVariable &pv, const RawValue::Data *data) |
React to new value and filter it. More... | |
![]() | |
virtual | ~ProcessVariableStateListener () |
Constructor. | |
A filter that a SampleMechanism can place between the ProcessVariable and its ProcessVariableListener implementation.
User provides the "downstream" listener in the constructor, then needs to install this filter as the listener for the PV or yet another "upstream" filter.
|
virtual |
React to connection, then pass on to listener.
Implements ProcessVariableStateListener.
Reimplemented in DisableFilter, and RepeatFilter.
|
virtual |
React to disconnect, then pass on to listener.
Implements ProcessVariableStateListener.
Reimplemented in DisableFilter, and RepeatFilter.
|
virtual |
React to new value and filter it.
Might invoke listener with the value, another value, or not at all.
Implements ProcessVariableValueListener.
Reimplemented in DisableFilter, RepeatFilter, TimeFilter, and TimeSlotFilter.