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
00032
#ifndef __vtkMPIEventLog_h
00033
#define __vtkMPIEventLog_h
00034
00035
#include "vtkObject.h"
00036
00037 class VTK_PARALLEL_EXPORT vtkMPIEventLog :
public vtkObject
00038 {
00039
public:
00040 vtkTypeRevisionMacro(vtkMPIEventLog,
vtkObject);
00041
00044
static vtkMPIEventLog*
New();
00045
00051
int SetDescription(
const char* name,
const char* desc);
00052
00054
00057
static void InitializeLogging();
00058
static void FinalizeLogging(
const char* fileName);
00060
00062
00063
void StartLogging();
00064
void StopLogging();
00066
00067
virtual void PrintSelf(ostream& os,
vtkIndent indent);
00068
00069
protected:
00070
00071 vtkMPIEventLog();
00072 ~vtkMPIEventLog();
00073
00074 static int LastEventId;
00075 int Active;
00076 int BeginId;
00077 int EndId;
00078
private:
00079 vtkMPIEventLog(
const vtkMPIEventLog&);
00080
void operator=(
const vtkMPIEventLog&);
00081 };
00082
00083
#endif
00084
00085
00086
00087