VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
=========================================================================*/
40
#ifndef __vtkProcess_h
41
#define __vtkProcess_h
42
43
#include "vtkParallelCoreModule.h"
// For export macro
44
#include "
vtkObject.h
"
45
46
class
vtkMultiProcessController
;
47
48
class
VTKPARALLELCORE_EXPORT
vtkProcess
:
public
vtkObject
49
{
50
public
:
51
vtkTypeMacro(
vtkProcess
,
vtkObject
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent);
53
56
virtual
void
Execute()=0;
57
60
vtkMultiProcessController
*GetController();
61
64
void
SetController(
vtkMultiProcessController
*aController);
65
67
int
GetReturnValue();
68
69
protected
:
70
vtkProcess
();
71
72
vtkMultiProcessController
*
Controller
;
73
int
ReturnValue
;
74
75
private
:
76
vtkProcess
(
const
vtkProcess
&);
// Not implemented.
77
void
operator=(
const
vtkProcess
&);
// Not implemented.
78
};
79
80
#endif
Generated on Thu May 24 2012 22:22:33 for VTK by
1.8.1