The Original CHomP Software
|
A helper class for storing data on a single worker. More...
#include <mwcoord.h>
Public Member Functions | |
mwWorkerData () | |
The default constructor. More... | |
~mwWorkerData () | |
The destructor. More... | |
Public Attributes | |
mwData | data |
The data which was sent do the worker and is being processed. More... | |
int | fd |
The file descriptor number of the socket for the communication with the given worker. More... | |
std::string | name |
The computer name of the worker. More... | |
int | port |
The port number at which the worker is going to listen next time. More... | |
int | status |
The status of the worker: 0 = ok, -1 = failed, 1 = data acquired from a working one or data sent to a waiting one. More... | |
Private Member Functions | |
mwWorkerData (const mwWorkerData &) | |
The copy constructor is not allowed. More... | |
mwWorkerData & | operator= (const mwWorkerData &) |
The assignment operator is not allowed. More... | |
Friends | |
void | swap (mwWorkerData &data1, mwWorkerData &data2) |
Swaps data between two objects of this type. More... | |
A helper class for storing data on a single worker.
This data structure is used internally by the coordinator.
|
inline |
The default constructor.
Definition at line 97 of file mwcoord.h.
|
inline |
|
inlineprivate |
|
inlineprivate |
|
friend |
Swaps data between two objects of this type.
Definition at line 108 of file mwcoord.h.
mwData chomp::multiwork::mwWorkerData::data |
int chomp::multiwork::mwWorkerData::fd |
std::string chomp::multiwork::mwWorkerData::name |
int chomp::multiwork::mwWorkerData::port |
int chomp::multiwork::mwWorkerData::status |