class to create socket connections between two servers More...
#include <vtkMPIMToNSocketConnection.h>
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 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... | |
![]() | |
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) |
vtkCommand * | GetCommand (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) |
vtkCommand * | GetCommand (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) |
![]() | |
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 vtkMPIMToNSocketConnection * | New () |
static int | IsTypeOf (const char *type) |
static vtkMPIMToNSocketConnection * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkObject * | New () |
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 vtkTypeBool | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
static vtkObjectBase * | New () |
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 | |
![]() | |
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 () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Additional Inherited Members | |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
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.
Definition at line 36 of file vtkMPIMToNSocketConnection.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented from vtkObjectBase.
|
static |
|
overridevirtual |
Reimplemented from vtkObject.
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 |