collection of assorted helper routines dealing with communication.
More...
#include <vtkMultiProcessControllerHelper.h>
Inherits vtkObject.
|
static vtkMultiProcessControllerHelper * | New () |
|
static int | IsTypeOf (const char *type) |
|
static vtkMultiProcessControllerHelper * | SafeDownCast (vtkObject *o) |
|
static int | ReduceToAll (vtkMultiProcessController *controller, vtkMultiProcessStream &data, void(*operation)(vtkMultiProcessStream &A, vtkMultiProcessStream &B), int tag) |
| Reduce the stream to all processes calling the (*operation) for reduction. More...
|
|
static vtkDataObject * | MergePieces (vtkDataObject **pieces, unsigned int num_pieces) |
| Utility method to merge pieces received from several processes. More...
|
|
static bool | MergePieces (std::vector< vtkSmartPointer< vtkDataObject > > &pieces, vtkDataObject *result) |
| Overload where the merged pieces are combined into result. More...
|
|
collection of assorted helper routines dealing with communication.
vtkMultiProcessControllerHelper is collection of assorted helper routines dealing with communication.
Definition at line 37 of file vtkMultiProcessControllerHelper.h.
§ Superclass
§ vtkMultiProcessControllerHelper()
vtkMultiProcessControllerHelper::vtkMultiProcessControllerHelper |
( |
| ) |
|
|
protected |
§ ~vtkMultiProcessControllerHelper()
vtkMultiProcessControllerHelper::~vtkMultiProcessControllerHelper |
( |
| ) |
|
|
protected |
§ New()
§ GetClassName()
virtual const char* vtkMultiProcessControllerHelper::GetClassName |
( |
| ) |
|
|
virtual |
§ IsTypeOf()
static int vtkMultiProcessControllerHelper::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
§ IsA()
virtual int vtkMultiProcessControllerHelper::IsA |
( |
const char * |
type | ) |
|
|
virtual |
§ SafeDownCast()
§ PrintSelf()
void vtkMultiProcessControllerHelper::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
§ ReduceToAll()
static int vtkMultiProcessControllerHelper::ReduceToAll |
( |
vtkMultiProcessController * |
controller, |
|
|
vtkMultiProcessStream & |
data, |
|
|
void(*)(vtkMultiProcessStream &A, vtkMultiProcessStream &B) |
operation, |
|
|
int |
tag |
|
) |
| |
|
static |
Reduce the stream to all processes calling the (*operation) for reduction.
The operation is assumed to be commutative.
§ MergePieces() [1/2]
static vtkDataObject* vtkMultiProcessControllerHelper::MergePieces |
( |
vtkDataObject ** |
pieces, |
|
|
unsigned int |
num_pieces |
|
) |
| |
|
static |
Utility method to merge pieces received from several processes.
It does not handle all data types, and hence not meant for non-paraview specific use. Returns a new instance of data object containing the merged result on success, else returns NULL. The caller is expected to release the memory from the returned data-object.
§ MergePieces() [2/2]
static bool vtkMultiProcessControllerHelper::MergePieces |
( |
std::vector< vtkSmartPointer< vtkDataObject > > & |
pieces, |
|
|
vtkDataObject * |
result |
|
) |
| |
|
static |
Overload where the merged pieces are combined into result.
The documentation for this class was generated from the following file: