dox/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
00036
#ifndef __vtkMPIEventLog_h
00037
#define __vtkMPIEventLog_h
00038
00039
#include "vtkObject.h"
00040
00041 class VTK_PARALLEL_EXPORT vtkMPIEventLog :
public vtkObject
00042 {
00043
public:
00044 vtkTypeRevisionMacro(vtkMPIEventLog,
vtkObject);
00045
00048
static vtkMPIEventLog*
New();
00049
00055
int SetDescription(
const char* name,
const char* desc);
00056
00058
00061
static void InitializeLogging();
00062
static void FinalizeLogging(
const char* fileName);
00064
00066
00067
void StartLogging();
00068
void StopLogging();
00070
00071
virtual void PrintSelf(ostream& os,
vtkIndent indent);
00072
00073
protected:
00074
00075 vtkMPIEventLog();
00076 ~vtkMPIEventLog();
00077
00078 static int LastEventId;
00079 int Active;
00080 int BeginId;
00081 int EndId;
00082
private:
00083 vtkMPIEventLog(
const vtkMPIEventLog&);
00084
void operator=(
const vtkMPIEventLog&);
00085 };
00086
00087
#endif
00088
00089
00090
00091