VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
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
=========================================================================*/
40
#ifndef __vtkProcess_h
41
#define __vtkProcess_h
42
43
#include "
vtkObject.h
"
44
45
class
vtkMultiProcessController
;
46
47
class
VTK_PARALLEL_EXPORT
vtkProcess
:
public
vtkObject
48
{
49
public
:
50
vtkTypeMacro(
vtkProcess
,
vtkObject
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent);
52
55
virtual
void
Execute()=0;
56
59
vtkMultiProcessController
*GetController();
60
63
void
SetController(
vtkMultiProcessController
*aController);
64
66
int
GetReturnValue();
67
68
protected
:
69
vtkProcess
();
70
71
vtkMultiProcessController
*
Controller
;
72
int
ReturnValue
;
73
74
private
:
75
vtkProcess
(
const
vtkProcess
&);
// Not implemented.
76
void
operator=(
const
vtkProcess
&);
// Not implemented.
77
};
78
79
#endif
Generated on Wed Nov 21 2012 21:34:00 for VTK by
1.8.2