mermaid::support::activeobject::Task Class Reference

Task base class. More...

#include <Task.hpp>

Inheritance diagram for mermaid::support::activeobject::Task:
Inheritance graph
[legend]
Collaboration diagram for mermaid::support::activeobject::Task:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void cancelRepeat ()
Time getScheduledTime ()
 Scheduled time getter.
bool hasRepeatScheduling ()
void incrementScheduledTimeForRepeat ()
bool isOkToRun ()
virtual void run ()
 Method to run the Task.
 Task (Time scheduledTime=Time::getCurrentTime(), bool repeatScheduling=false, float repeatFrequency=0.0)
 Task constructor. scheduledTime Time at which Task should be executed repeatScheduling If true, the Task will be rescheduled after it has completed its execution. repeatFrequency Defines the frequency at which the Task should execute.

Detailed Description

Task base class.

Author:
Marco Barbosa + Nelson Ramos

Definition at line 51 of file Task.hpp.


Constructor & Destructor Documentation

Task::Task ( Time  scheduledTime = Time::getCurrentTime(),
bool  repeatScheduling = false,
float  repeatFrequency = 0.0 
)

Task constructor. scheduledTime Time at which Task should be executed repeatScheduling If true, the Task will be rescheduled after it has completed its execution. repeatFrequency Defines the frequency at which the Task should execute.

Author:
Marco Barbosa + Nelson Ramos

Definition at line 45 of file Task.cpp.


Member Function Documentation

Time Task::getScheduledTime (  ) 

Scheduled time getter.

Returns:
Time that Task is scheduled to run
Author:
Marco Barbosa + Nelson Ramos

Definition at line 67 of file Task.cpp.

void Task::run (  )  [virtual]
Generated on Fri Mar 4 22:15:43 2011 for MeRMaID::support by  doxygen 1.6.3