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_OdGiDrawableOverrule(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
45 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
51 SwigDirectorConnect();
52 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
56 MemoryManager mMan = MemoryManager.GetMemoryManager();
57 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
97 MemoryManager mMan = MemoryManager.GetMemoryManager();
98 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
157 private void SwigDirectorConnect() {
158 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
160 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
162 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
164 if (SwigDerivedClassHasMethod(
"isApplicable", swigMethodTypes3))
166 if (SwigDerivedClassHasMethod(
"setAttributes", swigMethodTypes4))
168 if (SwigDerivedClassHasMethod(
"worldDraw", swigMethodTypes5))
170 if (SwigDerivedClassHasMethod(
"viewportDraw", swigMethodTypes6))
172 if (SwigDerivedClassHasMethod(
"viewportDrawLogicalFlags", swigMethodTypes7))
174 if (SwigDerivedClassHasMethod(
"regenSupportFlags", swigMethodTypes8))
179 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
180 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);
182 return hasDerivedMethod;
185 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
189 (OdRxClass)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),protocolClass,
false)
194 private IntPtr SwigDirectorMethodisA() {
197 OdRxClass.getCPtr(
isA()).Handle
201 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
207 private bool SwigDirectorMethodisApplicable(IntPtr pOverruledSubject) {
213 private UInt32 SwigDirectorMethodsetAttributes(IntPtr pSubject, IntPtr traits) {
215 (OdGiDrawable)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),pSubject,
false)
217new OdGiDrawableTraits(traits,
false)
221 private bool SwigDirectorMethodworldDraw(IntPtr pSubject, IntPtr wd) {
223 (OdGiDrawable)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),pSubject,
false)
225new OdGiWorldDraw_Internal(wd,
false)
229 private void SwigDirectorMethodviewportDraw(IntPtr pSubject, IntPtr vd) {
231 (OdGiDrawable)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),pSubject,
false)
233new OdGiViewportDraw_Internal(vd,
false)
237 private UInt32 SwigDirectorMethodviewportDrawLogicalFlags(IntPtr pSubject, IntPtr vd) {
239 (OdGiDrawable)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),pSubject,
false)
241new OdGiViewportDraw_Internal(vd,
false)
245 private UInt32 SwigDirectorMethodregenSupportFlags(IntPtr pSubject) {
247 (OdGiDrawable)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),pSubject,
false)
271 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
272 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
273 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
274 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(
OdRxObject) };
275 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdGiDrawable), typeof(OdGiDrawableTraits) };
276 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdGiDrawable), typeof(OdGiWorldDraw) };
277 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdGiDrawable), typeof(OdGiViewportDraw) };
278 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdGiDrawable), typeof(OdGiViewportDraw) };
279 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(OdGiDrawable) };
static void OdGiDrawableOverrule_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdGiDrawableOverrule.SwigDelegateOdGiDrawableOverrule_0 delegate0, OdGiDrawableOverrule.SwigDelegateOdGiDrawableOverrule_1 delegate1, OdGiDrawableOverrule.SwigDelegateOdGiDrawableOverrule_2 delegate2, OdGiDrawableOverrule.SwigDelegateOdGiDrawableOverrule_3 delegate3, OdGiDrawableOverrule.SwigDelegateOdGiDrawableOverrule_4 delegate4, OdGiDrawableOverrule.SwigDelegateOdGiDrawableOverrule_5 delegate5, OdGiDrawableOverrule.SwigDelegateOdGiDrawableOverrule_6 delegate6, OdGiDrawableOverrule.SwigDelegateOdGiDrawableOverrule_7 delegate7, OdGiDrawableOverrule.SwigDelegateOdGiDrawableOverrule_8 delegate8)