Poco

class Notification

File Information

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

Description

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.

Inheritance

Direct Base Classes: RefCountedObject

All Base Classes: RefCountedObject

Known Derived Classes: Poco::OSP::Mail::MailDeliveryHandle, Poco::Net::SocketNotification, Poco::Net::ReadableNotification, Poco::Net::WritableNotification, Poco::Net::ErrorNotification, Poco::Net::TimeoutNotification, Poco::Net::IdleNotification, Poco::Net::ShutdownNotification, Poco::Net::SocketProactor::IONotification, TaskNotification, TaskStartedNotification, TaskCancelledNotification, TaskFinishedNotification, TaskFailedNotification, TaskProgressNotification, TaskCustomNotification, Poco::Data::SQLChannel::LogNotification

Member Summary

Member Functions: name

Inherited Functions: duplicate, referenceCount, release

Types Aliases

Ptr

using Ptr = AutoPtr < Notification >;

Constructors

Notification

Notification();

Creates the notification.

Destructor

~Notification protected virtual

virtual ~Notification();

Member Functions

name virtual

virtual std::string name() const;

Returns the name of the notification. The default implementation returns the class name.