The worker class that processes single chunks of data.
More...
#include </cur/unifexp/worker.h>
List of all members.
Public Member Functions |
| Worker (int _controlNumber, 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.
|
Private Attributes |
int | controlNumber |
| The control number to recognize a compatible coordinator.
|
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.
|
mapTypes< double > | maps |
| An object which contains all the map objects to choose from.
|
partTypes< double > | partitions |
| An object which contains all the partition objects to choose from.
|
Detailed Description
The worker class that processes single chunks of data.
Definition at line 54 of file worker.h.
Constructor & Destructor Documentation
unifexp::Worker::Worker |
( |
int |
_controlNumber, |
|
|
bool |
_local = false |
|
) |
| [inline] |
The default constructor.
Definition at line 88 of file worker.h.
Member Function Documentation
int unifexp::Worker::Initialize |
( |
chomp::multiwork::mwData & |
data ) |
[inline, private] |
A function for the initialization of a worker.
Definition at line 96 of file worker.h.
int unifexp::Worker::Process |
( |
chomp::multiwork::mwData & |
data ) |
[inline, private] |
Member Data Documentation
The control number to recognize a compatible coordinator.
Definition at line 62 of file worker.h.
Referenced by Process().
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 68 of file worker.h.
An object which contains all the map objects to choose from.
Definition at line 78 of file worker.h.
Referenced by Process().
An object which contains all the partition objects to choose from.
Definition at line 82 of file worker.h.
Referenced by Process().
The documentation for this class was generated from the following file: