Poco::RemotingNG

template < typename T >

class HysteresisFilter

Library: RemotingNG
Package: ORB
Header: Poco/RemotingNG/EventFilter.h

Description

This filter accepts the value if it falls below the lower threshold or rises above the upper threshold. This can be used to implement a "thermostat"-like behavior.

Inheritance

Direct Base Classes: EventFilter < T >

All Base Classes: EventFilter < T >

Member Summary

Member Functions: accept

Constructors

HysteresisFilter inline

HysteresisFilter(
    const T & lowerThreshold,
    const T & upperThreshold
);

Member Functions

accept inline

bool accept(
    const T & value
);