List of all members.
Detailed Description
Executor consisting of other executors.
Executors may be added on the fly while processing. Depending on the parallel flag, the executors are executed in the order in which they were added or in parallel (but still single-threaded).
Constructor & Destructor Documentation
| ExecutorGroup::ExecutorGroup |
( |
const char * |
nm, |
|
|
bool |
parallel = false, |
|
|
bool |
ownsexecs = true | |
|
) |
| | |
| virtual ExecutorGroup::~ExecutorGroup |
( |
|
) |
[virtual] |
Member Function Documentation
| virtual void ExecutorGroup::add |
( |
Executor * |
|
) |
[virtual] |
You will become mine if ownsexecs_ is true!!
| void ExecutorGroup::findNextSumStop |
( |
|
) |
[protected] |
| Executor* ExecutorGroup::getExecutor |
( |
int |
idx |
) |
[inline] |
| virtual bool ExecutorGroup::goToNextExecutor |
( |
|
) |
[protected, virtual] |
| virtual const char* ExecutorGroup::message |
( |
|
) |
const [virtual] |
- Note:
- totalNr is only used for displaying progress.
Reimplemented from Task.
| virtual int ExecutorGroup::nextStep |
( |
|
) |
[protected, virtual] |
- Return values:
-
- Note:
- if function returns a value greater than cMoreToDo(), it should be interpreted as cMoreToDo().
Implements SequentialTask.
| virtual int64_t ExecutorGroup::nrDone |
( |
|
) |
const [virtual] |
- Note:
- nrDone is only used for displaying progress and will be compared to totalNr to show user how large part of the task that is finished.
Reimplemented from Task.
| virtual const char* ExecutorGroup::nrDoneText |
( |
|
) |
const [virtual] |
| int ExecutorGroup::nrExecutors |
( |
|
) |
[inline] |
| void ExecutorGroup::setNrDoneText |
( |
const char * |
txt |
) |
[inline] |
If set, will use this and the counted nrdone.
| virtual int64_t ExecutorGroup::totalNr |
( |
|
) |
const [virtual] |
Member Data Documentation