ActiViz .NET
5.8.0
|
vtkCriticalSection - Critical section locking class More...
Public Member Functions | |
vtkCriticalSection (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkCriticalSection () | |
Undocumented Block. | |
override int | IsA (string type) |
Undocumented Block. | |
void | Lock () |
Unlock the vtkCriticalSection. | |
new vtkCriticalSection | NewInstance () |
Undocumented Block. | |
void | Unlock () |
Unlock the vtkCriticalSection. | |
Static Public Member Functions | |
static new vtkCriticalSection | New () |
Undocumented Block. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkCriticalSection | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkCriticalSection" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "18vtkCriticalSection" |
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 | vtkCriticalSection_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkCriticalSection_IsA_01 (HandleRef pThis, string type) |
static internal int | vtkCriticalSection_IsTypeOf_02 (string type) |
static internal void | vtkCriticalSection_Lock_03 (HandleRef pThis) |
static internal IntPtr | vtkCriticalSection_NewInstance_05 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkCriticalSection_SafeDownCast_06 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkCriticalSection_Unlock_07 (HandleRef pThis) |
Static Private Member Functions | |
static | vtkCriticalSection () |
Automatically generated type registration mechanics. |
vtkCriticalSection - Critical section locking class
Description vtkCriticalSection allows the locking of variables which are accessed through different threads. This header file also defines vtkSimpleCriticalSection which is not a subclass of vtkObject. The API is identical to that of vtkMutexLock, and the behavior is identical as well, except on Windows 9x/NT platforms. The only difference on these platforms is that vtkMutexLock is more flexible, in that it works across processes as well as across threads, but also costs more, in that it evokes a 600-cycle x86 ring transition. The vtkCriticalSection provides a higher-performance equivalent (on Windows) but won't work across processes. Since it is unclear how, in vtk, an object at the vtk level can be shared across processes in the first place, one should use vtkCriticalSection unless one has a very good reason to use vtkMutexLock. If higher-performance equivalents for non-Windows platforms (Irix, SunOS, etc) are discovered, they should replace the implementations in this class
static Kitware.VTK.vtkCriticalSection.vtkCriticalSection | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkCriticalSection.vtkCriticalSection | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Undocumented Block.
override void Kitware.VTK.vtkCriticalSection.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.vtkObject.
override int Kitware.VTK.vtkCriticalSection.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
static new int Kitware.VTK.vtkCriticalSection.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
void Kitware.VTK.vtkCriticalSection.Lock | ( | ) |
Unlock the vtkCriticalSection.
static new vtkCriticalSection Kitware.VTK.vtkCriticalSection.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
static new vtkCriticalSection Kitware.VTK.vtkCriticalSection.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Unlock the vtkCriticalSection.
static internal int Kitware.VTK.vtkCriticalSection.vtkCriticalSection_IsA_01 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkCriticalSection.vtkCriticalSection_IsTypeOf_02 | ( | string | type | ) | [private] |
static internal void Kitware.VTK.vtkCriticalSection.vtkCriticalSection_Lock_03 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkCriticalSection.vtkCriticalSection_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkCriticalSection.vtkCriticalSection_NewInstance_05 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkCriticalSection.vtkCriticalSection_SafeDownCast_06 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkCriticalSection.vtkCriticalSection_Unlock_07 | ( | HandleRef | pThis | ) | [private] |
new readonly string Kitware.VTK.vtkCriticalSection.MRClassNameKey = "18vtkCriticalSection" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.
new const string Kitware.VTK.vtkCriticalSection.MRFullTypeName = "Kitware.VTK.vtkCriticalSection" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.