18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 : this(
TD_DbPINVOKE.new_OdDbLayoutManagerReactor(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
46 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
52 SwigDirectorConnect();
53 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
57 MemoryManager mMan = MemoryManager.GetMemoryManager();
58 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
98 MemoryManager mMan = MemoryManager.GetMemoryManager();
99 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
188 private void SwigDirectorConnect() {
189 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
191 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
193 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
195 if (SwigDerivedClassHasMethod(
"layoutCreated", swigMethodTypes3))
197 if (SwigDerivedClassHasMethod(
"layoutToBeRemoved", swigMethodTypes4))
199 if (SwigDerivedClassHasMethod(
"layoutRemoved", swigMethodTypes5))
201 if (SwigDerivedClassHasMethod(
"abortLayoutRemoved", swigMethodTypes6))
203 if (SwigDerivedClassHasMethod(
"layoutToBeCopied", swigMethodTypes7))
205 if (SwigDerivedClassHasMethod(
"layoutCopied", swigMethodTypes8))
207 if (SwigDerivedClassHasMethod(
"abortLayoutCopied", swigMethodTypes9))
209 if (SwigDerivedClassHasMethod(
"layoutToBeRenamed", swigMethodTypes10))
211 if (SwigDerivedClassHasMethod(
"layoutRenamed", swigMethodTypes11))
213 if (SwigDerivedClassHasMethod(
"abortLayoutRename", swigMethodTypes12))
215 if (SwigDerivedClassHasMethod(
"layoutSwitched", swigMethodTypes13))
217 if (SwigDerivedClassHasMethod(
"plotStyleTableChanged", swigMethodTypes14))
219 if (SwigDerivedClassHasMethod(
"layoutToBeDeactivated", swigMethodTypes15))
221 TD_DbPINVOKE.
OdDbLayoutManagerReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15);
224 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
225 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);
227 return hasDerivedMethod;
230 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
239 private IntPtr SwigDirectorMethodisA() {
246 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
252 private void SwigDirectorMethodlayoutCreated([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
253 layoutCreated(layoutName,
new OdDbObjectId(layoutId,
false));
256 private void SwigDirectorMethodlayoutToBeRemoved([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
260 private void SwigDirectorMethodlayoutRemoved([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
261 layoutRemoved(layoutName,
new OdDbObjectId(layoutId,
false));
264 private void SwigDirectorMethodabortLayoutRemoved([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
268 private void SwigDirectorMethodlayoutToBeCopied([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
272 private void SwigDirectorMethodlayoutCopied([MarshalAs(UnmanagedType.LPWStr)]
String oldLayoutName, global::System.IntPtr oldLayoutId, [MarshalAs(UnmanagedType.LPWStr)]
String newLayoutName, global::System.IntPtr newLayoutId) {
273 layoutCopied(oldLayoutName,
new OdDbObjectId(oldLayoutId,
false), newLayoutName,
new OdDbObjectId(newLayoutId,
false));
276 private void SwigDirectorMethodabortLayoutCopied([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
280 private void SwigDirectorMethodlayoutToBeRenamed([MarshalAs(UnmanagedType.LPWStr)]
String oldLayoutName, [MarshalAs(UnmanagedType.LPWStr)]
String newLayoutName, global::System.IntPtr layoutId) {
281 layoutToBeRenamed(oldLayoutName, newLayoutName,
new OdDbObjectId(layoutId,
false));
284 private void SwigDirectorMethodlayoutRenamed([MarshalAs(UnmanagedType.LPWStr)]
String oldLayoutName, [MarshalAs(UnmanagedType.LPWStr)]
String newLayoutName, global::System.IntPtr layoutId) {
285 layoutRenamed(oldLayoutName, newLayoutName,
new OdDbObjectId(layoutId,
false));
288 private void SwigDirectorMethodabortLayoutRename([MarshalAs(UnmanagedType.LPWStr)]
String oldLayoutName, [MarshalAs(UnmanagedType.LPWStr)]
String newLayoutName, global::System.IntPtr layoutId) {
289 abortLayoutRename(oldLayoutName, newLayoutName,
new OdDbObjectId(layoutId,
false));
292 private void SwigDirectorMethodlayoutSwitched([MarshalAs(UnmanagedType.LPWStr)]
String newLayoutName, global::System.IntPtr newLayoutId) {
293 layoutSwitched(newLayoutName,
new OdDbObjectId(newLayoutId,
false));
296 private void SwigDirectorMethodplotStyleTableChanged([MarshalAs(UnmanagedType.LPWStr)]
String newTableName, global::System.IntPtr layoutId) {
300 private void SwigDirectorMethodlayoutToBeDeactivated([MarshalAs(UnmanagedType.LPWStr)]
String layoutName, global::System.IntPtr layoutId) {
338 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
339 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
340 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
341 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(
String), typeof(OdDbObjectId) };
342 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(
String), typeof(OdDbObjectId) };
343 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(
String), typeof(OdDbObjectId) };
344 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(
String), typeof(OdDbObjectId) };
345 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(
String), typeof(OdDbObjectId) };
346 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(
String), typeof(OdDbObjectId), typeof(
String), typeof(OdDbObjectId) };
347 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(
String), typeof(OdDbObjectId) };
348 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(
String), typeof(
String), typeof(OdDbObjectId) };
349 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { typeof(
String), typeof(
String), typeof(OdDbObjectId) };
350 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { typeof(
String), typeof(
String), typeof(OdDbObjectId) };
351 private static global::System.Type[] swigMethodTypes13 =
new global::System.Type[] { typeof(
String), typeof(OdDbObjectId) };
352 private static global::System.Type[] swigMethodTypes14 =
new global::System.Type[] { typeof(
String), typeof(OdDbObjectId) };
353 private static global::System.Type[] swigMethodTypes15 =
new global::System.Type[] { typeof(
String), typeof(OdDbObjectId) };