Poco

template < class C >

class TaskCustomNotification

Library: Foundation
Package: Tasks
Header: Poco/TaskNotification.h

Description

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 notification mechanism between the task and its observer(s).

Inheritance

Direct Base Classes: TaskNotification

All Base Classes: Notification, RefCountedObject, TaskNotification

Member Summary

Member Functions: custom

Inherited Functions: duplicate, name, referenceCount, release, task

Constructors

TaskCustomNotification inline

TaskCustomNotification(
    Task * pTask,
    const C & custom
);

Destructor

~TaskCustomNotification protected virtual inline

~TaskCustomNotification();

Member Functions

custom inline

const C & custom() const;