Interface that represents a basic multithreaded work item; Used by executeJob and launchJob.  
 More...
#include <artec/sdk/base/IJob.h>
Interface that represents a basic multithreaded work item; Used by executeJob and launchJob. 
Base for scanning and algorithms. 
- See also
- executeJob, launchJob 
- Examples: 
- project-sample.cpp.
Definition at line 51 of file IJob.h.
  
  | 
        
          | virtual ErrorCode artec::sdk::base::IJob::finish | ( |  | ) |  |  | pure virtual | 
 
Sums everything up in the end. 
- Note
- It's called only for the last working thread in case everything went smoothly and without any abortion. 
 
 
  
  | 
        
          | virtual const char* artec::sdk::base::IJob::getDebugName | ( |  | ) | const |  | pure virtual | 
 
Returns short job name for debug purposes. 
 
 
  
  | 
        
          | virtual unsigned int artec::sdk::base::IJob::getThreadsRequired | ( |  | ) | const |  | pure virtual | 
 
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 ErrorCode artec::sdk::base::IJob::process | ( | int | threadIndex | ) |  |  | pure virtual | 
 
Executes the algorithm's processing. 
- Note
- It's called for all working threads 
 
 
  
  | 
        
          | virtual ErrorCode artec::sdk::base::IJob::reset | ( |  | ) |  |  | pure virtual | 
 
Cleans the environment up. 
- Note
- The routine is called for the last working thread even if an error occurs 
 
 
Sets the environment up, makes a processing schedule. 
- Note
- It is called only for the first working thread 
 
 
The documentation for this class was generated from the following file: