EPICS ARCHIVER V4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Member Functions | List of all members
ProcessVariableFilter Class Reference

A filter that a SampleMechanism can place between the ProcessVariable and its ProcessVariableListener implementation. More...

#include <ProcessVariableFilter.h>

Inheritance diagram for ProcessVariableFilter:
ProcessVariableListener ProcessVariableStateListener ProcessVariableValueListener DisableFilter RepeatFilter TimeFilter TimeSlotFilter

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...
 
- Public Member Functions inherited from ProcessVariableStateListener
virtual ~ProcessVariableStateListener ()
 Constructor.
 

Detailed Description

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.

Member Function Documentation

virtual void ProcessVariableFilter::pvConnected ( ProcessVariable pv,
const epicsTime &  when 
)
virtual

React to connection, then pass on to listener.

See Also
ProcessVariableListener

Implements ProcessVariableStateListener.

Reimplemented in DisableFilter, and RepeatFilter.

virtual void ProcessVariableFilter::pvDisconnected ( ProcessVariable pv,
const epicsTime &  when 
)
virtual

React to disconnect, then pass on to listener.

See Also
ProcessVariableListener

Implements ProcessVariableStateListener.

Reimplemented in DisableFilter, and RepeatFilter.

virtual void ProcessVariableFilter::pvValue ( ProcessVariable pv,
const RawValue::Data data 
)
virtual

React to new value and filter it.

Might invoke listener with the value, another value, or not at all.

See Also
ProcessVariableListener

Implements ProcessVariableValueListener.

Reimplemented in DisableFilter, RepeatFilter, TimeFilter, and TimeSlotFilter.


The documentation for this class was generated from the following file: