template class Poco::TaskCustomNotification
Overview
This is a template for “custom” notification. More…
#include <TaskNotification.h> template <class C> class TaskCustomNotification: public Poco::TaskNotification { public: // construction TaskCustomNotification( Task* pTask, const C& custom ); // methods const C& custom() const; };
Inherited Members
public: // typedefs typedef AutoPtr<Notification> Ptr; // methods void duplicate() const; void release() const; int referenceCount() const; virtual std::string name() const; Task* task() const;
Detailed Documentation
This is a template for “custom” notification.
Unlike other notifications, this notification is instantiated and posted by the task itself. The purpose is to provide generic notifiation mechanism between the task and its observer(s).