A task listener, notified when changes occur in a task. More...
#include <Task.h>
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. |
A task listener, notified when changes occur in a task.
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.
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.
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.