class Poco::TaskNotification

Overview

Base class for TaskManager notifications. Moreā€¦

#include <TaskNotification.h>

class TaskNotification: public Poco::Notification
{
public:
    // construction

    TaskNotification(Task* pTask);

    // methods

    Task*
    task() const;
};

// direct descendants

class TaskCancelledNotification;

template <class C>
class TaskCustomNotification;

class TaskFailedNotification;
class TaskFinishedNotification;
class TaskProgressNotification;
class TaskStartedNotification;

Inherited Members

public:
    // typedefs

    typedef AutoPtr<Notification> Ptr;

    // methods

    void
    duplicate() const;

    void
    release() const;

    int
    referenceCount() const;

    virtual
    std::string
    name() const;

Detailed Documentation

Base class for TaskManager notifications.

Construction

TaskNotification(Task* pTask)

Creates the TaskNotification.

Methods

Task*
task() const

Returns the subject of the notification.