ActiViz .NET  5.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions
Kitware.VTK.vtkSocketController Class Reference

vtkSocketController - Process communication using Sockets More...

Inheritance diagram for Kitware.VTK.vtkSocketController:
[legend]
Collaboration diagram for Kitware.VTK.vtkSocketController:
[legend]

List of all members.

Public Types

enum  Consts { ENDIAN_TAG = 1010580540, HASH_TAG = 1061109567, IDTYPESIZE_TAG = 1027423549, VERSION_TAG = 1044266558 }
 FOOLISH MORTALS! Thou hast forsaken the sacred laws of ad-hoc polymorphism when thou broke a critical assumption of the superclass (namely, each process has thine own id). The time frame to fix thy error has passed. Too much code has come to rely on this abhorrent behavior. Instead, we offer this gift: a method for creating an equivalent communicator with correct process id semantics. The calling code is responsible for deleting this controller. More...
- Public Types inherited from Kitware.VTK.vtkMultiProcessController
enum  Errors { RMI_ARG_ERROR = 2, RMI_NO_ERROR = 0, RMI_TAG_ERROR = 1 }
 Accessor to some default tags. More...
enum  Tags { BREAK_RMI_TAG = 3, RMI_ARG_TAG = 2, RMI_TAG = 1, XML_WRITER_DATA_INFO = 4 }
 Accessor to some default tags. More...

Public Member Functions

 vtkSocketController (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkSocketController ()
 *Undocumented Block
virtual void CloseConnection ()
 Close a connection, forwarded to the communicator.
virtual int ConnectTo (string hostName, int port)
 Open a connection to a give machine, forwarded to the communicator.
vtkMultiProcessController CreateCompliantController ()
 FOOLISH MORTALS! Thou hast forsaken the sacred laws of ad-hoc polymorphism when thou broke a critical assumption of the superclass (namely, each process has thine own id). The time frame to fix thy error has passed. Too much code has come to rely on this abhorrent behavior. Instead, we offer this gift: a method for creating an equivalent communicator with correct process id semantics. The calling code is responsible for deleting this controller.
override void CreateOutputWindow ()
 Does not apply to sockets. Does nothing.
override void FinalizeWrapper ()
 Does not apply to sockets. Does nothing.
override void FinalizeWrapper (int arg0)
 Does not apply to sockets. Does nothing.
int GetSwapBytesInReceivedData ()
 Open a connection to a give machine, forwarded to the communicator.
virtual void Initialize ()
 This method is for initialiazing sockets. One of these is REQUIRED for Windows.
override int IsA (string type)
 *Undocumented Block
override void MultipleMethodExecute ()
 Does not apply to sockets. Does nothing.
new vtkSocketController NewInstance ()
 *Undocumented Block
void SetCommunicator (vtkSocketCommunicator comm)
 Set the communicator used in normal and rmi communications.
override void SingleMethodExecute ()
 Does not apply to sockets. Does nothing.
virtual int WaitForConnection (int port)
 Wait for connection on a given port, forwarded to the communicator.
- Public Member Functions inherited from Kitware.VTK.vtkMultiProcessController
 vtkMultiProcessController (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
int AllGather (IntPtr sendBuffer, IntPtr recvBuffer, int length)
 Same as gather except that the result ends up on all processes.
int AllGather (string sendBuffer, string recvBuffer, int length)
 Same as gather except that the result ends up on all processes.
int AllGather (vtkDataArray sendBuffer, vtkDataArray recvBuffer)
 Same as gather except that the result ends up on all processes.
int AllGatherV (IntPtr sendBuffer, IntPtr recvBuffer, int sendLength, IntPtr recvLengths, IntPtr offsets)
 Same as GatherV except that the result is placed in all processes.
int AllGatherV (string sendBuffer, string recvBuffer, int sendLength, IntPtr recvLengths, IntPtr offsets)
 Same as GatherV except that the result is placed in all processes.
int AllGatherV (vtkDataArray sendBuffer, vtkDataArray recvBuffer, IntPtr recvLengths, IntPtr offsets)
 Same as GatherV except that the result is placed in all processes.
int AllGatherV (vtkDataArray sendBuffer, vtkDataArray recvBuffer)
 This special form of AllGatherV will automatically determine recvLengths and offsets to tightly pack the data in the recvBuffer in process order. It will also resize recvBuffer in order to accommodate the incoming data (unlike the other GatherV variants).
int AllReduce (IntPtr sendBuffer, IntPtr recvBuffer, int length, int operation)
 Same as Reduce except that the result is placed in all of the processes.
int AllReduce (string sendBuffer, string recvBuffer, int length, int operation)
 Same as Reduce except that the result is placed in all of the processes.
int AllReduce (vtkDataArray sendBuffer, vtkDataArray recvBuffer, int operation)
 Same as Reduce except that the result is placed in all of the processes.
void Barrier ()
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Broadcast (IntPtr data, int length, int srcProcessId)
 Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.
int Broadcast (string data, int length, int srcProcessId)
 Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.
int Broadcast (vtkDataObject data, int srcProcessId)
 Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.
int Broadcast (vtkDataArray data, int srcProcessId)
 Broadcast sends the array in the process with id srcProcessId to all of the other processes. All processes must call these method with the same arguments in order for it to complete.
virtual vtkMultiProcessController CreateSubController (vtkProcessGroup group)
 Creates a new controller with the processes specified by the given group. The new controller will already be initialized for you. You are responsible for deleting the controller once you are done. It is invalid to pass this method a group with a different communicator than is used by this controller. This operation is collective accross all processes defined in the group. It is undefined what will happen if the group is not the same on all processes. This method must be called by all processes in the controller regardless of whether they are in the group. NULL is returned on all process not in the group.
int Gather (IntPtr sendBuffer, IntPtr recvBuffer, int length, int destProcessId)
 Gather collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on te destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
int Gather (string sendBuffer, string recvBuffer, int length, int destProcessId)
 Gather collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on te destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
int Gather (vtkDataArray sendBuffer, vtkDataArray recvBuffer, int destProcessId)
 Gather collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The length argument (which must be the same on all processes) is the length of the sendBuffers. The recvBuffer (on te destination process) must be of length length*numProcesses. Gather is the inverse operation of Scatter.
int GatherV (IntPtr sendBuffer, IntPtr recvBuffer, int sendLength, IntPtr recvLengths, IntPtr offsets, int destProcessId)
 GatherV is the vector variant of Gather. It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
int GatherV (string sendBuffer, string recvBuffer, int sendLength, IntPtr recvLengths, IntPtr offsets, int destProcessId)
 GatherV is the vector variant of Gather. It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
int GatherV (vtkDataArray sendBuffer, vtkDataArray recvBuffer, IntPtr recvLengths, IntPtr offsets, int destProcessId)
 GatherV is the vector variant of Gather. It extends the functionality of Gather by allowing a varying count of data from each process. GatherV collects arrays in the process with id destProcessId. Each process (including the destination) sends the contents of its send buffer to the destination process. The destination process receives the messages and stores them in rank order. The sendLength argument defines how much the local process sends to destProcessId and recvLengths is an array containing the amount destProcessId receives from each process, in rank order.
int GatherV (vtkDataArray sendBuffer, vtkDataArray recvBuffer, int destProcessId)
 This special form of GatherV will automatically determine recvLengths and offsets to tightly pack the data in the recvBuffer in process order. It will also resize recvBuffer in order to accommodate the incoming data (unlike the other GatherV variants).
virtual int GetBreakFlag ()
 Setting this flag to 1 will cause the ProcessRMIs loop to return. This also causes vtkUpStreamPorts to return from their WaitForUpdate loops.
virtual vtkCommunicator GetCommunicator ()
 Returns the communicator associated with this controller. A default communicator is created in constructor.
int GetCount ()
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int GetLocalProcessId ()
 Tells you which process [0, NumProcess) you are in.
int GetNumberOfProcesses ()
 Set the number of processes you will be using. This defaults to the maximum number available. If you set this to a value higher than the default, you will get an error.
virtual vtkMultiProcessController PartitionController (int localColor, int localKey)
 Partitions this controller based on a coloring. That is, each process passes in a color. All processes with the same color are grouped into the same partition. The processes are ordered by their self-assigned key. Lower keys have lower process ids. Ties are broken by the current process ids. (For example, if all the keys are 0, then the resulting processes will be ordered in the same way.) This method returns a new controller to each process that represents the local partition. This is basically the same operation as MPI_Comm_split.
int ProcessRMIs (int reportErrors, int dont_loop)
 Calling this method gives control to the controller to start processing RMIs. Possible return values are: RMI_NO_ERROR, RMI_TAG_ERROR : rmi tag could not be received, RMI_ARG_ERROR : rmi arg could not be received. If reportErrors is false, no vtkErrorMacro is called. ProcessRMIs() calls ProcessRMIs(int) with reportErrors = 0. If dont_loop is 1, this call just process one RMI message and exits.
int ProcessRMIs ()
 Calling this method gives control to the controller to start processing RMIs. Possible return values are: RMI_NO_ERROR, RMI_TAG_ERROR : rmi tag could not be received, RMI_ARG_ERROR : rmi arg could not be received. If reportErrors is false, no vtkErrorMacro is called. ProcessRMIs() calls ProcessRMIs(int) with reportErrors = 0. If dont_loop is 1, this call just process one RMI message and exits.
int Receive (IntPtr data, int length, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Receive (string data, int length, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Receive (vtkDataObject data, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Receive (vtkDataArray data, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
vtkDataObject ReceiveDataObject (int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Reduce (IntPtr sendBuffer, IntPtr recvBuffer, int length, int operation, int destProcessId)
 Reduce an array to the given destination process. This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
int Reduce (string sendBuffer, string recvBuffer, int length, int operation, int destProcessId)
 Reduce an array to the given destination process. This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
int Reduce (vtkDataArray sendBuffer, vtkDataArray recvBuffer, int operation, int destProcessId)
 Reduce an array to the given destination process. This version of Reduce takes an identifier defined in the vtkCommunicator::StandardOperations enum to define the operation.
void RemoveAllRMICallbacks (int tag)
 —————— RMIs ——————–
int RemoveFirstRMI (int tag)
 —————— RMIs ——————–
int RemoveRMI (uint id)
 —————— RMIs ——————–
bool RemoveRMICallback (uint id)
 —————— RMIs ——————–
int Scatter (IntPtr sendBuffer, IntPtr recvBuffer, int length, int srcProcessId)
 Scatter takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
int Scatter (string sendBuffer, string recvBuffer, int length, int srcProcessId)
 Scatter takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
int Scatter (vtkDataArray sendBuffer, vtkDataArray recvBuffer, int srcProcessId)
 Scatter takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer. Process 0 receives the first length values, process 1 receives the second length values, and so on. Scatter is the inverse operation of Gather.
int ScatterV (IntPtr sendBuffer, IntPtr recvBuffer, IntPtr sendLengths, IntPtr offsets, int recvLength, int srcProcessId)
 ScatterV is the vector variant of Scatter. It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
int ScatterV (string sendBuffer, string recvBuffer, IntPtr sendLengths, IntPtr offsets, int recvLength, int srcProcessId)
 ScatterV is the vector variant of Scatter. It extends the functionality of Scatter by allowing a varying count of data to each process. ScatterV takes an array in the process with id srcProcessId and distributes it. Each process (including the source) receives a portion of the send buffer defined by the sendLengths and offsets arrays.
int Send (IntPtr data, int length, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Send (string data, int length, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Send (vtkDataObject data, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
int Send (vtkDataArray data, int remoteProcessId, int tag)
 Communicator which is a copy of the current user level communicator except the context; i.e. even if the tags are the same, the RMI messages will not interfere with user level messages. Note that since the communicators can be created differently depending on the type of controller, the subclasses are responsible of deleting them.
virtual void SetBreakFlag (int _arg)
 Setting this flag to 1 will cause the ProcessRMIs loop to return. This also causes vtkUpStreamPorts to return from their WaitForUpdate loops.
void SetNumberOfProcesses (int num)
 Set the number of processes you will be using. This defaults to the maximum number available. If you set this to a value higher than the default, you will get an error.
void SetSingleProcessObject (vtkProcess p)
 Set the number of processes you will be using. This defaults to the maximum number available. If you set this to a value higher than the default, you will get an error.
void TriggerBreakRMIs ()
 A conveniance method. Called on process 0 to break "ProcessRMIs" loop on all other processes.
void TriggerRMI (int remoteProcessId, IntPtr arg, int argLength, int tag)
 A method to trigger a method invocation in another process.
void TriggerRMI (int remoteProcessId, string arg, int tag)
 Convenience method when the arg is a string.
void TriggerRMI (int remoteProcessId, int tag)
 Convenience method when there is no argument.
void TriggerRMIOnAllChildren (IntPtr arg, int argLength, int tag)
 This is a convenicence method to trigger an RMI call on all the "children" of the current node. The children of the current node can be determined by drawing a binary tree starting at node 0 and then assigned nodes ids incrementally in a breadth-first fashion from left to right. This is designed to be used when trigger an RMI call on all satellites from the root node.
void TriggerRMIOnAllChildren (string arg, int tag)
 This is a convenicence method to trigger an RMI call on all the "children" of the current node. The children of the current node can be determined by drawing a binary tree starting at node 0 and then assigned nodes ids incrementally in a breadth-first fashion from left to right. This is designed to be used when trigger an RMI call on all satellites from the root node.
void TriggerRMIOnAllChildren (int tag)
 This is a convenicence method to trigger an RMI call on all the "children" of the current node. The children of the current node can be determined by drawing a binary tree starting at node 0 and then assigned nodes ids incrementally in a breadth-first fashion from left to right. This is designed to be used when trigger an RMI call on all satellites from the root node.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void DebugOff ()
 Turn debugging output off.
virtual void DebugOn ()
 Turn debugging output on.
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
byte GetDebug ()
 Get the value of the debug flag.
virtual uint GetMTime ()
 Return this object's modified time.
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on.
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string.
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events.
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void Register (vtkObjectBase o)
 Increase the reference count (mark as used by another object).
virtual void FastDelete ()
 Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
string GetClassName ()
 Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
int GetReferenceCount ()
 Return the current reference count of this object.
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.)

Static Public Member Functions

static new vtkSocketController New ()
 *Undocumented Block
static new int IsTypeOf (string type)
 *Undocumented Block
static new vtkSocketController SafeDownCast (vtkObjectBase o)
 *Undocumented Block
- Static Public Member Functions inherited from Kitware.VTK.vtkMultiProcessController
static int GetBreakRMITag ()
 Accessor to some default tags.
static vtkMultiProcessController GetGlobalController ()
 This convenience method returns the controller associated with the local process. It returns NULL until the processes are spawned. It is better if you hang on to the controller passed as an argument to the SingleMethod or MultipleMethod functions.
static int GetRMIArgTag ()
 Accessor to some default tags.
static int GetRMITag ()
 Accessor to some default tags.
static void SetGlobalController (vtkMultiProcessController controller)
 This method can be used to synchronize processes.
- Static Public Member Functions inherited from Kitware.VTK.vtkObject
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. It allows the debugger to break on error.
static int GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkSocketController"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkMultiProcessController
- Public Attributes inherited from Kitware.VTK.vtkObject
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

static new readonly string MRClassNameKey = "19vtkSocketController"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkMultiProcessController
- Static Public Attributes inherited from Kitware.VTK.vtkObject
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Static Private Member Functions

static vtkSocketController ()
 Automatically generated type registration mechanics.

Detailed Description

vtkSocketController - Process communication using Sockets

Description This is a concrete implementation of vtkMultiProcessController. It supports one-to-one communication using sockets. Note that process 0 will always correspond to self and process 1 to the remote process. This class is best used with ports.


Member Enumeration Documentation

FOOLISH MORTALS! Thou hast forsaken the sacred laws of ad-hoc polymorphism when thou broke a critical assumption of the superclass (namely, each process has thine own id). The time frame to fix thy error has passed. Too much code has come to rely on this abhorrent behavior. Instead, we offer this gift: a method for creating an equivalent communicator with correct process id semantics. The calling code is responsible for deleting this controller.

Enumerator:
ENDIAN_TAG 

enum member

HASH_TAG 

enum member

IDTYPESIZE_TAG 

enum member

VERSION_TAG 

enum member

Reimplemented from Kitware.VTK.vtkMultiProcessController.


Constructor & Destructor Documentation

static Kitware.VTK.vtkSocketController.vtkSocketController ( )
staticprivate

Automatically generated type registration mechanics.

Kitware.VTK.vtkSocketController.vtkSocketController ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Kitware.VTK.vtkSocketController.vtkSocketController ( )

*Undocumented Block


Member Function Documentation

virtual void Kitware.VTK.vtkSocketController.CloseConnection ( )
virtual

Close a connection, forwarded to the communicator.

virtual int Kitware.VTK.vtkSocketController.ConnectTo ( string  hostName,
int  port 
)
virtual

Open a connection to a give machine, forwarded to the communicator.

vtkMultiProcessController Kitware.VTK.vtkSocketController.CreateCompliantController ( )

FOOLISH MORTALS! Thou hast forsaken the sacred laws of ad-hoc polymorphism when thou broke a critical assumption of the superclass (namely, each process has thine own id). The time frame to fix thy error has passed. Too much code has come to rely on this abhorrent behavior. Instead, we offer this gift: a method for creating an equivalent communicator with correct process id semantics. The calling code is responsible for deleting this controller.

Here is the call graph for this function:

override void Kitware.VTK.vtkSocketController.CreateOutputWindow ( )
virtual

Does not apply to sockets. Does nothing.

Reimplemented from Kitware.VTK.vtkMultiProcessController.

override void Kitware.VTK.vtkSocketController.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkMultiProcessController.

override void Kitware.VTK.vtkSocketController.FinalizeWrapper ( )
virtual

Does not apply to sockets. Does nothing.

Reimplemented from Kitware.VTK.vtkMultiProcessController.

override void Kitware.VTK.vtkSocketController.FinalizeWrapper ( int  arg0)
virtual

Does not apply to sockets. Does nothing.

Reimplemented from Kitware.VTK.vtkMultiProcessController.

int Kitware.VTK.vtkSocketController.GetSwapBytesInReceivedData ( )

Open a connection to a give machine, forwarded to the communicator.

virtual void Kitware.VTK.vtkSocketController.Initialize ( )
virtual

This method is for initialiazing sockets. One of these is REQUIRED for Windows.

override int Kitware.VTK.vtkSocketController.IsA ( string  type)
virtual

*Undocumented Block

Reimplemented from Kitware.VTK.vtkMultiProcessController.

static new int Kitware.VTK.vtkSocketController.IsTypeOf ( string  type)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkMultiProcessController.

override void Kitware.VTK.vtkSocketController.MultipleMethodExecute ( )
virtual

Does not apply to sockets. Does nothing.

Reimplemented from Kitware.VTK.vtkMultiProcessController.

static new vtkSocketController Kitware.VTK.vtkSocketController.New ( )
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkObject.

new vtkSocketController Kitware.VTK.vtkSocketController.NewInstance ( )

*Undocumented Block

Reimplemented from Kitware.VTK.vtkMultiProcessController.

static new vtkSocketController Kitware.VTK.vtkSocketController.SafeDownCast ( vtkObjectBase  o)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkMultiProcessController.

Here is the call graph for this function:

void Kitware.VTK.vtkSocketController.SetCommunicator ( vtkSocketCommunicator  comm)

Set the communicator used in normal and rmi communications.

override void Kitware.VTK.vtkSocketController.SingleMethodExecute ( )
virtual

Does not apply to sockets. Does nothing.

Reimplemented from Kitware.VTK.vtkMultiProcessController.

virtual int Kitware.VTK.vtkSocketController.WaitForConnection ( int  port)
virtual

Wait for connection on a given port, forwarded to the communicator.


Member Data Documentation

new readonly string Kitware.VTK.vtkSocketController.MRClassNameKey = "19vtkSocketController"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkMultiProcessController.

new const string Kitware.VTK.vtkSocketController.MRFullTypeName = "Kitware.VTK.vtkSocketController"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkMultiProcessController.


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