VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
Core
vtkDummyController.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkDummyController.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
=========================================================================*/
28
#ifndef __vtkDummyController_h
29
#define __vtkDummyController_h
30
31
#include "vtkParallelCoreModule.h"
// For export macro
32
#include "
vtkMultiProcessController.h
"
33
34
class
VTKPARALLELCORE_EXPORT
vtkDummyController
:
public
vtkMultiProcessController
35
{
36
public
:
37
static
vtkDummyController
*
New
();
38
vtkTypeMacro(
vtkDummyController
,
vtkMultiProcessController
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
42
43
virtual
void
Initialize
(
int
*,
char
***,
int
) {}
44
virtual
void
Initialize
(
int
*,
char
***) {}
45
virtual
void
Finalize
() {}
46
virtual
void
Finalize
(
int
) {}
48
50
int
GetLocalProcessId
() {
return
0; }
51
53
virtual
void
SingleMethodExecute
();
54
56
virtual
void
MultipleMethodExecute
();
57
59
virtual
void
CreateOutputWindow
() {}
60
62
64
vtkGetObjectMacro(Communicator,
vtkCommunicator
);
65
vtkGetObjectMacro(RMICommunicator,
vtkCommunicator
);
66
virtual
void
SetCommunicator(
vtkCommunicator
*);
67
virtual
void
SetRMICommunicator(
vtkCommunicator
*);
69
70
protected
:
71
vtkDummyController
();
72
~
vtkDummyController
();
73
74
private
:
75
vtkDummyController
(
const
vtkDummyController
&);
// Not implemented.
76
void
operator=(
const
vtkDummyController
&);
// Not implemented.
77
};
78
79
#endif
80
81
Generated on Thu May 24 2012 22:22:33 for VTK by
1.8.1