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>

Inheritance diagram for vtkMPIMToNSocketConnection:
Inheritance graph
[legend]
Collaboration diagram for vtkMPIMToNSocketConnection:
Collaboration graph
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
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 vtkSocketCommunicatorGetSocketCommunicator ()
 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...
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkMPIMToNSocketConnectionNew ()
 
static int IsTypeOf (const char *type)
 
static vtkMPIMToNSocketConnectionSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

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 () override
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Additional Inherited Members

- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

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

Member Typedef Documentation

◆ Superclass

Definition at line 36 of file vtkMPIMToNSocketConnection.h.

Constructor & Destructor Documentation

◆ vtkMPIMToNSocketConnection()

vtkMPIMToNSocketConnection::vtkMPIMToNSocketConnection ( )
protected

◆ ~vtkMPIMToNSocketConnection()

vtkMPIMToNSocketConnection::~vtkMPIMToNSocketConnection ( )
overrideprotected

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

Reimplemented from vtkObjectBase.

◆ SafeDownCast()

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

◆ PrintSelf()

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

Reimplemented from vtkObject.

◆ 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: