Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdApcQueueHelper.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class OdApcQueueHelper : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdApcQueueHelper(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdApcQueueHelper obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public OdApcQueueHelper() : this(GlobalsPINVOKE.new_OdApcQueueHelper__SWIG_0(), true) {
53 }
54
55 public OdApcQueueHelper(OdApcQueue pObject, OdRxObjMod m) : this(GlobalsPINVOKE.new_OdApcQueueHelper__SWIG_1(OdApcQueue.getCPtr(pObject), (int)m), true) {
57 }
58
59 public OdApcQueueHelper(OdApcQueue pObject) : this(GlobalsPINVOKE.new_OdApcQueueHelper__SWIG_2(OdApcQueue.getCPtr(pObject)), true) {
61 }
62
63 public OdApcQueueHelper(OdRxObject pObject, OdRxObjMod m) : this(GlobalsPINVOKE.new_OdApcQueueHelper__SWIG_3(OdRxObject.getCPtr(pObject), (int)m), true) {
65 }
66
67 public OdApcQueueHelper(OdBaseObjectPtr pObject) : this(GlobalsPINVOKE.new_OdApcQueueHelper__SWIG_4(OdBaseObjectPtr.getCPtr(pObject)), true) {
69 }
70
71 public OdApcQueueHelper(OdApcQueueHelper arg0) : this(GlobalsPINVOKE.new_OdApcQueueHelper__SWIG_5(OdApcQueueHelper.getCPtr(arg0)), true) {
73 }
74
78 return ret;
79 }
80
81 public void initST(OdRxThreadPoolService pThreadPool) {
84 }
85
86 public void initMT(OdRxThreadPoolService pThreadPool) {
89 }
90
91 public void call(OdApcAtom pAction, OdRxObject pParam) {
94 }
95
96 public void call(OdApcAtom pAction) {
99 }
100
101 public void call(OdApcAtom pAction, IntPtr /*SIMPLETYPE*/ param) {
102 GlobalsPINVOKE.OdApcQueueHelper_call__SWIG_2(swigCPtr, OdApcAtom.getCPtr(pAction), param /*SIMPLETYPE*/);
104 }
105
106 public void setAtomPoolRef(OdApcObjectPool pAtomPool) {
109 }
110
111 public void wait() {
114 }
115
116}
117
118}
static global::System.Exception Retrieve()
static void OdApcQueueHelper_call__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdApcQueueHelper_setAtomPoolRef(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdApcQueueHelper_initMT(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdApcQueueHelper_wait(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdApcQueueHelper(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdApcQueueHelper_call__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, IntPtr jarg3)
static global::System.IntPtr OdApcQueueHelper_Assign__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdApcQueueHelper_initST(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdApcQueueHelper_call__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static HandleRef getCPtr(OdApcAtom obj)
Definition: OdApcAtom.cs:25
static HandleRef getCPtr(OdApcObjectPool obj)
OdApcQueueHelper(OdBaseObjectPtr pObject)
OdApcQueueHelper Assign(OdApcQueueHelper arg0)
void initST(OdRxThreadPoolService pThreadPool)
OdApcQueueHelper(OdRxObject pObject, OdRxObjMod m)
void call(OdApcAtom pAction)
OdApcQueueHelper(OdApcQueueHelper arg0)
void setAtomPoolRef(OdApcObjectPool pAtomPool)
void call(OdApcAtom pAction, OdRxObject pParam)
void call(OdApcAtom pAction, IntPtr param)
static HandleRef getCPtr(OdApcQueueHelper obj)
OdApcQueueHelper(OdApcQueue pObject, OdRxObjMod m)
virtual void Dispose(bool disposing)
OdApcQueueHelper(OdApcQueue pObject)
void initMT(OdRxThreadPoolService pThreadPool)
OdApcQueueHelper(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdRxThreadPoolService obj)