#include <artec/sdk/base/IJob.h>
- See also
- executeJob, launchJob
Definition at line 65 of file IJob.h.
virtual ErrorCode artec::sdk::base::IJob::finish |
( |
| ) |
|
|
pure virtual |
Cleans up the environment
- Note
- The routine is called for the last working thread even if an error occurs
virtual const char* artec::sdk::base::IJob::getDebugName |
( |
| ) |
const |
|
pure virtual |
Returns short job name for debug purposes.
Returns the required number of threads
- Return values
-
0 | Any positive number of threads is applicable. |
>0 | The returned number of threads is mandatory. |
virtual unsigned int artec::sdk::base::IJob::getThreadsRequired |
( |
| ) |
const |
|
pure virtual |
Sets up the environment, makes a processing schedule
- Note
- It's called only for the first working thread
virtual ErrorCode artec::sdk::base::IJob::process |
( |
int |
threadIndex | ) |
|
|
pure virtual |
Sums everything up in the end
- Note
- It's called only for the last working thread in case everything went ok and with no abortions
virtual ErrorCode artec::sdk::base::IJob::reset |
( |
| ) |
|
|
pure virtual |
Executes the algorithm's processing
- Note
- It's called for all working threads
The documentation for this class was generated from the following file: