19 private Object locker =
new Object();
20 private HandleRef swigCPtr;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 swigCPtr =
new HandleRef(
this, cPtr);
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
29 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
38 global::System.GC.SuppressFinalize(
this);
41 protected virtual void Dispose(
bool disposing) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
48 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
55 SwigDirectorConnect();
56 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
59 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
62 mTr.AddObject(
new CFxTracker(swigCPtr.Handle,
true));
63 this.swigCMemOwn =
false;
118 private void SwigDirectorConnect() {
119 if (SwigDerivedClassHasMethod(
"Update", swigMethodTypes0))
121 if (SwigDerivedClassHasMethod(
"DrawTracker", swigMethodTypes1))
123 if (SwigDerivedClassHasMethod(
"DrawDDTracker", swigMethodTypes2))
125 if (SwigDerivedClassHasMethod(
"GetName", swigMethodTypes3))
127 if (SwigDerivedClassHasMethod(
"IsEager", swigMethodTypes4))
129 if (SwigDerivedClassHasMethod(
"DoAction", swigMethodTypes5))
131 if (SwigDerivedClassHasMethod(
"OnMainSelectionSetChanged", swigMethodTypes6))
136 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
137 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);
138 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
CFxTracker));
139 return hasDerivedMethod;
142 private void SwigDirectorMethodUpdate(global::System.IntPtr pContext, global::System.IntPtr pHitTestInfo) {
143 Update((pContext == global::System.IntPtr.Zero) ?
null : new CFxTrackerContext(pContext, false), (pHitTestInfo == global::System.IntPtr.Zero) ? null : new CFxHitTestInfo(pHitTestInfo, false));
146 private void SwigDirectorMethodDrawTracker(global::System.IntPtr pContext, global::System.IntPtr pHitTestInfo) {
147 DrawTracker((pContext == global::System.IntPtr.Zero) ?
null : new CFxTrackerContext(pContext, false), (pHitTestInfo == global::System.IntPtr.Zero) ? null : new CFxHitTestInfo(pHitTestInfo, false));
150 private void SwigDirectorMethodDrawDDTracker(global::System.IntPtr pContext, global::System.IntPtr pHitTestInfo) {
151 DrawDDTracker((pContext == global::System.IntPtr.Zero) ?
null : new CFxTrackerContext(pContext, false), (pHitTestInfo == global::System.IntPtr.Zero) ? null : new CFxHitTestInfo(pHitTestInfo, false));
154 private global::System.IntPtr SwigDirectorMethodGetName() {
155 return CFxString.getCPtr(
GetName()).Handle;
158 private bool SwigDirectorMethodIsEager(global::System.IntPtr pHitTestInfo) {
159 return IsEager((pHitTestInfo == global::System.IntPtr.Zero) ?
null : new CFxHitTestInfo(pHitTestInfo, false));
162 private bool SwigDirectorMethodDoAction(global::System.IntPtr pHitTestInfo) {
163 return DoAction((pHitTestInfo == global::System.IntPtr.Zero) ?
null : new CFxHitTestInfo(pHitTestInfo, false));
166 private void SwigDirectorMethodOnMainSelectionSetChanged(global::System.IntPtr pHitTestInfo) {
167 OnMainSelectionSetChanged((pHitTestInfo == global::System.IntPtr.Zero) ?
null : new CFxHitTestInfo(pHitTestInfo, false));
188 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(CFxTrackerContext), typeof(CFxHitTestInfo) };
189 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { };
190 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(CFxHitTestInfo) };
191 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(CFxHitTestInfo) };
192 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(CFxHitTestInfo) };
static HandleRef getCPtr(CFxTrackerContext obj)
static void CFxTracker_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, CFxTracker.SwigDelegateCFxTracker_0 delegate0, CFxTracker.SwigDelegateCFxTracker_1 delegate1, CFxTracker.SwigDelegateCFxTracker_2 delegate2, CFxTracker.SwigDelegateCFxTracker_3 delegate3, CFxTracker.SwigDelegateCFxTracker_4 delegate4, CFxTracker.SwigDelegateCFxTracker_5 delegate5, CFxTracker.SwigDelegateCFxTracker_6 delegate6)