Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

OFX::MultiThread::Processor Class Reference

#include <ofxsMultiThread.h>

List of all members.


Detailed Description

Class that wraps up SMP multi-processing.


Public Member Functions

 Processor ()
 ctor
virtual ~Processor ()
 dtor
virtual void multiThreadFunction (unsigned int threadID, unsigned int nThreads)=0
 function that will be called in each thread. ID is from 0..nThreads-1 nThreads are the number of threads it is being run over
virtual void multiThread (unsigned int nCPUs=0)
 Function to pass to the multi thread suite.


Constructor & Destructor Documentation

OFX::MultiThread::Processor::Processor void   ) 
 

ctor

OFX::MultiThread::Processor::~Processor  )  [virtual]
 

dtor


Member Function Documentation

void OFX::MultiThread::Processor::multiThread unsigned int  nCPUs = 0  )  [virtual]
 

Function to pass to the multi thread suite.

The nCPUs is 0, the maximum allowable number of CPUs will be used.

virtual void OFX::MultiThread::Processor::multiThreadFunction unsigned int  threadID,
unsigned int  nThreads
[pure virtual]
 

function that will be called in each thread. ID is from 0..nThreads-1 nThreads are the number of threads it is being run over


The documentation for this class was generated from the following files:
Generated on Thu Oct 9 13:03:50 2008 for OFX Support by  doxygen 1.3.9.1