#include <TaskProgressManager.hpp>
Inheritance diagram for TaskInProgress:
Public Member Functions | |
virtual double | Progress () const |
virtual string | ProgressLabel () const |
TaskInProgress (const string &_name, TaskProgressManager *_manager=defaultTaskProgressManager) | |
Protected Member Functions | |
void | AutoKill () |
Protected Attributes | |
TaskProgressManager * | manager |
double | refTime |
string | name |
double | startTime |
double | lastReport |
Private Attributes | |
int | id |
Static Private Attributes | |
static int | idcount = 0 |
Friends | |
class | TaskProgressManager |
On creation the task is automatically registered to th TaskProgressManager. On destruction the task is automatically deleted from the TaskProgressManager. This means it's use is very simple (1-line)
Definition at line 44 of file TaskProgressManager.hpp.