Poco::RemotingNG

template < typename T >

class HysteresisFilter

File Information

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
);

HysteresisFilter inline

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

Member Functions

accept inline

bool accept(
    const T & value
);

Securely control IoT edge devices from anywhere   Connect a Device