VTK
dox
Parallel
MPI
vtkMPIEventLog.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMPIEventLog.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
33
#ifndef vtkMPIEventLog_h
34
#define vtkMPIEventLog_h
35
36
#include "vtkParallelMPIModule.h"
// For export macro
37
#include "
vtkObject.h
"
38
39
class
VTKPARALLELMPI_EXPORT
vtkMPIEventLog
:
public
vtkObject
40
{
41
public
:
42
vtkTypeMacro(
vtkMPIEventLog
,
vtkObject
);
43
48
static
vtkMPIEventLog
*
New
();
49
60
int
SetDescription(
const
char
*
name
,
const
char
* desc);
61
63
69
static
void
InitializeLogging();
70
static
void
FinalizeLogging(
const
char
* fileName);
72
74
77
void
StartLogging();
78
void
StopLogging();
80
81
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
82
83
protected
:
84
85
vtkMPIEventLog
();
86
~
vtkMPIEventLog
();
87
88
static
int
LastEventId
;
89
int
Active
;
90
int
BeginId
;
91
int
EndId
;
92
private
:
93
vtkMPIEventLog
(
const
vtkMPIEventLog
&) =
delete
;
94
void
operator=(
const
vtkMPIEventLog
&) =
delete
;
95
};
96
97
#endif
98
99
100
101
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkMPIEventLog::Active
int Active
Definition:
vtkMPIEventLog.h:89
vtkMPIEventLog
Class for logging and timing.
Definition:
vtkMPIEventLog.h:39
vtkMPIEventLog::EndId
int EndId
Definition:
vtkMPIEventLog.h:91
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkX3D::name
Definition:
vtkX3D.h:219
vtkObject.h
vtkMPIEventLog::BeginId
int BeginId
Definition:
vtkMPIEventLog.h:90
vtkMPIEventLog::LastEventId
static int LastEventId
Definition:
vtkMPIEventLog.h:88
Generated by
1.8.16