Library: Foundation
Package: Notifications
Header: Poco/Notification.h
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.
Direct Base Classes: RefCountedObject
All Base Classes: RefCountedObject
Known Derived Classes: TaskStartedNotification, TaskCancelledNotification, TaskFinishedNotification, TaskFailedNotification, TaskProgressNotification, TaskNotification, TaskCustomNotification, Poco::Net::SocketNotification, Poco::Net::ErrorNotification, Poco::Net::TimeoutNotification, Poco::Net::ReadableNotification, Poco::Net::WritableNotification, Poco::Net::IdleNotification, Poco::Net::ShutdownNotification
Member Functions: name
Inherited Functions: duplicate, referenceCount, release
typedef AutoPtr < Notification > Ptr;
Notification();
Creates the notification.
virtual ~Notification();
virtual std::string name() const;
Returns the name of the notification. The default implementation returns the class name.