#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 37 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 | 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) |
void | PrintSelf (ostream &os, vtkIndent indent) |
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 | |
static vtkSocketController * | New () |
static int | IsTypeOf (const char *type) |
static vtkSocketController * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSocketController () | |
~vtkSocketController () | |
Static Protected Attributes | |
static int | Initialized |
|
Reimplemented from vtkMultiProcessController. Definition at line 41 of file vtkSocketController.h. |
|
Reimplemented from vtkMultiProcessController. Definition at line 91 of file vtkSocketController.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. |
|
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 47 of file vtkSocketController.h. References vtkMultiProcessController::Initialize(). |
|
|
|
Definition at line 50 of file vtkSocketController.h. References vtkMultiProcessController::Initialize(). |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 56 of file vtkSocketController.h. |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 57 of file vtkSocketController.h. |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 61 of file vtkSocketController.h. |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 64 of file vtkSocketController.h. |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 67 of file vtkSocketController.h. |
|
Does not apply to sockets. Does nothing. Implements vtkMultiProcessController. Definition at line 70 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 103 of file vtkSocketController.h. |