Poco::UPnP::GENA

template < typename T >

class MinimumDeltaModerationPolicy

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 inline

MinimumDeltaModerationPolicy(
    const MinimumDeltaModerationPolicy & other
);

MinimumDeltaModerationPolicy inline

MinimumDeltaModerationPolicy(
    Event & event,
    T initialValue,
    T minimumDelta
);

Member Functions

operator = inline

MinimumDeltaModerationPolicy & operator = (
    const MinimumDeltaModerationPolicy & other
);

valueChanged inline

void valueChanged(
    T value
);

Securely control IoT edge devices from anywhere   Connect a Device