24 #ifndef __evProgressReporter_h 25 #define __evProgressReporter_h 40 return(
evString(
"evProgressReporter"));
48 const unsigned int max_count);
79 this->
Thread = report_to_thread;
92 const unsigned int max_count)
94 unsigned int progress;
98 if (count == max_count)
102 progress = count / (max_count / 100);
107 progress = (int)((
double)count / max_count * 100);
113 sizeof(
unsigned int),
char * GetString(void)
Definition: evString.h:110
evProgressReporter(void)
Definition: evProgressReporter.h:62
Definition: evProgressReporter.h:32
unsigned int PreviousProgress
Definition: evProgressReporter.h:55
evMultiProcessController * Controller
Definition: evProgressReporter.h:56
int Thread
Definition: evProgressReporter.h:57
void ReportProgress(const double progress)
Definition: evProgressReporter.h:84
virtual ~evProgressReporter(void)
Definition: evProgressReporter.h:69
virtual const evString GetClassName(void) const
Definition: evProgressReporter.h:38
#define EVMESSAGE_PROGRESS
Definition: evDefinitions.h:49
#define EVSTRINGLEN
Definition: evString.h:28
Definition: evMultiProcessController.h:122
#define EVMESSAGE_PROCESS
Definition: evDefinitions.h:50
virtual int Send(vtkDataObject *data, int remoteProcessId, int tag)
void ReportProcess(evString process)
Definition: evProgressReporter.h:121
void SetController(const int report_to_thread, evMultiProcessController *controller)
Definition: evProgressReporter.h:74
Definition: evString.h:30