#include <vtkCommunicator.h>
Inheritance diagram for vtkCommunicator:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | Send (vtkDataObject *data, int remoteHandle, int tag) |
virtual int | Send (vtkDataArray *data, int remoteHandle, int tag) |
virtual int | Send (int *data, int length, int remoteHandle, int tag)=0 |
virtual int | Send (unsigned long *data, int length, int remoteHandle, int tag)=0 |
virtual int | Send (unsigned char *data, int length, int remoteHandle, int tag)=0 |
virtual int | Send (char *data, int length, int remoteHandle, int tag)=0 |
virtual int | Send (float *data, int length, int remoteHandle, int tag)=0 |
virtual int | Send (double *data, int length, int remoteHandle, int tag)=0 |
virtual int | Receive (vtkDataObject *data, int remoteHandle, int tag) |
virtual int | Receive (vtkDataArray *data, int remoteHandle, int tag) |
virtual int | Receive (int *data, int length, int remoteHandle, int tag)=0 |
virtual int | Receive (unsigned long *data, int length, int remoteHandle, int tag)=0 |
virtual int | Receive (unsigned char *data, int length, int remoteHandle, int tag)=0 |
virtual int | Receive (char *data, int length, int remoteHandle, int tag)=0 |
virtual int | Receive (float *data, int length, int remoteHandle, int tag)=0 |
virtual int | Receive (double *data, int length, int remoteHandle, int tag)=0 |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkCommunicator * | SafeDownCast (vtkObject *o) |
Protected Methods | |
void | DeleteAndSetMarshalString (char *str, int strLength) |
int | WriteObject (vtkDataObject *object) |
int | ReadObject (vtkDataObject *object) |
int | WriteDataSet (vtkDataSet *object) |
int | ReadDataSet (vtkDataSet *object) |
int | WriteImageData (vtkImageData *object) |
int | ReadImageData (vtkImageData *object) |
int | WriteDataArray (vtkDataArray *object) |
int | ReadDataArray (vtkDataArray *object) |
vtkCommunicator () | |
~vtkCommunicator () | |
Protected Attributes | |
char * | MarshalString |
int | MarshalStringLength |
int | MarshalDataLength |
This is an abstact class which contains functionality for sending and receiving inter-process messages. It contains methods for marshaling an object into a string (currently used by the MPI communicator but not the shared memory communicator).
Definition at line 71 of file vtkCommunicator.h.
|
|
|
|
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
This method sends a data object to a destination. Tag eliminates ambiguity and is used to match sends to receives. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. Referenced by vtkSocketCommunicator::Send(), vtkMultiProcessController::Send(), and vtkMPICommunicator::Send().
|
|
This method sends a data array to a destination. Tag eliminates ambiguity and is used to match sends to receives. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to send various arrays of data. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
This method receives a data object from a corresponding send. It blocks until the receive is finished. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. Referenced by vtkSocketCommunicator::Receive(), vtkMultiProcessController::Receive(), and vtkMPICommunicator::Receive().
|
|
This method receives a data array from a corresponding send. It blocks until the receive is finished. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to receive various arrays of data. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 157 of file vtkCommunicator.h. |
|
Definition at line 158 of file vtkCommunicator.h. |
|
Definition at line 160 of file vtkCommunicator.h. |