class Poco::Notification

Overview

The base class for all notification classes used with the NotificationCenter and the NotificationQueue classes. Moreā€¦

#include <Notification.h>

class Notification: public Poco::RefCountedObject
{
public:
    // typedefs

    typedef AutoPtr<Notification> Ptr;

    // methods

    virtual
    std::string
    name() const;
};

// direct descendants

class SocketNotification;
class TaskNotification;

Inherited Members

public:
    // methods

    void
    duplicate() const;

    void
    release() const;

    int
    referenceCount() const;

Detailed Documentation

The base class for all notification classes used with the NotificationCenter and the NotificationQueue classes.

The Notification class can be used with the AutoPtr template class.

Methods

virtual
std::string
name() const

Returns the name of the notification.

The default implementation returns the class name.