VTK
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
vtkProcess
a process that can be launched by a vtkMultiProcessController
Definition:
vtkProcess.h:48
vtkProcess::Controller
vtkMultiProcessController * Controller
Definition:
vtkProcess.h:72
vtkProcess::ReturnValue
int ReturnValue
Definition:
vtkProcess.h:73
vtkMultiProcessController
Multiprocessing communication superclass.
Definition:
vtkMultiProcessController.h:70
Generated on Sat Apr 12 2014 01:05:51 for VTK by
1.8.6