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_CFxLayoutManagerReactor(), 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();
133 private void SwigDirectorConnect() {
134 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
136 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
138 if (SwigDerivedClassHasMethod(
"layoutCreated", swigMethodTypes2))
140 if (SwigDerivedClassHasMethod(
"layoutToBeRemoved", swigMethodTypes3))
142 if (SwigDerivedClassHasMethod(
"layoutRemoved", swigMethodTypes4))
144 if (SwigDerivedClassHasMethod(
"abortLayoutRemoved", swigMethodTypes5))
146 if (SwigDerivedClassHasMethod(
"layoutToBeCopied", swigMethodTypes6))
148 if (SwigDerivedClassHasMethod(
"layoutCopied", swigMethodTypes7))
150 if (SwigDerivedClassHasMethod(
"abortLayoutCopied", swigMethodTypes8))
152 if (SwigDerivedClassHasMethod(
"layoutToBeRenamed", swigMethodTypes9))
154 if (SwigDerivedClassHasMethod(
"layoutRenamed", swigMethodTypes10))
156 if (SwigDerivedClassHasMethod(
"abortLayoutRename", swigMethodTypes11))
158 if (SwigDerivedClassHasMethod(
"layoutSwitched", swigMethodTypes12))
160 if (SwigDerivedClassHasMethod(
"plotStyleTableChanged", swigMethodTypes13))
162 if (SwigDerivedClassHasMethod(
"layoutToBeDeactivated", swigMethodTypes14))
164 if (SwigDerivedClassHasMethod(
"layoutToBeActivated", swigMethodTypes15))
166 PCADGlobalsPINVOKE.
CFxLayoutManagerReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15);
169 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
170 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);
172 return hasDerivedMethod;
175 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
184 private IntPtr SwigDirectorMethodisA() {
191 private void SwigDirectorMethodlayoutCreated([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
195 private void SwigDirectorMethodlayoutToBeRemoved([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
199 private void SwigDirectorMethodlayoutRemoved([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
203 private void SwigDirectorMethodabortLayoutRemoved([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
207 private void SwigDirectorMethodlayoutToBeCopied([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
211 private void SwigDirectorMethodlayoutCopied([MarshalAs(UnmanagedType.LPWStr)]
String oldLayoutName, global::System.IntPtr oldLayoutId, [MarshalAs(UnmanagedType.LPWStr)]
String newLayoutName, global::System.IntPtr newLayoutId) {
215 private void SwigDirectorMethodabortLayoutCopied([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
219 private void SwigDirectorMethodlayoutToBeRenamed([MarshalAs(UnmanagedType.LPWStr)]
String oldLayoutName, [MarshalAs(UnmanagedType.LPWStr)]
String newLayoutName, global::System.IntPtr layoutId) {
223 private void SwigDirectorMethodlayoutRenamed([MarshalAs(UnmanagedType.LPWStr)]
String oldLayoutName, [MarshalAs(UnmanagedType.LPWStr)]
String newLayoutName, global::System.IntPtr layoutId) {
227 private void SwigDirectorMethodabortLayoutRename([MarshalAs(UnmanagedType.LPWStr)]
String oldLayoutName, [MarshalAs(UnmanagedType.LPWStr)]
String newLayoutName, global::System.IntPtr layoutId) {
231 private void SwigDirectorMethodlayoutSwitched([MarshalAs(UnmanagedType.LPWStr)]
String newLayoutName, global::System.IntPtr newLayoutId) {
235 private void SwigDirectorMethodplotStyleTableChanged([MarshalAs(UnmanagedType.LPWStr)]
String newTableName, global::System.IntPtr layoutId) {
239 private void SwigDirectorMethodlayoutToBeDeactivated([MarshalAs(UnmanagedType.LPWStr)]
String oldLayoutName, global::System.IntPtr oldLayoutId) {
243 private void SwigDirectorMethodlayoutToBeActivated([MarshalAs(UnmanagedType.LPWStr)]
String newLayoutName, global::System.IntPtr newLayoutId) {
281 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
282 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
283 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
String), typeof(
OdDbObjectId) };
284 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(
String), typeof(
OdDbObjectId) };
285 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(
String), typeof(
OdDbObjectId) };
286 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(
String), typeof(
OdDbObjectId) };
287 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(
String), typeof(
OdDbObjectId) };
289 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(
String), typeof(
OdDbObjectId) };
290 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(
String), typeof(
String), typeof(
OdDbObjectId) };
291 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(
String), typeof(
String), typeof(
OdDbObjectId) };
292 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { typeof(
String), typeof(
String), typeof(
OdDbObjectId) };
293 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { typeof(
String), typeof(
OdDbObjectId) };
294 private static global::System.Type[] swigMethodTypes13 =
new global::System.Type[] { typeof(
String), typeof(
OdDbObjectId) };
295 private static global::System.Type[] swigMethodTypes14 =
new global::System.Type[] { typeof(
String), typeof(
OdDbObjectId) };
296 private static global::System.Type[] swigMethodTypes15 =
new global::System.Type[] { typeof(
String), typeof(
OdDbObjectId) };
delegate void SwigDelegateCFxLayoutManagerReactor_13([MarshalAs(UnmanagedType.LPWStr)]String newTableName, global::System.IntPtr layoutId)
delegate void SwigDelegateCFxLayoutManagerReactor_10([MarshalAs(UnmanagedType.LPWStr)]String oldLayoutName, [MarshalAs(UnmanagedType.LPWStr)]String newLayoutName, global::System.IntPtr layoutId)
delegate IntPtr SwigDelegateCFxLayoutManagerReactor_0(IntPtr protocolClass)
delegate void SwigDelegateCFxLayoutManagerReactor_11([MarshalAs(UnmanagedType.LPWStr)]String oldLayoutName, [MarshalAs(UnmanagedType.LPWStr)]String newLayoutName, global::System.IntPtr layoutId)
virtual void layoutToBeActivated(String newLayoutName, OdDbObjectId newLayoutId)
delegate void SwigDelegateCFxLayoutManagerReactor_5([MarshalAs(UnmanagedType.LPWStr)]String layoutName, global::System.IntPtr layoutId)
delegate void SwigDelegateCFxLayoutManagerReactor_8([MarshalAs(UnmanagedType.LPWStr)]String layoutName, global::System.IntPtr layoutId)
static new OdRxClass desc()
delegate void SwigDelegateCFxLayoutManagerReactor_9([MarshalAs(UnmanagedType.LPWStr)]String oldLayoutName, [MarshalAs(UnmanagedType.LPWStr)]String newLayoutName, global::System.IntPtr layoutId)
static string getRealClassName(IntPtr ptr)
delegate void SwigDelegateCFxLayoutManagerReactor_2([MarshalAs(UnmanagedType.LPWStr)]String layoutName, global::System.IntPtr layoutId)
delegate void SwigDelegateCFxLayoutManagerReactor_15([MarshalAs(UnmanagedType.LPWStr)]String newLayoutName, global::System.IntPtr newLayoutId)
delegate void SwigDelegateCFxLayoutManagerReactor_12([MarshalAs(UnmanagedType.LPWStr)]String newLayoutName, global::System.IntPtr newLayoutId)
override OdRxObject queryX(OdRxClass protocolClass)
static CFxLayoutManagerReactor createObject()
CFxLayoutManagerReactor()
CFxLayoutManagerReactor(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(CFxLayoutManagerReactor obj)
delegate void SwigDelegateCFxLayoutManagerReactor_4([MarshalAs(UnmanagedType.LPWStr)]String layoutName, global::System.IntPtr layoutId)
delegate void SwigDelegateCFxLayoutManagerReactor_6([MarshalAs(UnmanagedType.LPWStr)]String layoutName, global::System.IntPtr layoutId)
delegate IntPtr SwigDelegateCFxLayoutManagerReactor_1()
delegate void SwigDelegateCFxLayoutManagerReactor_14([MarshalAs(UnmanagedType.LPWStr)]String oldLayoutName, global::System.IntPtr oldLayoutId)
static CFxLayoutManagerReactor cast(OdRxObject pObj)
override void Dispose(bool disposing)
delegate void SwigDelegateCFxLayoutManagerReactor_7([MarshalAs(UnmanagedType.LPWStr)]String oldLayoutName, global::System.IntPtr oldLayoutId, [MarshalAs(UnmanagedType.LPWStr)]String newLayoutName, global::System.IntPtr newLayoutId)
delegate void SwigDelegateCFxLayoutManagerReactor_3([MarshalAs(UnmanagedType.LPWStr)]String layoutName, global::System.IntPtr layoutId)
override void layoutToBeDeactivated(String oldLayoutName, OdDbObjectId oldLayoutId)
static global::System.Exception Retrieve()
static void CFxLayoutManagerReactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_0 delegate0, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_1 delegate1, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_2 delegate2, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_3 delegate3, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_4 delegate4, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_5 delegate5, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_6 delegate6, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_7 delegate7, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_8 delegate8, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_9 delegate9, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_10 delegate10, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_11 delegate11, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_12 delegate12, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_13 delegate13, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_14 delegate14, CFxLayoutManagerReactor.SwigDelegateCFxLayoutManagerReactor_15 delegate15)
static void CFxLayoutManagerReactor_layoutToBeDeactivated(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr CFxLayoutManagerReactor_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr CFxLayoutManagerReactor_queryXSwigExplicitCFxLayoutManagerReactor(HandleRef jarg1, HandleRef jarg2)
static void CFxLayoutManagerReactor_layoutToBeActivated(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void CFxLayoutManagerReactor_layoutToBeActivatedSwigExplicitCFxLayoutManagerReactor(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr CFxLayoutManagerReactor_desc()
static IntPtr CFxLayoutManagerReactor_createObject()
static string CFxLayoutManagerReactor_getRealClassName(IntPtr jarg1)
static IntPtr CFxLayoutManagerReactor_cast(HandleRef jarg1)
static IntPtr CFxLayoutManagerReactor_isASwigExplicitCFxLayoutManagerReactor(HandleRef jarg1)
static void CFxLayoutManagerReactor_layoutToBeDeactivatedSwigExplicitCFxLayoutManagerReactor(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_CFxLayoutManagerReactor(HandleRef jarg1)
static IntPtr CFxLayoutManagerReactor_isA(HandleRef jarg1)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
virtual void layoutRemoved(String layoutName, OdDbObjectId layoutId)
virtual void abortLayoutRename(String oldLayoutName, String newLayoutName, OdDbObjectId layoutId)
virtual void layoutCopied(String oldLayoutName, OdDbObjectId oldLayoutId, String newLayoutName, OdDbObjectId newLayoutId)
virtual void plotStyleTableChanged(String newTableName, OdDbObjectId layoutId)
virtual void layoutToBeCopied(String layoutName, OdDbObjectId layoutId)
virtual void layoutToBeRemoved(String layoutName, OdDbObjectId layoutId)
virtual void abortLayoutRemoved(String layoutName, OdDbObjectId layoutId)
virtual void layoutSwitched(String newLayoutName, OdDbObjectId newLayoutId)
virtual void layoutRenamed(String oldLayoutName, String newLayoutName, OdDbObjectId layoutId)
virtual void abortLayoutCopied(String layoutName, OdDbObjectId layoutId)
virtual void layoutToBeRenamed(String oldLayoutName, String newLayoutName, OdDbObjectId layoutId)
virtual void layoutCreated(String layoutName, OdDbObjectId layoutId)
static HandleRef getCPtr(OdDbObjectId obj)