Odyssey::Task Class Reference

#include <Task.h>

List of all members.

Public Member Functions

 Task ()
 Constructs an empty, unnamed Task.
virtual ~Task ()
void setName (const String &name)
 Sets the name of this task.
const StringgetName () 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


Constructor & Destructor Documentation

Odyssey::Task::Task  ) 
 

Constructs an empty, unnamed Task.

virtual Odyssey::Task::~Task  )  [virtual]
 


Member Function Documentation

bool Odyssey::Task::getActive  )  const
 

Returns the task's current active status.

const String& Odyssey::Task::getName  )  const
 

Returns the name of the task.

virtual bool Odyssey::Task::onAdding Manager< TaskPtr > &   )  [virtual]
 

Internal overrideable for managed objects.

virtual bool Odyssey::Task::onRemoving Manager< TaskPtr > &   )  [virtual]
 

Internal overrideable for managed objects.

void Odyssey::Task::setActive bool  active = true  ) 
 

Changes this task's active status.

void Odyssey::Task::setName const String name  ) 
 

Sets the name of this task.

virtual void Odyssey::Task::update  )  [pure virtual]
 

Updates the task.


Friends And Related Function Documentation

friend class TaskManager [friend]
 


Member Data Documentation

bool Odyssey::Task::_active [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Jan 7 01:18:53 2007 for Odyssey Meta-Engine by  doxygen 1.4.6-NO