VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Source
VTK
release
8.2
build
Utilities
Doxygen
dox
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
=========================================================================*/
41
#ifndef vtkProcess_h
42
#define vtkProcess_h
43
44
#include "vtkParallelCoreModule.h"
// For export macro
45
#include "
vtkObject.h
"
46
47
class
vtkMultiProcessController
;
48
49
class
VTKPARALLELCORE_EXPORT
vtkProcess
:
public
vtkObject
50
{
51
public
:
52
vtkTypeMacro(
vtkProcess
,
vtkObject
);
53
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
54
59
virtual
void
Execute()=0;
60
65
vtkMultiProcessController
*GetController();
66
71
void
SetController(
vtkMultiProcessController
*aController);
72
76
int
GetReturnValue();
77
78
protected
:
79
vtkProcess
();
80
81
vtkMultiProcessController
*
Controller
;
82
int
ReturnValue
;
83
84
private
:
85
vtkProcess
(
const
vtkProcess
&) =
delete
;
86
void
operator=(
const
vtkProcess
&) =
delete
;
87
};
88
89
#endif
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
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:49
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkProcess::Controller
vtkMultiProcessController * Controller
Definition:
vtkProcess.h:81
vtkObject.h
vtkProcess::ReturnValue
int ReturnValue
Definition:
vtkProcess.h:82
vtkMultiProcessController
Multiprocessing communication superclass.
Definition:
vtkMultiProcessController.h:82
Generated by
1.8.11