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

Filter that passes one sample per time slot. More...

#include <TimeSlotFilter.h>

Inheritance diagram for TimeSlotFilter:
ProcessVariableFilter ProcessVariableListener ProcessVariableStateListener ProcessVariableValueListener

Public Member Functions

 TimeSlotFilter (double period, ProcessVariableListener *listener)
 Construct filter for the given period in seconds. More...
 
void pvValue (ProcessVariable &pv, const RawValue::Data *data)
 React to new value and filter it. More...
 
- Public Member Functions inherited from ProcessVariableFilter
 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...
 
- Public Member Functions inherited from ProcessVariableStateListener
virtual ~ProcessVariableStateListener ()
 Constructor.
 

Detailed Description

Filter that passes one sample per time slot.

Constructor & Destructor Documentation

TimeSlotFilter::TimeSlotFilter ( double  period,
ProcessVariableListener listener 
)

Construct filter for the given period in seconds.

Member Function Documentation

void TimeSlotFilter::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

Reimplemented from ProcessVariableFilter.


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