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);
45 : this(
PCADGlobalsPINVOKE.new_CFxDatabaseReactor(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
47 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
53 SwigDirectorConnect();
57 MemoryManager mMan = MemoryManager.GetMemoryManager();
58 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
98 MemoryManager mMan = MemoryManager.GetMemoryManager();
99 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
123 private void SwigDirectorConnect() {
124 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
126 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
128 if (SwigDerivedClassHasMethod(
"objectAppended", swigMethodTypes2))
130 if (SwigDerivedClassHasMethod(
"objectUnAppended", swigMethodTypes3))
132 if (SwigDerivedClassHasMethod(
"objectReAppended", swigMethodTypes4))
134 if (SwigDerivedClassHasMethod(
"objectOpenedForModify", swigMethodTypes5))
136 if (SwigDerivedClassHasMethod(
"objectModified", swigMethodTypes6))
138 if (SwigDerivedClassHasMethod(
"objectErased", swigMethodTypes7))
140 if (SwigDerivedClassHasMethod(
"objectErased", swigMethodTypes8))
142 if (SwigDerivedClassHasMethod(
"headerSysVarWillChange", swigMethodTypes9))
144 if (SwigDerivedClassHasMethod(
"headerSysVarChanged", swigMethodTypes10))
146 if (SwigDerivedClassHasMethod(
"proxyResurrectionCompleted", swigMethodTypes11))
148 if (SwigDerivedClassHasMethod(
"goodbye", swigMethodTypes12))
150 PCADGlobalsPINVOKE.
CFxDatabaseReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12);
153 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
154 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);
155 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
CFxDatabaseReactor));
156 return hasDerivedMethod;
159 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
168 private IntPtr SwigDirectorMethodisA() {
175 private void SwigDirectorMethodobjectAppended(IntPtr pDb, IntPtr pObject) {
183 private void SwigDirectorMethodobjectUnAppended(IntPtr pDb, IntPtr pObject) {
191 private void SwigDirectorMethodobjectReAppended(IntPtr pDb, IntPtr pObject) {
199 private void SwigDirectorMethodobjectOpenedForModify(IntPtr pDb, IntPtr pObject) {
207 private void SwigDirectorMethodobjectModified(IntPtr pDb, IntPtr pObject) {
215 private void SwigDirectorMethodobjectErased__SWIG_0(IntPtr pDb, IntPtr pObject,
bool erased) {
223 private void SwigDirectorMethodobjectErased__SWIG_1(IntPtr pDb, IntPtr pObject) {
231 private void SwigDirectorMethodheaderSysVarWillChange(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)]
String name) {
237 private void SwigDirectorMethodheaderSysVarChanged(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)]
String name) {
243 private void SwigDirectorMethodproxyResurrectionCompleted(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)]
String appname, global::System.IntPtr objectIds) {
249 private void SwigDirectorMethodgoodbye(IntPtr pDb) {
283 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
284 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
285 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdDbDatabase), typeof(
OdDbObject) };
286 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(
OdDbDatabase), typeof(
OdDbObject) };
287 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(
OdDbDatabase), typeof(
OdDbObject) };
288 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(
OdDbDatabase), typeof(
OdDbObject) };
289 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(
OdDbDatabase), typeof(
OdDbObject) };
290 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(
OdDbDatabase), typeof(
OdDbObject), typeof(
bool) };
291 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(
OdDbDatabase), typeof(
OdDbObject) };
292 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(
OdDbDatabase), typeof(
String) };
293 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(
OdDbDatabase), typeof(
String) };
295 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { typeof(
OdDbDatabase) };
delegate void SwigDelegateCFxDatabaseReactor_7(IntPtr pDb, IntPtr pObject, bool erased)
delegate void SwigDelegateCFxDatabaseReactor_3(IntPtr pDb, IntPtr pObject)
delegate IntPtr SwigDelegateCFxDatabaseReactor_0(IntPtr protocolClass)
static string getRealClassName(IntPtr ptr)
delegate void SwigDelegateCFxDatabaseReactor_11(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)]String appname, global::System.IntPtr objectIds)
override OdRxObject queryX(OdRxClass protocolClass)
delegate void SwigDelegateCFxDatabaseReactor_2(IntPtr pDb, IntPtr pObject)
static new OdRxClass desc()
override void Dispose(bool disposing)
delegate void SwigDelegateCFxDatabaseReactor_5(IntPtr pDb, IntPtr pObject)
delegate void SwigDelegateCFxDatabaseReactor_10(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)]String name)
delegate void SwigDelegateCFxDatabaseReactor_12(IntPtr pDb)
delegate void SwigDelegateCFxDatabaseReactor_8(IntPtr pDb, IntPtr pObject)
delegate IntPtr SwigDelegateCFxDatabaseReactor_1()
static HandleRef getCPtr(CFxDatabaseReactor obj)
delegate void SwigDelegateCFxDatabaseReactor_9(IntPtr pDb, [MarshalAs(UnmanagedType.LPWStr)]String name)
static CFxDatabaseReactor createObject()
static CFxDatabaseReactor cast(OdRxObject pObj)
delegate void SwigDelegateCFxDatabaseReactor_6(IntPtr pDb, IntPtr pObject)
CFxDatabaseReactor(IntPtr cPtr, bool cMemoryOwn)
delegate void SwigDelegateCFxDatabaseReactor_4(IntPtr pDb, IntPtr pObject)
static global::System.Exception Retrieve()
static IntPtr CFxDatabaseReactor_isA(HandleRef jarg1)
static string CFxDatabaseReactor_getRealClassName(IntPtr jarg1)
static void CFxDatabaseReactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_0 delegate0, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_1 delegate1, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_2 delegate2, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_3 delegate3, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_4 delegate4, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_5 delegate5, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_6 delegate6, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_7 delegate7, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_8 delegate8, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_9 delegate9, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_10 delegate10, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_11 delegate11, CFxDatabaseReactor.SwigDelegateCFxDatabaseReactor_12 delegate12)
static IntPtr CFxDatabaseReactor_desc()
static IntPtr CFxDatabaseReactor_cast(HandleRef jarg1)
static void delete_CFxDatabaseReactor(HandleRef jarg1)
static IntPtr CFxDatabaseReactor_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr CFxDatabaseReactor_queryXSwigExplicitCFxDatabaseReactor(HandleRef jarg1, HandleRef jarg2)
static IntPtr CFxDatabaseReactor_createObject()
static IntPtr CFxDatabaseReactor_isASwigExplicitCFxDatabaseReactor(HandleRef jarg1)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
virtual void objectOpenedForModify(OdDbDatabase pDb, OdDbObject pObject)
virtual void headerSysVarChanged(OdDbDatabase pDb, String name)
virtual void objectUnAppended(OdDbDatabase pDb, OdDbObject pObject)
virtual void proxyResurrectionCompleted(OdDbDatabase pDb, String appname, OdDbObjectIdArray objectIds)
virtual void objectErased(OdDbDatabase pDb, OdDbObject pObject, bool erased)
virtual void objectAppended(OdDbDatabase pDb, OdDbObject pObject)
virtual void goodbye(OdDbDatabase pDb)
virtual void objectReAppended(OdDbDatabase pDb, OdDbObject pObject)
virtual void objectModified(OdDbDatabase pDb, OdDbObject pObject)
virtual void headerSysVarWillChange(OdDbDatabase pDb, String name)