VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
vtkSubCommunicator.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
/*=========================================================================
3
4
Program: Visualization Toolkit
5
Module: vtkSubCommunicator.h
6
7
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
8
All rights reserved.
9
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
10
11
This software is distributed WITHOUT ANY WARRANTY; without even
12
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13
PURPOSE. See the above copyright notice for more information.
14
15
=========================================================================*/
16
/*----------------------------------------------------------------------------
17
Copyright (c) Sandia Corporation
18
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
19
----------------------------------------------------------------------------*/
20
45
#ifndef __vtkSubCommunicator_h
46
#define __vtkSubCommunicator_h
47
48
#include "
vtkCommunicator.h
"
49
50
class
vtkProcessGroup
;
51
52
class
VTK_PARALLEL_EXPORT
vtkSubCommunicator
:
public
vtkCommunicator
53
{
54
public
:
55
vtkTypeMacro(
vtkSubCommunicator
,
vtkCommunicator
);
56
static
vtkSubCommunicator
*
New
();
57
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
58
60
61
vtkGetObjectMacro(
Group
,
vtkProcessGroup
);
62
virtual
void
SetGroup(
vtkProcessGroup
*group);
64
66
67
virtual
int
SendVoidArray
(
const
void
*
data
,
vtkIdType
length
,
int
type
,
68
int
remoteHandle,
int
tag);
69
virtual
int
ReceiveVoidArray
(
void
*
data
,
vtkIdType
length
,
int
type
,
70
int
remoteHandle,
int
tag);
72
73
protected
:
74
vtkSubCommunicator
();
75
virtual
~
vtkSubCommunicator
();
76
77
vtkProcessGroup
*
Group
;
78
79
private
:
80
vtkSubCommunicator
(
const
vtkSubCommunicator
&);
// Not implemented
81
void
operator=(
const
vtkSubCommunicator
&);
// Not implemented
82
};
83
84
#endif //__vtkSubCommunicator_h
Generated on Wed Nov 21 2012 21:34:00 for VTK by
1.8.2