VTK
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 
47 
49 {
50 public:
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
56  virtual void Execute()=0;
57 
61 
65 
68 
69 protected:
71 
74 
75 private:
76  vtkProcess(const vtkProcess&); // Not implemented.
77  void operator=(const vtkProcess&); // Not implemented.
78 };
79 
80 #endif
vtkProcess::Execute
virtual void Execute()=0
vtkProcess::GetController
vtkMultiProcessController * GetController()
vtkProcess::vtkProcess
vtkProcess()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkProcess::SetController
void SetController(vtkMultiProcessController *aController)
vtkProcess::Controller
vtkMultiProcessController * Controller
Definition: vtkProcess.h:72
vtkProcess::GetReturnValue
int GetReturnValue()
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:85
vtkProcess::ReturnValue
int ReturnValue
Definition: vtkProcess.h:73
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkParallelCoreModule.h
VTKPARALLELCORE_EXPORT
#define VTKPARALLELCORE_EXPORT
Definition: vtkParallelCoreModule.h:15
vtkObject.h
vtkProcess
a process that can be launched by a vtkMultiProcessController
Definition: vtkProcess.h:49
vtkProcess::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)