template class Poco::AbstractPriorityDelegate

Overview

Base class for PriorityDelegate and PriorityExpire. Moreā€¦

#include <AbstractPriorityDelegate.h>

template <class TArgs>
class AbstractPriorityDelegate: public Poco::AbstractDelegate
{
public:
    // construction

    AbstractPriorityDelegate(int prio);
    AbstractPriorityDelegate(const AbstractPriorityDelegate& del);

    // methods

    int
    priority() const;

protected:
    // fields

    int _priority;
};

// direct descendants

template <
    class TArgs,
    bool useSender = true,
    bool senderIsConst = true
    >
class FunctionPriorityDelegate;

template <class TArgs>
class FunctionPriorityDelegate<TArgs, false>;

template <class TArgs>
class FunctionPriorityDelegate<TArgs, true, false>;

template <
    class TObj,
    class TArgs,
    bool useSender = true
    >
class PriorityDelegate;

template <
    class TObj,
    class TArgs
    >
class PriorityDelegate<TObj, TArgs, false>;

template <class TArgs>
class PriorityExpire;

Inherited Members

public:
    // methods

    virtual
    bool
    notify(
        const void* sender,
        TArgs& arguments
        ) = 0;

    virtual
    bool
    equals(const AbstractDelegate& other) const = 0;

    virtual
    AbstractDelegate*
    clone() const = 0;

    virtual
    void
    disable() = 0;

    virtual
    const AbstractDelegate*
    unwrap() const;

Detailed Documentation

Base class for PriorityDelegate and PriorityExpire.

Extends AbstractDelegate with a priority value.