VTK
9.0.1
Parallel
Core
vtkProcess.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkProcess.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
=========================================================================*/
38
#ifndef vtkProcess_h
39
#define vtkProcess_h
40
41
#include "
vtkObject.h
"
42
#include "vtkParallelCoreModule.h"
// For export macro
43
44
class
vtkMultiProcessController
;
45
46
class
VTKPARALLELCORE_EXPORT
vtkProcess
:
public
vtkObject
47
{
48
public
:
49
vtkTypeMacro(
vtkProcess
,
vtkObject
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
51
56
virtual
void
Execute() = 0;
57
62
vtkMultiProcessController
* GetController();
63
68
void
SetController(
vtkMultiProcessController
* aController);
69
73
int
GetReturnValue();
74
75
protected
:
76
vtkProcess
();
77
78
vtkMultiProcessController
*
Controller
;
79
int
ReturnValue
;
80
81
private
:
82
vtkProcess
(
const
vtkProcess
&) =
delete
;
83
void
operator=(
const
vtkProcess
&) =
delete
;
84
};
85
86
#endif
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkProcess
a process that can be launched by a vtkMultiProcessController
Definition:
vtkProcess.h:46
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkProcess::Controller
vtkMultiProcessController * Controller
Definition:
vtkProcess.h:78
vtkObject.h
vtkProcess::ReturnValue
int ReturnValue
Definition:
vtkProcess.h:79
vtkMultiProcessController
Multiprocessing communication superclass.
Definition:
vtkMultiProcessController.h:75
Generated on Wed Apr 26 2023 03:13:40 for VTK by
1.8.14