Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CFxSelectionSetReactor.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 PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public CFxSelectionSetReactor(IntPtr cPtr, bool cMemoryOwn) : base(PCADGlobalsPINVOKE.CFxSelectionSetReactor_SWIGUpcast(cPtr), cMemoryOwn) {
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(CFxSelectionSetReactor obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 protected override void Dispose(bool disposing) {
32 lock(this) {
33 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
34 if (swigCMemOwn) {
35 swigCMemOwn = false;
37 }
38 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
39 }
40 base.Dispose(disposing);
41 }
42 }
43
49
50 public new static OdRxClass desc() {
51 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxSelectionSetReactor_desc(),false); /*createInt 3_2*/
52
54 return ret;
55}
56
57 public override OdRxClass isA() {
58 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),(SwigDerivedClassHasMethod("isA", swigMethodTypes1) ? PCADGlobalsPINVOKE.CFxSelectionSetReactor_isASwigExplicitCFxSelectionSetReactor(swigCPtr) : PCADGlobalsPINVOKE.CFxSelectionSetReactor_isA(swigCPtr)),false); /*createInt 3_2*/
59
61 return ret;
62}
63
64 public override OdRxObject queryX(OdRxClass protocolClass) {
65 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),(SwigDerivedClassHasMethod("queryX", swigMethodTypes0) ? PCADGlobalsPINVOKE.CFxSelectionSetReactor_queryXSwigExplicitCFxSelectionSetReactor(swigCPtr, OdRxClass.getCPtr(protocolClass)) : PCADGlobalsPINVOKE.CFxSelectionSetReactor_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass))),false); /*createInt 3_2*/
66
68 return ret;
69}
70
76
81
86
91
96
101
106
111
116
117 private void SwigDirectorConnect() {
118 if (SwigDerivedClassHasMethod("queryX", swigMethodTypes0))
119 swigDelegate0 = new SwigDelegateCFxSelectionSetReactor_0(SwigDirectorMethodqueryX);
120 if (SwigDerivedClassHasMethod("isA", swigMethodTypes1))
121 swigDelegate1 = new SwigDelegateCFxSelectionSetReactor_1(SwigDirectorMethodisA);
122 if (SwigDerivedClassHasMethod("copyFrom", swigMethodTypes2))
123 swigDelegate2 = new SwigDelegateCFxSelectionSetReactor_2(SwigDirectorMethodcopyFrom);
124 if (SwigDerivedClassHasMethod("OnSelectionStarted", swigMethodTypes3))
125 swigDelegate3 = new SwigDelegateCFxSelectionSetReactor_3(SwigDirectorMethodOnSelectionStarted__SWIG_0);
126 if (SwigDerivedClassHasMethod("OnSelectionStarted", swigMethodTypes4))
127 swigDelegate4 = new SwigDelegateCFxSelectionSetReactor_4(SwigDirectorMethodOnSelectionStarted__SWIG_1);
128 if (SwigDerivedClassHasMethod("OnSelectionEnded", swigMethodTypes5))
129 swigDelegate5 = new SwigDelegateCFxSelectionSetReactor_5(SwigDirectorMethodOnSelectionEnded);
130 if (SwigDerivedClassHasMethod("OnObjectAppended", swigMethodTypes6))
131 swigDelegate6 = new SwigDelegateCFxSelectionSetReactor_6(SwigDirectorMethodOnObjectAppended);
132 if (SwigDerivedClassHasMethod("OnObjectRemoved", swigMethodTypes7))
133 swigDelegate7 = new SwigDelegateCFxSelectionSetReactor_7(SwigDirectorMethodOnObjectRemoved);
134 if (SwigDerivedClassHasMethod("OnObjectModified", swigMethodTypes8))
135 swigDelegate8 = new SwigDelegateCFxSelectionSetReactor_8(SwigDirectorMethodOnObjectModified);
136 if (SwigDerivedClassHasMethod("OnClearStarted", swigMethodTypes9))
137 swigDelegate9 = new SwigDelegateCFxSelectionSetReactor_9(SwigDirectorMethodOnClearStarted);
138 if (SwigDerivedClassHasMethod("OnClearEnded", swigMethodTypes10))
139 swigDelegate10 = new SwigDelegateCFxSelectionSetReactor_10(SwigDirectorMethodOnClearEnded);
140 PCADGlobalsPINVOKE.CFxSelectionSetReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10);
141 }
142
143 private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) {
144 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);
145 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(CFxSelectionSetReactor));
146 return hasDerivedMethod;
147 }
148
149 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
150 return
151 // csdirectorout for OdRxObject*, OdRxObject&
153 (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),protocolClass,false) /*createInt 6_2*/ // csdirectorin for smart pointer
154)).Handle
155;
156 }
157
158 private IntPtr SwigDirectorMethodisA() {
159 return
160 // csdirectorout for OdRxClass*, OdRxClass&
161 OdRxClass.getCPtr(isA()).Handle
162;
163 }
164
165 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
166 copyFrom(
167 (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),pSource,false) /*createInt 6_2*/ // csdirectorin for smart pointer
168);
169 }
170
171 private void SwigDirectorMethodOnSelectionStarted__SWIG_0(int eMethod, global::System.IntPtr pointsWCS, global::System.IntPtr pView) {
172 OnSelectionStarted((CFxSelectionData.SelectionMethod)eMethod, new OdGePoint3dArray(pointsWCS, false), (pView == global::System.IntPtr.Zero) ? null : new CFxView(pView, false));
173 }
174
175 private void SwigDirectorMethodOnSelectionStarted__SWIG_1(global::System.IntPtr pData) {
176 OnSelectionStarted((pData == global::System.IntPtr.Zero) ? null : new CFxSelectionData(pData, false));
177 }
178
179 private void SwigDirectorMethodOnSelectionEnded() {
181 }
182
183 private void SwigDirectorMethodOnObjectAppended(global::System.IntPtr id) {
184 OnObjectAppended(new OdDbObjectId(id, false));
185 }
186
187 private void SwigDirectorMethodOnObjectRemoved(global::System.IntPtr id) {
188 OnObjectRemoved(new OdDbObjectId(id, false));
189 }
190
191 private void SwigDirectorMethodOnObjectModified(global::System.IntPtr id) {
192 OnObjectModified(new OdDbObjectId(id, false));
193 }
194
195 private void SwigDirectorMethodOnClearStarted() {
197 }
198
199 private void SwigDirectorMethodOnClearEnded() {
200 OnClearEnded();
201 }
202
203 public delegate IntPtr SwigDelegateCFxSelectionSetReactor_0(IntPtr protocolClass);
204 public delegate IntPtr SwigDelegateCFxSelectionSetReactor_1();
205 public delegate void SwigDelegateCFxSelectionSetReactor_2(IntPtr pSource);
206 public delegate void SwigDelegateCFxSelectionSetReactor_3(int eMethod, global::System.IntPtr pointsWCS, global::System.IntPtr pView);
207 public delegate void SwigDelegateCFxSelectionSetReactor_4(global::System.IntPtr pData);
209 public delegate void SwigDelegateCFxSelectionSetReactor_6(global::System.IntPtr id);
210 public delegate void SwigDelegateCFxSelectionSetReactor_7(global::System.IntPtr id);
211 public delegate void SwigDelegateCFxSelectionSetReactor_8(global::System.IntPtr id);
214
215 private SwigDelegateCFxSelectionSetReactor_0 swigDelegate0;
216 private SwigDelegateCFxSelectionSetReactor_1 swigDelegate1;
217 private SwigDelegateCFxSelectionSetReactor_2 swigDelegate2;
218 private SwigDelegateCFxSelectionSetReactor_3 swigDelegate3;
219 private SwigDelegateCFxSelectionSetReactor_4 swigDelegate4;
220 private SwigDelegateCFxSelectionSetReactor_5 swigDelegate5;
221 private SwigDelegateCFxSelectionSetReactor_6 swigDelegate6;
222 private SwigDelegateCFxSelectionSetReactor_7 swigDelegate7;
223 private SwigDelegateCFxSelectionSetReactor_8 swigDelegate8;
224 private SwigDelegateCFxSelectionSetReactor_9 swigDelegate9;
225 private SwigDelegateCFxSelectionSetReactor_10 swigDelegate10;
226
227 private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(OdRxClass) };
228 private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
229 private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(OdRxObject) };
230 private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { typeof(CFxSelectionData.SelectionMethod), typeof(OdGePoint3dArray), typeof(CFxView) };
231 private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(CFxSelectionData) };
232 private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { };
233 private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(OdDbObjectId) };
234 private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(OdDbObjectId) };
235 private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { typeof(OdDbObjectId) };
236 private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { };
237 private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { };
238}
239
240}
static HandleRef getCPtr(CFxSelectionData obj)
delegate void SwigDelegateCFxSelectionSetReactor_5()
virtual void OnObjectModified(OdDbObjectId id)
virtual void OnSelectionStarted(CFxSelectionData.SelectionMethod eMethod, OdGePoint3dArray pointsWCS, CFxView pView)
delegate IntPtr SwigDelegateCFxSelectionSetReactor_0(IntPtr protocolClass)
static SWIGTYPE_p_OdSmartPtrT_CFxSelectionSetReactor_t cast(OdRxObject pObj)
override OdRxObject queryX(OdRxClass protocolClass)
delegate IntPtr SwigDelegateCFxSelectionSetReactor_1()
override void Dispose(bool disposing)
virtual void OnSelectionStarted(CFxSelectionData pData)
virtual void OnObjectRemoved(OdDbObjectId id)
delegate void SwigDelegateCFxSelectionSetReactor_2(IntPtr pSource)
delegate void SwigDelegateCFxSelectionSetReactor_9()
delegate void SwigDelegateCFxSelectionSetReactor_8(global::System.IntPtr id)
delegate void SwigDelegateCFxSelectionSetReactor_3(int eMethod, global::System.IntPtr pointsWCS, global::System.IntPtr pView)
virtual void OnObjectAppended(OdDbObjectId id)
CFxSelectionSetReactor(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(CFxSelectionSetReactor obj)
static SWIGTYPE_p_OdSmartPtrT_CFxSelectionSetReactor_t createObject()
delegate void SwigDelegateCFxSelectionSetReactor_10()
delegate void SwigDelegateCFxSelectionSetReactor_6(global::System.IntPtr id)
delegate void SwigDelegateCFxSelectionSetReactor_7(global::System.IntPtr id)
delegate void SwigDelegateCFxSelectionSetReactor_4(global::System.IntPtr pData)
static HandleRef getCPtr(CFxView obj)
Definition CFxView.cs:27
static void CFxSelectionSetReactor_OnSelectionStarted__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void delete_CFxSelectionSetReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxSelectionSetReactor_OnClearStarted(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxSelectionSetReactor_isA(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxSelectionSetReactor_createObject()
static global::System.IntPtr CFxSelectionSetReactor_cast(HandleRef jarg1)
static void CFxSelectionSetReactor_OnClearEnded(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxSelectionSetReactor_OnObjectRemoved(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxSelectionSetReactor_OnSelectionStarted__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr CFxSelectionSetReactor_queryX(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void CFxSelectionSetReactor_OnSelectionEnded(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxSelectionSetReactor_OnSelectionStartedSwigExplicitCFxSelectionSetReactor__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void CFxSelectionSetReactor_OnClearEndedSwigExplicitCFxSelectionSetReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxSelectionSetReactor_OnObjectAppendedSwigExplicitCFxSelectionSetReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxSelectionSetReactor_OnObjectRemovedSwigExplicitCFxSelectionSetReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxSelectionSetReactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, CFxSelectionSetReactor.SwigDelegateCFxSelectionSetReactor_0 delegate0, CFxSelectionSetReactor.SwigDelegateCFxSelectionSetReactor_1 delegate1, CFxSelectionSetReactor.SwigDelegateCFxSelectionSetReactor_2 delegate2, CFxSelectionSetReactor.SwigDelegateCFxSelectionSetReactor_3 delegate3, CFxSelectionSetReactor.SwigDelegateCFxSelectionSetReactor_4 delegate4, CFxSelectionSetReactor.SwigDelegateCFxSelectionSetReactor_5 delegate5, CFxSelectionSetReactor.SwigDelegateCFxSelectionSetReactor_6 delegate6, CFxSelectionSetReactor.SwigDelegateCFxSelectionSetReactor_7 delegate7, CFxSelectionSetReactor.SwigDelegateCFxSelectionSetReactor_8 delegate8, CFxSelectionSetReactor.SwigDelegateCFxSelectionSetReactor_9 delegate9, CFxSelectionSetReactor.SwigDelegateCFxSelectionSetReactor_10 delegate10)
static void CFxSelectionSetReactor_OnClearStartedSwigExplicitCFxSelectionSetReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxSelectionSetReactor_OnObjectAppended(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr CFxSelectionSetReactor_queryXSwigExplicitCFxSelectionSetReactor(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static IntPtr CFxSelectionSetReactor_desc()
static void CFxSelectionSetReactor_OnObjectModified(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxSelectionSetReactor_OnObjectModifiedSwigExplicitCFxSelectionSetReactor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxSelectionSetReactor_OnSelectionStartedSwigExplicitCFxSelectionSetReactor__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxSelectionSetReactor_OnSelectionEndedSwigExplicitCFxSelectionSetReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxSelectionSetReactor_isASwigExplicitCFxSelectionSetReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdRxClass obj)
Definition OdRxClass.cs:25
OdRxObject(IntPtr cPtr, bool cMemoryOwn)
Definition OdRxObject.cs:21
virtual void copyFrom(OdRxObject pSource)
static HandleRef getCPtr(OdRxObject obj)
Definition OdRxObject.cs:26
static HandleRef getCPtr(OdDbObjectId obj)