Poco::UPnP::GENA

template < typename T >

class MaximumRateModerationPolicy

File Information

Library: UPnP/GENA
Package: StateVariables
Header: Poco/UPnP/GENA/EventModerationPolicy.h

Description

This event moderation policy will fire an event at most every n seconds. An external Poco::Util::Timer instance must be supplied.

Inheritance

Direct Base Classes: EventModerationPolicy

All Base Classes: EventModerationPolicy

Member Summary

Member Functions: onTimer, operator =, valueChanged

Types

Event

typedef Poco::BasicEvent < const T > Event;

Constructors

MaximumRateModerationPolicy inline

MaximumRateModerationPolicy(
    const MaximumRateModerationPolicy & other
);

MaximumRateModerationPolicy inline

MaximumRateModerationPolicy(
    Event & event,
    const T & initialValue,
    int maximumRate,
    Poco::Util::Timer & timer
);

Member Functions

operator = inline

MaximumRateModerationPolicy & operator = (
    const MaximumRateModerationPolicy & other
);

valueChanged inline

void valueChanged(
    const T & newValue
);

onTimer protected inline

void onTimer(
    Poco::Util::TimerTask & param666
);

Securely control IoT edge devices from anywhere   Connect a Device