Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkMPIMToNSocketConnection Class Reference

class to create socket connections between two servers More...

#include <vtkMPIMToNSocketConnection.h>

List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkMPIMToNSocketConnection, vtkObject)
void PrintSelf (ostream &os, vtkIndent indent)
void SetupWaitForConnection ()
void WaitForConnection ()
void Connect ()
void SetPortInformation (unsigned int processNumber, int portNumber, const char *hostName)
void GetPortInformation (vtkMPIMToNSocketConnectionPortInformation *)
void SetMachineName (unsigned int idx, const char *name)
void SetNumberOfConnections (int)
virtual int GetNumberOfConnections ()
virtual vtkSocketCommunicator * GetSocketCommunicator ()
virtual void SetMachinesFileName (const char *)
virtual void SetPortNumber (int)

Static Public Member Functions

vtkMPIMToNSocketConnectionNew ()

Protected Member Functions

void LoadMachinesFile ()
virtual void SetController (vtkMultiProcessController *)
virtual void SetSocketCommunicator (vtkSocketCommunicator *)
 vtkMPIMToNSocketConnection ()
 ~vtkMPIMToNSocketConnection ()


Detailed Description

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 41 of file vtkMPIMToNSocketConnection.h.


Constructor & Destructor Documentation

vtkMPIMToNSocketConnection::vtkMPIMToNSocketConnection  )  [protected]
 

vtkMPIMToNSocketConnection::~vtkMPIMToNSocketConnection  )  [protected]
 


Member Function Documentation

vtkMPIMToNSocketConnection* vtkMPIMToNSocketConnection::New  )  [static]
 

vtkMPIMToNSocketConnection::vtkTypeRevisionMacro vtkMPIMToNSocketConnection  ,
vtkObject 
 

void vtkMPIMToNSocketConnection::PrintSelf ostream &  os,
vtkIndent  indent
 

void vtkMPIMToNSocketConnection::SetNumberOfConnections int   ) 
 

Set the number of connections to be made.

virtual int vtkMPIMToNSocketConnection::GetNumberOfConnections  )  [virtual]
 

Set the number of connections to be made.

void vtkMPIMToNSocketConnection::SetupWaitForConnection  ) 
 

Setup the wait for connection, but do not wait yet. This should determine the network to be used and the port to be used.

void vtkMPIMToNSocketConnection::WaitForConnection  ) 
 

SetupStartWaitForConnection must be called first. This method will start waiting for a connection to be made to it.

void vtkMPIMToNSocketConnection::Connect  ) 
 

Connect to remote server.

void vtkMPIMToNSocketConnection::SetPortInformation unsigned int  processNumber,
int  portNumber,
const char *  hostName
 

Set up information about the remote connection.

virtual vtkSocketCommunicator* vtkMPIMToNSocketConnection::GetSocketCommunicator  )  [virtual]
 

Return the socket communicator for this process.

void vtkMPIMToNSocketConnection::GetPortInformation vtkMPIMToNSocketConnectionPortInformation  ) 
 

Fill the port information values into the port information object.

virtual void vtkMPIMToNSocketConnection::SetMachinesFileName const char *   )  [virtual]
 

Set the name of the configure file containing the names of the render hosts.

virtual void vtkMPIMToNSocketConnection::SetPortNumber int   )  [virtual]
 

Set port to use, if the value is 0, then the system will pick the port.

void vtkMPIMToNSocketConnection::SetMachineName unsigned int  idx,
const char *  name
 

Add a machine name.

void vtkMPIMToNSocketConnection::LoadMachinesFile  )  [protected]
 

virtual void vtkMPIMToNSocketConnection::SetController vtkMultiProcessController *   )  [protected, virtual]
 

virtual void vtkMPIMToNSocketConnection::SetSocketCommunicator vtkSocketCommunicator *   )  [protected, virtual]
 


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:40:25 2006 for ParaView by doxygen 1.3.5