vtkMultiProcessLog.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00025 #ifndef __vtkMultiProcessLog_h
00026 #define __vtkMultiProcessLog_h
00027
00028
00029 #include "vtkObject.h"
00030
00031 class vtkThreadSafeLog;
00032
00033 #define VTK_MULTI_PROCESS_LOG_MAX 1000
00034
00035 class VTK_PARALLEL_EXPORT vtkMultiProcessLog : public vtkObject
00036 {
00037 public:
00038 static vtkMultiProcessLog *New();
00039 vtkTypeRevisionMacro(vtkMultiProcessLog,vtkObject);
00040 virtual void PrintSelf(ostream& os, vtkIndent indent);
00041
00043
00046 static void SetTimerLog(vtkThreadSafeLog *log);
00047 static vtkThreadSafeLog *GetTimerLog();
00049
00051 static void DumpLog(char *filename);
00052
00053 protected:
00054
00055 vtkMultiProcessLog() {};
00056 ~vtkMultiProcessLog() {};
00057
00058 private:
00059 vtkMultiProcessLog(const vtkMultiProcessLog&);
00060 void operator=(const vtkMultiProcessLog&);
00061 };
00062
00063
00064
00065 #endif