VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
Core
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 "vtkParallelCoreModule.h"
// For export macro
49
#include "
vtkCommunicator.h
"
50
51
class
vtkProcessGroup
;
52
53
class
VTKPARALLELCORE_EXPORT
vtkSubCommunicator
:
public
vtkCommunicator
54
{
55
public
:
56
vtkTypeMacro(
vtkSubCommunicator
,
vtkCommunicator
);
57
static
vtkSubCommunicator
*
New
();
58
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
59
61
62
vtkGetObjectMacro(
Group
,
vtkProcessGroup
);
63
virtual
void
SetGroup(
vtkProcessGroup
*group);
65
67
68
virtual
int
SendVoidArray
(
const
void
*
data
,
vtkIdType
length
,
int
type
,
69
int
remoteHandle,
int
tag);
70
virtual
int
ReceiveVoidArray
(
void
*
data
,
vtkIdType
length
,
int
type
,
71
int
remoteHandle,
int
tag);
73
74
protected
:
75
vtkSubCommunicator
();
76
virtual
~
vtkSubCommunicator
();
77
78
vtkProcessGroup
*
Group
;
79
80
private
:
81
vtkSubCommunicator
(
const
vtkSubCommunicator
&);
// Not implemented
82
void
operator=(
const
vtkSubCommunicator
&);
// Not implemented
83
};
84
85
#endif //__vtkSubCommunicator_h
Generated on Thu May 24 2012 22:22:33 for VTK by
1.8.1