ork::TaskListener Class Reference

A task listener, notified when changes occur in a task. More...

#include <Task.h>

Inheritance diagram for ork::TaskListener:
ork::TaskGraph

List of all members.

Public Member Functions

virtual void taskStateChanged (ptr< Task > t, bool done, Task::reason r)=0
 Notifies this listener that the execution state of the given task has changed.
virtual void completionDateChanged (ptr< Task > t, unsigned int date)=0
 Notifies this listener that the completion date of the given task has changed.

Detailed Description

A task listener, notified when changes occur in a task.


Member Function Documentation

virtual void ork::TaskListener::completionDateChanged ( ptr< Task t,
unsigned int  date 
) [pure virtual]

Notifies this listener that the completion date of the given task has changed.

Parameters:
t the task whose completion date has changed.
date the new completion date.

Implemented in ork::TaskGraph.

virtual void ork::TaskListener::taskStateChanged ( ptr< Task t,
bool  done,
Task::reason  r 
) [pure virtual]

Notifies this listener that the execution state of the given task has changed.

Parameters:
t the task whose execution state has changed.
done the new execution state.
r if done is false, the reason why the task must be reexecuted.

Implemented in ork::TaskGraph.


Generated on Mon Oct 18 09:36:12 2010 for ork by  doxygen 1.6.1