14using System.Runtime.InteropServices;
19 private Object locker =
new Object();
20 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 swigCPtr =
new HandleRef(
this, cPtr);
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
31 protected override void Dispose(
bool disposing) {
33 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
38 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
40 base.Dispose(disposing);
46 SwigDirectorConnect();
122 private void SwigDirectorConnect() {
123 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
125 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
127 if (SwigDerivedClassHasMethod(
"OnSelectionStarted", swigMethodTypes2))
129 if (SwigDerivedClassHasMethod(
"OnSelectionStarted", swigMethodTypes3))
131 if (SwigDerivedClassHasMethod(
"OnSelectionEnded", swigMethodTypes4))
133 if (SwigDerivedClassHasMethod(
"OnObjectAppended", swigMethodTypes5))
135 if (SwigDerivedClassHasMethod(
"OnObjectRemoved", swigMethodTypes6))
137 if (SwigDerivedClassHasMethod(
"OnObjectModified", swigMethodTypes7))
139 if (SwigDerivedClassHasMethod(
"OnClearStarted", swigMethodTypes8))
141 if (SwigDerivedClassHasMethod(
"OnClearEnded", swigMethodTypes9))
143 PCADGlobalsPINVOKE.
CFxSelectionSetReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9);
146 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
147 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);
149 return hasDerivedMethod;
152 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
161 private IntPtr SwigDirectorMethodisA() {
168 private void SwigDirectorMethodOnSelectionStarted__SWIG_0(
int eMethod, global::System.IntPtr pointsWCS, global::System.IntPtr pView) {
169 OnSelectionStarted((CFxSelectionData.SelectionMethod)eMethod,
new OdGePoint3dArray(pointsWCS,
false), (pView == global::System.IntPtr.Zero) ?
null :
new CFxView(pView,
false));
172 private void SwigDirectorMethodOnSelectionStarted__SWIG_1(global::System.IntPtr pData) {
173 OnSelectionStarted((pData == global::System.IntPtr.Zero) ?
null :
new CFxSelectionData(pData,
false));
176 private void SwigDirectorMethodOnSelectionEnded() {
180 private void SwigDirectorMethodOnObjectAppended(global::System.IntPtr
id) {
184 private void SwigDirectorMethodOnObjectRemoved(global::System.IntPtr
id) {
188 private void SwigDirectorMethodOnObjectModified(global::System.IntPtr
id) {
192 private void SwigDirectorMethodOnClearStarted() {
196 private void SwigDirectorMethodOnClearEnded() {
222 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
223 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
224 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(CFxSelectionData.SelectionMethod), typeof(
OdGePoint3dArray), typeof(CFxView) };
225 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(CFxSelectionData) };
226 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { };
227 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(
OdDbObjectId) };
228 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(
OdDbObjectId) };
229 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(
OdDbObjectId) };
230 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { };
231 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { };
static HandleRef getCPtr(CFxSelectionData obj)
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)
static new OdRxClass desc()
delegate IntPtr SwigDelegateCFxSelectionSetReactor_1()
override void Dispose(bool disposing)
virtual void OnSelectionStarted(CFxSelectionData pData)
virtual void OnObjectRemoved(OdDbObjectId id)
delegate void SwigDelegateCFxSelectionSetReactor_9()
delegate void SwigDelegateCFxSelectionSetReactor_4()
virtual void OnObjectAppended(OdDbObjectId id)
virtual void OnSelectionEnded()
virtual void OnClearEnded()
delegate void SwigDelegateCFxSelectionSetReactor_3(global::System.IntPtr pData)
CFxSelectionSetReactor(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(CFxSelectionSetReactor obj)
delegate void SwigDelegateCFxSelectionSetReactor_5(global::System.IntPtr id)
static SWIGTYPE_p_OdSmartPtrT_CFxSelectionSetReactor_t createObject()
delegate void SwigDelegateCFxSelectionSetReactor_2(int eMethod, global::System.IntPtr pointsWCS, global::System.IntPtr pView)
delegate void SwigDelegateCFxSelectionSetReactor_6(global::System.IntPtr id)
virtual void OnClearStarted()
delegate void SwigDelegateCFxSelectionSetReactor_7(global::System.IntPtr id)
delegate void SwigDelegateCFxSelectionSetReactor_8()
static HandleRef getCPtr(CFxView obj)
static global::System.Exception Retrieve()
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_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)
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_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)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdDbObjectId obj)