Poco

class AbstractObserver

Library: Foundation
Package: Notifications
Header: Poco/AbstractObserver.h

Description

The base class for all instantiations of the Observer and NObserver template classes.

Inheritance

Known Derived Classes: NObserver, Observer

Member Summary

Member Functions: accepts, clone, disable, equals, notify, operator =

Constructors

AbstractObserver

AbstractObserver();

AbstractObserver

AbstractObserver(
    const AbstractObserver & observer
);

Destructor

~AbstractObserver virtual

virtual ~AbstractObserver();

Member Functions

accepts virtual

virtual bool accepts(
    Notification * pNf,
    const char * pName = 0
) const = 0;

clone virtual

virtual AbstractObserver * clone() const = 0;

disable virtual

virtual void disable() = 0;

equals virtual

virtual bool equals(
    const AbstractObserver & observer
) const = 0;

notify virtual

virtual void notify(
    Notification * pNf
) const = 0;

operator =

AbstractObserver & operator = (
    const AbstractObserver & observer
);