ParaView
|
class to create socket connections between two servers More...
#include <vtkMPIMToNSocketConnection.h>
Inherits vtkObject.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Initialize (int waiting_process_type) |
void | ConnectMtoN () |
Setup the connection. More... | |
void | SetPortInformation (unsigned int processNumber, int portNumber, const char *hostName) |
Set up information about the remote connection. More... | |
void | GetPortInformation (vtkMPIMToNSocketConnectionPortInformation *) |
Fill the port information values into the port information object. More... | |
void | SetNumberOfConnections (int) |
Set the number of connections to be made. More... | |
virtual int | GetNumberOfConnections () |
Set the number of connections to be made. More... | |
virtual vtkSocketCommunicator * | GetSocketCommunicator () |
Return the socket communicator for this process. More... | |
virtual int | GetPortNumber () |
Set port to use, if the value is 0, then the system will pick the port. More... | |
Static Public Member Functions | |
static vtkMPIMToNSocketConnection * | New () |
static int | IsTypeOf (const char *type) |
static vtkMPIMToNSocketConnection * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
virtual void | SetPortNumber (int) |
void | SetupWaitForConnection () |
Setup the wait for connection, but do not wait yet. More... | |
void | WaitForConnection () |
SetupStartWaitForConnection must be called first. More... | |
void | Connect () |
Connect to remote server. More... | |
virtual void | SetController (vtkMultiProcessController *) |
virtual void | SetSocketCommunicator (vtkSocketCommunicator *) |
vtkMPIMToNSocketConnection () | |
~vtkMPIMToNSocketConnection () | |
class to create socket connections between two servers
class used to create socket connections between the render and data servers. This used for example when data is on a super computer (SGI, IBM, etc) and Rendering on a Linux cluster with hardware graphics support. This problem is known as the "M" to "N" geometry load redistribution problem. It addresses the common case where there is a significante mismatch in the size of large parallel computing resources and the often smaller parallel hardward-accelerated rendering resources. The larger number of processors on the compute servers are called M, and the smaller number of rendering processors are call N. This class is used to create N vtkSocketCommunicator's that connect the first N of the M processes on the data server to the N processes on the render server.
Definition at line 44 of file vtkMPIMToNSocketConnection.h.
typedef vtkObject vtkMPIMToNSocketConnection::Superclass |
Definition at line 48 of file vtkMPIMToNSocketConnection.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkMPIMToNSocketConnection::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkMPIMToNSocketConnection::Initialize | ( | int | waiting_process_type | ) |
void vtkMPIMToNSocketConnection::ConnectMtoN | ( | ) |
Setup the connection.
void vtkMPIMToNSocketConnection::SetNumberOfConnections | ( | int | ) |
Set the number of connections to be made.
|
virtual |
Set the number of connections to be made.
void vtkMPIMToNSocketConnection::SetPortInformation | ( | unsigned int | processNumber, |
int | portNumber, | ||
const char * | hostName | ||
) |
Set up information about the remote connection.
|
virtual |
Return the socket communicator for this process.
void vtkMPIMToNSocketConnection::GetPortInformation | ( | vtkMPIMToNSocketConnectionPortInformation * | ) |
Fill the port information values into the port information object.
|
virtual |
Set port to use, if the value is 0, then the system will pick the port.
|
protectedvirtual |
|
protected |
Setup the wait for connection, but do not wait yet.
This should determine the network to be used and the port to be used.
|
protected |
SetupStartWaitForConnection must be called first.
This method will start waiting for a connection to be made to it.
|
protected |
Connect to remote server.
|
protectedvirtual |
|
protectedvirtual |