#include <vtkCommunicator.h>
Inheritance diagram for vtkCommunicator:
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 57 of file vtkCommunicator.h.
[NOHEADER] | |
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 |
void | SetUseCopy (int useCopy) |
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 () | |
char * | MarshalString |
int | MarshalStringLength |
int | MarshalDataLength |
int | UseCopy |
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
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) |
Static Public Member Functions | |
int | IsTypeOf (const char *type) |
vtkCommunicator * | SafeDownCast (vtkObject *o) |
|
Reimplemented from vtkObject. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. Definition at line 62 of file vtkCommunicator.h. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
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. Implemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to send various arrays of data. Implemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to send various arrays of data. Implemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to send various arrays of data. Implemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to send various arrays of data. Implemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to send various arrays of data. Implemented 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. Implemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to receive various arrays of data. Implemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to receive various arrays of data. Implemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to receive various arrays of data. Implemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to receive various arrays of data. Implemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to receive various arrays of data. Implemented in vtkMPICommunicator, vtkSharedMemoryCommunicator, and vtkSocketCommunicator. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
Subclass have to supply these methods to receive various arrays of data. |
|
Subclass have to supply these methods to receive various arrays of data. Definition at line 145 of file vtkCommunicator.h. |
|
Subclass have to supply these methods to receive various arrays of data. Definition at line 146 of file vtkCommunicator.h. |
|
Subclass have to supply these methods to receive various arrays of data. Definition at line 148 of file vtkCommunicator.h. |
|
Subclass have to supply these methods to receive various arrays of data. Definition at line 150 of file vtkCommunicator.h. |