File Information
Library: UPnP/GENA
Package: StateVariables
Header: Poco/UPnP/GENA/EventModerationPolicy.h
Description
This event moderation policy will fire an event whenever the value of an event variable changes more than the given minimum delta since the last time an event was sent.
This moderation policy can only be used with numeric (int, float, etc.) event value types.
Inheritance
Direct Base Classes: EventModerationPolicy
All Base Classes: EventModerationPolicy
Member Summary
Member Functions: operator =, valueChanged
Types
Event
typedef Poco::BasicEvent < const T > Event;
Constructors
MinimumDeltaModerationPolicy
MinimumDeltaModerationPolicy(
const MinimumDeltaModerationPolicy & other
);
MinimumDeltaModerationPolicy
MinimumDeltaModerationPolicy(
Event & event,
T initialValue,
T minimumDelta
);
Member Functions
operator =
MinimumDeltaModerationPolicy & operator = (
const MinimumDeltaModerationPolicy & other
);
valueChanged
void valueChanged(
T value
);