ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkMPIMToNSocketConnection Class Reference

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 vtkMPIMToNSocketConnectionNew ()
 
static int IsTypeOf (const char *type)
 
static vtkMPIMToNSocketConnectionSafeDownCast (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 ()
 

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

Member Typedef Documentation

◆ Superclass

Definition at line 48 of file vtkMPIMToNSocketConnection.h.

Constructor & Destructor Documentation

◆ vtkMPIMToNSocketConnection()

vtkMPIMToNSocketConnection::vtkMPIMToNSocketConnection ( )
protected

◆ ~vtkMPIMToNSocketConnection()

vtkMPIMToNSocketConnection::~vtkMPIMToNSocketConnection ( )
protected

Member Function Documentation

◆ New()

static vtkMPIMToNSocketConnection* vtkMPIMToNSocketConnection::New ( )
static

◆ GetClassName()

virtual const char* vtkMPIMToNSocketConnection::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkMPIMToNSocketConnection::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkMPIMToNSocketConnection::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkMPIMToNSocketConnection* vtkMPIMToNSocketConnection::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkMPIMToNSocketConnection::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ Initialize()

void vtkMPIMToNSocketConnection::Initialize ( int  waiting_process_type)

◆ ConnectMtoN()

void vtkMPIMToNSocketConnection::ConnectMtoN ( )

Setup the connection.

◆ SetNumberOfConnections()

void vtkMPIMToNSocketConnection::SetNumberOfConnections ( int  )

Set the number of connections to be made.

◆ GetNumberOfConnections()

virtual int vtkMPIMToNSocketConnection::GetNumberOfConnections ( )
virtual

Set the number of connections to be made.

◆ SetPortInformation()

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

Set up information about the remote connection.

◆ GetSocketCommunicator()

virtual vtkSocketCommunicator* vtkMPIMToNSocketConnection::GetSocketCommunicator ( )
virtual

Return the socket communicator for this process.

◆ GetPortInformation()

void vtkMPIMToNSocketConnection::GetPortInformation ( vtkMPIMToNSocketConnectionPortInformation )

Fill the port information values into the port information object.

◆ GetPortNumber()

virtual int vtkMPIMToNSocketConnection::GetPortNumber ( )
virtual

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

◆ SetPortNumber()

virtual void vtkMPIMToNSocketConnection::SetPortNumber ( int  )
protectedvirtual

◆ SetupWaitForConnection()

void vtkMPIMToNSocketConnection::SetupWaitForConnection ( )
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.

◆ WaitForConnection()

void vtkMPIMToNSocketConnection::WaitForConnection ( )
protected

SetupStartWaitForConnection must be called first.

This method will start waiting for a connection to be made to it.

◆ Connect()

void vtkMPIMToNSocketConnection::Connect ( )
protected

Connect to remote server.

◆ SetController()

virtual void vtkMPIMToNSocketConnection::SetController ( vtkMultiProcessController *  )
protectedvirtual

◆ SetSocketCommunicator()

virtual void vtkMPIMToNSocketConnection::SetSocketCommunicator ( vtkSocketCommunicator *  )
protectedvirtual

The documentation for this class was generated from the following file: