18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 : this(
TD_DbPINVOKE.new_OdDbObjectReactor(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
46 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
52 SwigDirectorConnect();
53 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
57 MemoryManager mMan = MemoryManager.GetMemoryManager();
58 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
98 MemoryManager mMan = MemoryManager.GetMemoryManager();
99 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
200 private void SwigDirectorConnect() {
201 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
203 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
205 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
207 if (SwigDerivedClassHasMethod(
"cancelled", swigMethodTypes3))
209 if (SwigDerivedClassHasMethod(
"copied", swigMethodTypes4))
211 if (SwigDerivedClassHasMethod(
"erased", swigMethodTypes5))
213 if (SwigDerivedClassHasMethod(
"erased", swigMethodTypes6))
215 if (SwigDerivedClassHasMethod(
"goodbye", swigMethodTypes7))
217 if (SwigDerivedClassHasMethod(
"openedForModify", swigMethodTypes8))
219 if (SwigDerivedClassHasMethod(
"modified", swigMethodTypes9))
221 if (SwigDerivedClassHasMethod(
"modifiedGraphics", swigMethodTypes10))
223 if (SwigDerivedClassHasMethod(
"subObjModified", swigMethodTypes11))
225 if (SwigDerivedClassHasMethod(
"modifyUndone", swigMethodTypes12))
227 if (SwigDerivedClassHasMethod(
"modifiedXData", swigMethodTypes13))
229 if (SwigDerivedClassHasMethod(
"unappended", swigMethodTypes14))
231 if (SwigDerivedClassHasMethod(
"reappended", swigMethodTypes15))
233 if (SwigDerivedClassHasMethod(
"objectClosed", swigMethodTypes16))
235 TD_DbPINVOKE.
OdDbObjectReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16);
238 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
239 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);
240 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdDbObjectReactor));
241 return hasDerivedMethod;
244 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
253 private IntPtr SwigDirectorMethodisA() {
260 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
266 private void SwigDirectorMethodcancelled(IntPtr pObject) {
268 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
272 private void SwigDirectorMethodcopied(IntPtr pObject, IntPtr pNewObject) {
274 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
276 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pNewObject,
false)
280 private void SwigDirectorMethoderased__SWIG_0(IntPtr pObject,
bool erasing) {
282 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
286 private void SwigDirectorMethoderased__SWIG_1(IntPtr pObject) {
288 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
292 private void SwigDirectorMethodgoodbye(IntPtr pObject) {
294 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
298 private void SwigDirectorMethodopenedForModify(IntPtr pObject) {
300 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
304 private void SwigDirectorMethodmodified(IntPtr pObject) {
306 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
310 private void SwigDirectorMethodmodifiedGraphics(IntPtr pObject) {
312 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
316 private void SwigDirectorMethodsubObjModified(IntPtr pObject, IntPtr pSubObj) {
318 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
320 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pSubObj,
false)
324 private void SwigDirectorMethodmodifyUndone(IntPtr pObject) {
326 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
330 private void SwigDirectorMethodmodifiedXData(IntPtr pObject) {
332 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
336 private void SwigDirectorMethodunappended(IntPtr pObject) {
338 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
342 private void SwigDirectorMethodreappended(IntPtr pObject) {
344 (OdDbObject)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),pObject,
false)
348 private void SwigDirectorMethodobjectClosed(global::System.IntPtr objectId) {
388 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
389 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
390 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
391 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(OdDbObject) };
392 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDbObject), typeof(OdDbObject) };
393 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDbObject), typeof(
bool) };
394 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdDbObject) };
395 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdDbObject) };
396 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(OdDbObject) };
397 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(OdDbObject) };
398 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(OdDbObject) };
399 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { typeof(OdDbObject), typeof(OdDbObject) };
400 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { typeof(OdDbObject) };
401 private static global::System.Type[] swigMethodTypes13 =
new global::System.Type[] { typeof(OdDbObject) };
402 private static global::System.Type[] swigMethodTypes14 =
new global::System.Type[] { typeof(OdDbObject) };
403 private static global::System.Type[] swigMethodTypes15 =
new global::System.Type[] { typeof(OdDbObject) };
404 private static global::System.Type[] swigMethodTypes16 =
new global::System.Type[] { typeof(OdDbObjectId) };
static void OdDbObjectReactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_0 delegate0, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_1 delegate1, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_2 delegate2, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_3 delegate3, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_4 delegate4, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_5 delegate5, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_6 delegate6, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_7 delegate7, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_8 delegate8, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_9 delegate9, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_10 delegate10, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_11 delegate11, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_12 delegate12, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_13 delegate13, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_14 delegate14, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_15 delegate15, OdDbObjectReactor.SwigDelegateOdDbObjectReactor_16 delegate16)