Parallel/vtkMPIEventLog.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00047 #ifndef __vtkMPIEventLog_h
00048 #define __vtkMPIEventLog_h
00049
00050 #include "vtkObject.h"
00051
00052 class VTK_PARALLEL_EXPORT vtkMPIEventLog : public vtkObject
00053 {
00054 public:
00055 vtkTypeRevisionMacro(vtkMPIEventLog,vtkObject);
00056
00059 static vtkMPIEventLog* New();
00060
00066 int SetDescription(const char* name, const char* desc);
00067
00069
00072 static void InitializeLogging();
00073 static void FinalizeLogging(const char* fileName);
00075
00077
00078 void StartLogging();
00079 void StopLogging();
00081
00082 virtual void PrintSelf(ostream& os, vtkIndent indent);
00083
00084 protected:
00085
00086 vtkMPIEventLog();
00087 ~vtkMPIEventLog();
00088
00089 static int LastEventId;
00090 int Active;
00091 int BeginId;
00092 int EndId;
00093 private:
00094 vtkMPIEventLog(const vtkMPIEventLog&);
00095 void operator=(const vtkMPIEventLog&);
00096 };
00097
00098 #endif
00099
00100
00101
00102