17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 swigCPtr =
new HandleRef(
this, cPtr);
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
43 : this(
GlobalsPINVOKE.new_OdApcAtom(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
45 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
48 mTr.AddObject(
new OdApcAtom(swigCPtr.Handle,
true));
51 SwigDirectorConnect();
52 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
71 private void SwigDirectorConnect() {
72 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
74 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
76 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
78 if (SwigDerivedClassHasMethod(
"apcEntryPoint", swigMethodTypes3))
80 if (SwigDerivedClassHasMethod(
"apcEntryPoint", swigMethodTypes4))
85 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
86 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance,
null, methodTypes,
null);
87 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdApcAtom));
88 return hasDerivedMethod;
91 private IntPtr SwigDirectorMethodqueryX(IntPtr pClass) {
95 (OdRxClass)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),pClass,
false)
100 private IntPtr SwigDirectorMethodisA() {
103 OdRxClass.getCPtr(
isA()).Handle
107 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
113 private void SwigDirectorMethodapcEntryPoint__SWIG_0(IntPtr pMessage) {
119 private void SwigDirectorMethodapcEntryPoint__SWIG_1(IntPtr pMessage) {
135 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
136 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
137 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
138 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(
OdRxObject) };
139 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(IntPtr) };
static void OdApcAtom_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdApcAtom.SwigDelegateOdApcAtom_0 delegate0, OdApcAtom.SwigDelegateOdApcAtom_1 delegate1, OdApcAtom.SwigDelegateOdApcAtom_2 delegate2, OdApcAtom.SwigDelegateOdApcAtom_3 delegate3, OdApcAtom.SwigDelegateOdApcAtom_4 delegate4)