#include <vtkSocketController.h>
Inheritance diagram for vtkSocketController:
This is a concrete implementation of vtkMultiProcessController. It supports one-to-one communication using sockets. Note that process 0 will always correspond to self and process 1 to the remote process. This class is best used with ports.
Definition at line 49 of file vtkSocketController.h.
Public Types | |
typedef vtkMultiProcessController | Superclass |
enum | Consts { ENDIAN_TAG = 1010580540 } |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SingleMethodExecute () |
void | MultipleMethodExecute () |
void | CreateOutputWindow () |
void | Barrier () |
virtual void | SetNumberOfProcesses (int num) |
virtual int | WaitForConnection (int port) |
virtual void | CloseConnection () |
virtual int | ConnectTo (char *hostName, int port) |
int | GetSwapBytesInReceivedData () |
void | SetCommunicator (vtkSocketCommunicator *comm) |
virtual void | Initialize (int *argc, char ***argv, int) |
virtual void | Initialize (int *argc, char ***argv) |
virtual void | Initialize () |
void | Finalize () |
void | Finalize (int) |
Static Public Member Functions | |
vtkSocketController * | New () |
int | IsTypeOf (const char *type) |
vtkSocketController * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSocketController () | |
~vtkSocketController () | |
Static Protected Attributes | |
int | Initialized |
|
Reimplemented from vtkMultiProcessController. Definition at line 53 of file vtkSocketController.h. |
|
Reimplemented from vtkMultiProcessController. Definition at line 103 of file vtkSocketController.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkMultiProcessController. |
|
Reimplemented from vtkMultiProcessController. |
|
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 vtkMultiProcessController. |
|
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 vtkMultiProcessController. |
|
Reimplemented from vtkMultiProcessController. |
|
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 vtkMultiProcessController. |
|
This method is for initialiazing sockets. One of these is REQUIRED for Windows. Definition at line 59 of file vtkSocketController.h. References vtkMultiProcessController::Initialize(). |
|
This method is for initialiazing sockets. One of these is REQUIRED for Windows. |
|
This method is for initialiazing sockets. One of these is REQUIRED for Windows. Definition at line 62 of file vtkSocketController.h. References vtkMultiProcessController::Initialize(). |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 68 of file vtkSocketController.h. |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 69 of file vtkSocketController.h. |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 73 of file vtkSocketController.h. |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 76 of file vtkSocketController.h. |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 79 of file vtkSocketController.h. |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 82 of file vtkSocketController.h. |
|
Set the number of processes you will be using. Reimplemented from vtkMultiProcessController. |
|
Wait for connection on a given port, forwarded to the communicator |
|
Close a connection, forwarded to the communicator |
|
Open a connection to a give machine, forwarded to the communicator |
|
|
|
Set the communicator used in normal and rmi communications. |
|
Definition at line 115 of file vtkSocketController.h. |