vtkMultiProcessLog.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00033 #ifndef __vtkMultiProcessLog_h
00034 #define __vtkMultiProcessLog_h
00035
00036
00037 #include "vtkObject.h"
00038
00039 class vtkThreadSafeLog;
00040
00041 #define VTK_MULTI_PROCESS_LOG_MAX 1000
00042
00043 class VTK_PARALLEL_EXPORT vtkMultiProcessLog : public vtkObject
00044 {
00045 public:
00046 static vtkMultiProcessLog *New();
00047 vtkTypeRevisionMacro(vtkMultiProcessLog,vtkObject);
00048 virtual void PrintSelf(ostream& os, vtkIndent indent);
00049
00051
00054 static void SetTimerLog(vtkThreadSafeLog *log);
00055 static vtkThreadSafeLog *GetTimerLog();
00057
00059 static void DumpLog(char *filename);
00060
00061 protected:
00062
00063 vtkMultiProcessLog() {};
00064 ~vtkMultiProcessLog() {};
00065
00066 private:
00067 vtkMultiProcessLog(const vtkMultiProcessLog&);
00068 void operator=(const vtkMultiProcessLog&);
00069 };
00070
00071
00072
00073 #endif