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 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
77 MemoryManager mMan = MemoryManager.GetMemoryManager();
78 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
210 SwigDirectorConnect();
211 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
214 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
217 mTr.AddObject(
new OdTfObject(swigCPtr.Handle,
true));
218 this.swigCMemOwn =
false;
223 private void SwigDirectorConnect() {
224 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
226 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes1))
228 if (SwigDerivedClassHasMethod(
"drawableType", swigMethodTypes2))
230 if (SwigDerivedClassHasMethod(
"isPersistent", swigMethodTypes3))
232 if (SwigDerivedClassHasMethod(
"id", swigMethodTypes4))
234 if (SwigDerivedClassHasMethod(
"setGsNode", swigMethodTypes5))
236 if (SwigDerivedClassHasMethod(
"gsNode", swigMethodTypes6))
238 if (SwigDerivedClassHasMethod(
"subSetAttributes", swigMethodTypes7))
240 if (SwigDerivedClassHasMethod(
"subWorldDraw", swigMethodTypes8))
242 if (SwigDerivedClassHasMethod(
"subViewportDraw", swigMethodTypes9))
244 if (SwigDerivedClassHasMethod(
"subViewportDrawLogicalFlags", swigMethodTypes10))
246 if (SwigDerivedClassHasMethod(
"subRegenSupportFlags", swigMethodTypes11))
248 if (SwigDerivedClassHasMethod(
"getOwner", swigMethodTypes12))
250 if (SwigDerivedClassHasMethod(
"getProperty", swigMethodTypes13))
252 if (SwigDerivedClassHasMethod(
"getProperty", swigMethodTypes14))
254 if (SwigDerivedClassHasMethod(
"setProperty", swigMethodTypes15))
256 if (SwigDerivedClassHasMethod(
"setProperty", swigMethodTypes16))
258 if (SwigDerivedClassHasMethod(
"getProperty", swigMethodTypes17))
260 if (SwigDerivedClassHasMethod(
"getProperty", swigMethodTypes18))
262 if (SwigDerivedClassHasMethod(
"getProperty", swigMethodTypes19))
264 if (SwigDerivedClassHasMethod(
"setProperty", swigMethodTypes20))
266 if (SwigDerivedClassHasMethod(
"setProperty", swigMethodTypes21))
268 if (SwigDerivedClassHasMethod(
"setProperty", swigMethodTypes22))
270 if (SwigDerivedClassHasMethod(
"getProperty", swigMethodTypes23))
272 if (SwigDerivedClassHasMethod(
"getProperty", swigMethodTypes24))
274 if (SwigDerivedClassHasMethod(
"setProperty", swigMethodTypes25))
276 if (SwigDerivedClassHasMethod(
"setProperty", swigMethodTypes26))
278 GlobalsPINVOKE.
OdTfObject_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20, swigDelegate21, swigDelegate22, swigDelegate23, swigDelegate24, swigDelegate25, swigDelegate26);
281 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
282 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);
283 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdTfObject));
284 return hasDerivedMethod;
287 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
291 (OdRxClass)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),protocolClass,
false)
296 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
302 private int SwigDirectorMethoddrawableType() {
306 private bool SwigDirectorMethodisPersistent() {
310 private global::System.IntPtr SwigDirectorMethodid() {
311 return OdDbStub.getCPtr(
id()).Handle;
314 private void SwigDirectorMethodsetGsNode(IntPtr pGsNode) {
316new OdGsCache(pGsNode,
false)
320 private IntPtr SwigDirectorMethodgsNode() {
323 OdGsCache.getCPtr(
gsNode()).Handle
327 private UInt32 SwigDirectorMethodsubSetAttributes(IntPtr traits) {
329new OdGiDrawableTraits(traits,
false)
333 private bool SwigDirectorMethodsubWorldDraw(IntPtr wd) {
335new OdGiWorldDraw_Internal(wd,
false)
339 private void SwigDirectorMethodsubViewportDraw(IntPtr vd) {
341new OdGiViewportDraw_Internal(vd,
false)
345 private UInt32 SwigDirectorMethodsubViewportDrawLogicalFlags(IntPtr vd) {
347new OdGiViewportDraw_Internal(vd,
false)
351 private UInt32 SwigDirectorMethodsubRegenSupportFlags() {
355 private IntPtr SwigDirectorMethodgetOwner() {
362 private int SwigDirectorMethodgetProperty__SWIG_0(IntPtr pPI, global::System.IntPtr
value, UInt32 arrayIndex) {
364 (OdTfProperty)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfProperty),pPI,
false)
365,
new OdTfVariant(
value,
false), arrayIndex );
368 private int SwigDirectorMethodgetProperty__SWIG_1(IntPtr pPI, global::System.IntPtr
value) {
370 (OdTfProperty)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfProperty),pPI,
false)
371,
new OdTfVariant(
value,
false));
374 private int SwigDirectorMethodsetProperty__SWIG_0(IntPtr pPI, global::System.IntPtr
value, UInt32 arrayIndex) {
376 (OdTfProperty)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfProperty),pPI,
false)
377,
new OdTfVariant(
value,
false), arrayIndex );
380 private int SwigDirectorMethodsetProperty__SWIG_1(IntPtr pPI, global::System.IntPtr
value) {
382 (OdTfProperty)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfProperty),pPI,
false)
383,
new OdTfVariant(
value,
false));
386 private int SwigDirectorMethodgetProperty__SWIG_2([MarshalAs(UnmanagedType.LPWStr)]
String name, global::System.IntPtr
value, UInt32 arrayIndex, IntPtr pClass) {
388 (OdTfClass)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfClass),pClass,
false)
392 private int SwigDirectorMethodgetProperty__SWIG_3([MarshalAs(UnmanagedType.LPWStr)]
String name, global::System.IntPtr
value, UInt32 arrayIndex) {
396 private int SwigDirectorMethodgetProperty__SWIG_4([MarshalAs(UnmanagedType.LPWStr)]
String name, global::System.IntPtr
value) {
400 private int SwigDirectorMethodsetProperty__SWIG_2([MarshalAs(UnmanagedType.LPWStr)]
String name, global::System.IntPtr
value, UInt32 arrayIndex, IntPtr pClass) {
402 (OdTfClass)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfClass),pClass,
false)
406 private int SwigDirectorMethodsetProperty__SWIG_3([MarshalAs(UnmanagedType.LPWStr)]
String name, global::System.IntPtr
value, UInt32 arrayIndex) {
410 private int SwigDirectorMethodsetProperty__SWIG_4([MarshalAs(UnmanagedType.LPWStr)]
String name, global::System.IntPtr
value) {
414 private int SwigDirectorMethodgetProperty__SWIG_5(
int propertyIndex, global::System.IntPtr
value, UInt32 arrayIndex) {
415 return (
int)
getProperty(propertyIndex,
new OdTfVariant(
value,
false), arrayIndex );
418 private int SwigDirectorMethodgetProperty__SWIG_6(
int propertyIndex, global::System.IntPtr
value) {
422 private int SwigDirectorMethodsetProperty__SWIG_5(
int propertyIndex, global::System.IntPtr
value, UInt32 arrayIndex) {
423 return (
int)
setProperty(propertyIndex,
new OdTfVariant(
value,
false), arrayIndex );
426 private int SwigDirectorMethodsetProperty__SWIG_6(
int propertyIndex, global::System.IntPtr
value) {
486 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
487 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { typeof(
OdRxObject) };
488 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { };
489 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { };
490 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { };
491 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdGsCache) };
492 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { };
493 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdGiDrawableTraits) };
494 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(OdGiWorldDraw) };
495 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(OdGiViewportDraw) };
496 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(OdGiViewportDraw) };
497 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { };
498 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { };
499 private static global::System.Type[] swigMethodTypes13 =
new global::System.Type[] { typeof(OdTfProperty), typeof(OdTfVariant), typeof(UInt32) };
500 private static global::System.Type[] swigMethodTypes14 =
new global::System.Type[] { typeof(OdTfProperty), typeof(OdTfVariant) };
501 private static global::System.Type[] swigMethodTypes15 =
new global::System.Type[] { typeof(OdTfProperty), typeof(OdTfVariant), typeof(UInt32) };
502 private static global::System.Type[] swigMethodTypes16 =
new global::System.Type[] { typeof(OdTfProperty), typeof(OdTfVariant) };
503 private static global::System.Type[] swigMethodTypes17 =
new global::System.Type[] { typeof(
String), typeof(OdTfVariant), typeof(UInt32), typeof(OdTfClass) };
504 private static global::System.Type[] swigMethodTypes18 =
new global::System.Type[] { typeof(
String), typeof(OdTfVariant), typeof(UInt32) };
505 private static global::System.Type[] swigMethodTypes19 =
new global::System.Type[] { typeof(
String), typeof(OdTfVariant) };
506 private static global::System.Type[] swigMethodTypes20 =
new global::System.Type[] { typeof(
String), typeof(OdTfVariant), typeof(UInt32), typeof(OdTfClass) };
507 private static global::System.Type[] swigMethodTypes21 =
new global::System.Type[] { typeof(
String), typeof(OdTfVariant), typeof(UInt32) };
508 private static global::System.Type[] swigMethodTypes22 =
new global::System.Type[] { typeof(
String), typeof(OdTfVariant) };
509 private static global::System.Type[] swigMethodTypes23 =
new global::System.Type[] { typeof(
int), typeof(OdTfVariant), typeof(UInt32) };
510 private static global::System.Type[] swigMethodTypes24 =
new global::System.Type[] { typeof(
int), typeof(OdTfVariant) };
511 private static global::System.Type[] swigMethodTypes25 =
new global::System.Type[] { typeof(
int), typeof(OdTfVariant), typeof(UInt32) };
512 private static global::System.Type[] swigMethodTypes26 =
new global::System.Type[] { typeof(
int), typeof(OdTfVariant) };