ActiViz .NET
5.8.0
|
vtkSocketController - Process communication using Sockets More...
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 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. | |
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. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkSocketController" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "19vtkSocketController" |
Automatically generated type registration mechanics. | |
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. | |
Private Member Functions | |
static internal IntPtr | vtkSocketController_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkSocketController_CloseConnection_01 (HandleRef pThis) |
static internal int | vtkSocketController_ConnectTo_02 (HandleRef pThis, string hostName, int port) |
static internal IntPtr | vtkSocketController_CreateCompliantController_03 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkSocketController_CreateOutputWindow_04 (HandleRef pThis) |
static internal void | vtkSocketController_Finalize_05 (HandleRef pThis) |
static internal void | vtkSocketController_Finalize_06 (HandleRef pThis, int arg0) |
static internal int | vtkSocketController_GetSwapBytesInReceivedData_07 (HandleRef pThis) |
static internal void | vtkSocketController_Initialize_08 (HandleRef pThis) |
static internal int | vtkSocketController_IsA_09 (HandleRef pThis, string type) |
static internal int | vtkSocketController_IsTypeOf_10 (string type) |
static internal void | vtkSocketController_MultipleMethodExecute_11 (HandleRef pThis) |
static internal IntPtr | vtkSocketController_NewInstance_13 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkSocketController_SafeDownCast_14 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkSocketController_SetCommunicator_15 (HandleRef pThis, HandleRef comm) |
static internal void | vtkSocketController_SingleMethodExecute_16 (HandleRef pThis) |
static internal int | vtkSocketController_WaitForConnection_17 (HandleRef pThis, int port) |
Static Private Member Functions | |
static | vtkSocketController () |
Automatically generated type registration mechanics. |
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.
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.
ENDIAN_TAG |
enum member |
HASH_TAG |
enum member |
IDTYPESIZE_TAG |
enum member |
VERSION_TAG |
enum member |
Reimplemented from Kitware.VTK.vtkMultiProcessController.
static Kitware.VTK.vtkSocketController.vtkSocketController | ( | ) | [static, private] |
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.
Undocumented Block.
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.
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 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.
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.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkMultiProcessController.
static new vtkSocketController Kitware.VTK.vtkSocketController.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkMultiProcessController.
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.
static internal void Kitware.VTK.vtkSocketController.vtkSocketController_CloseConnection_01 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkSocketController.vtkSocketController_ConnectTo_02 | ( | HandleRef | pThis, |
string | hostName, | ||
int | port | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSocketController.vtkSocketController_CreateCompliantController_03 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkSocketController.vtkSocketController_CreateOutputWindow_04 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSocketController.vtkSocketController_Finalize_05 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSocketController.vtkSocketController_Finalize_06 | ( | HandleRef | pThis, |
int | arg0 | ||
) | [private] |
static internal int Kitware.VTK.vtkSocketController.vtkSocketController_GetSwapBytesInReceivedData_07 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSocketController.vtkSocketController_Initialize_08 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkSocketController.vtkSocketController_IsA_09 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkSocketController.vtkSocketController_IsTypeOf_10 | ( | string | type | ) | [private] |
static internal void Kitware.VTK.vtkSocketController.vtkSocketController_MultipleMethodExecute_11 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkSocketController.vtkSocketController_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSocketController.vtkSocketController_NewInstance_13 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSocketController.vtkSocketController_SafeDownCast_14 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkSocketController.vtkSocketController_SetCommunicator_15 | ( | HandleRef | pThis, |
HandleRef | comm | ||
) | [private] |
static internal void Kitware.VTK.vtkSocketController.vtkSocketController_SingleMethodExecute_16 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkSocketController.vtkSocketController_WaitForConnection_17 | ( | HandleRef | pThis, |
int | port | ||
) | [private] |
virtual int Kitware.VTK.vtkSocketController.WaitForConnection | ( | int | port | ) | [virtual] |
Wait for connection on a given port, forwarded to the communicator.
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.