#include <Task.h>
Public Member Functions | |
Task () | |
Constructs an empty, unnamed Task. | |
virtual | ~Task () |
void | setName (const String &name) |
Sets the name of this task. | |
const String & | getName () const |
Returns the name of the task. | |
virtual void | update ()=0 |
void | setActive (bool active=true) |
Changes this task's active status. | |
bool | getActive () const |
Returns the task's current active status. | |
virtual bool | onAdding (Manager< TaskPtr > &) |
virtual bool | onRemoving (Manager< TaskPtr > &) |
Internal overrideable for managed objects. | |
Protected Attributes | |
bool | _active |
Friends | |
class | TaskManager |
|
Constructs an empty, unnamed Task.
|
|
|
|
Returns the task's current active status.
|
|
Returns the name of the task.
|
|
Internal overrideable for managed objects. |
|
Internal overrideable for managed objects.
|
|
Changes this task's active status.
|
|
Sets the name of this task.
|
|
Updates the task. |
|
|
|
|