Worker Class Reference

The worker class that processes single chunks of data which contain the definition of a selected rectangular area in the set of parameters to process. More...

#include <worker.h>

List of all members.

Public Member Functions

 Worker (bool _local=false)
 The default constructor.

Private Member Functions

int Initialize (chomp::multiwork::mwData &data)
 A function for the initialization of a worker.
int Process (chomp::multiwork::mwData &data)
 A function for processing a piece of data by a worker.
 Worker (const Worker &)
 The copy constructor is not allowed.
Workeroperator= (const Worker &)
 The assignment operator is not allowed.

Private Attributes

bool local
 Is the work being done locally? That is, in the same process as the coordinator? If so, then the global variables are not reset, such as pointbase, because this might affect the coordinator's data.


Detailed Description

The worker class that processes single chunks of data which contain the definition of a selected rectangular area in the set of parameters to process.

Definition at line 68 of file worker.h.


Constructor & Destructor Documentation

Worker::Worker ( bool  _local = false  )  [inline]

The default constructor.

Definition at line 98 of file worker.h.

Worker::Worker ( const Worker  )  [inline, private]

The copy constructor is not allowed.

Definition at line 82 of file worker.h.


Member Function Documentation

int Worker::Initialize ( chomp::multiwork::mwData &  data  )  [inline, private]

A function for the initialization of a worker.

Definition at line 105 of file worker.h.

int Worker::Process ( chomp::multiwork::mwData &  data  )  [inline, private]

A function for processing a piece of data by a worker.

Definition at line 111 of file worker.h.

References computeMorseDecomposition(), computeParam(), controlNumber, coord2str(), coordMinMax(), fileExists(), custom::pop3p::finalDepth, custom::pop3p::ignoreIsolationForContinuation, internalBoundaryPoint(), local, matchMorseDecompositions(), MapComputation< mapcomp, cubetype, cubsettype >::maxImgDiam, MapComputation< mapcomp, cubetype, cubsettype >::maxImgVol, custom::pop3p::paramCount, custom::pop3p::paramDim, custom::pop3p::paramSubdiv, plotMorseDecompositionPNG(), custom::pop3p::spaceDim, custom::pop3p::spaceOffset, and custom::pop3p::spaceWidth.

Worker& Worker::operator= ( const Worker  )  [inline, private]

The assignment operator is not allowed.

Definition at line 85 of file worker.h.


Member Data Documentation

bool Worker::local [private]

Is the work being done locally? That is, in the same process as the coordinator? If so, then the global variables are not reset, such as pointbase, because this might affect the coordinator's data.

Definition at line 92 of file worker.h.

Referenced by Process().


The documentation for this class was generated from the following file:
Generated on Sun Mar 28 17:47:59 2010 for The Conley-Morse Graphs Software by  doxygen 1.5.3