Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGsModelReactor.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class OdGsModelReactor : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdGsModelReactor(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdGsModelReactor obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public OdGsModelReactor() : this(GlobalsPINVOKE.new_OdGsModelReactor(), true) {
53 }
54
55 public virtual bool onAdded(OdGsModel pModel, OdGiDrawable pAdded, OdGiDrawable pParent) {
58 return ret;
59 }
60
61 public virtual bool onAdded(OdGsModel pModel, OdGiDrawable pAdded, OdDbStub parentID) {
64 return ret;
65 }
66
67 public virtual bool onErased(OdGsModel pModel, OdGiDrawable pErased, OdGiDrawable pParent) {
70 return ret;
71 }
72
73 public virtual bool onErased(OdGsModel pModel, OdGiDrawable pErased, OdDbStub parentID) {
76 return ret;
77 }
78
79 public virtual bool onModified(OdGsModel pModel, OdGiDrawable pModified, OdGiDrawable pParent) {
82 return ret;
83 }
84
85 public virtual bool onModified(OdGsModel pModel, OdGiDrawable pModified, OdDbStub parentID) {
88 return ret;
89 }
90
91 public virtual bool onUnerased(OdGsModel pModel, OdGiDrawable pUnerased, OdGiDrawable pParent) {
94 return ret;
95 }
96
97 public virtual bool onUnerased(OdGsModel pModel, OdGiDrawable pUnerased, OdDbStub parentID) {
100 return ret;
101 }
102
103}
104
105}
static global::System.Exception Retrieve()
static void delete_OdGsModelReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGsModelReactor_onUnerased__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGsModelReactor_onModified__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4)
static bool OdGsModelReactor_onErased__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGsModelReactor_onUnerased__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4)
static bool OdGsModelReactor_onAdded__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4)
static bool OdGsModelReactor_onErased__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4)
static bool OdGsModelReactor_onModified__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGsModelReactor_onAdded__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
static HandleRef getCPtr(OdGiDrawable obj)
Definition: OdGiDrawable.cs:25
static HandleRef getCPtr(OdGsModel obj)
Definition: OdGsModel.cs:25
virtual void Dispose(bool disposing)
virtual bool onAdded(OdGsModel pModel, OdGiDrawable pAdded, OdDbStub parentID)
OdGsModelReactor(IntPtr cPtr, bool cMemoryOwn)
virtual bool onModified(OdGsModel pModel, OdGiDrawable pModified, OdGiDrawable pParent)
static HandleRef getCPtr(OdGsModelReactor obj)
virtual bool onErased(OdGsModel pModel, OdGiDrawable pErased, OdDbStub parentID)
virtual bool onErased(OdGsModel pModel, OdGiDrawable pErased, OdGiDrawable pParent)
virtual bool onUnerased(OdGsModel pModel, OdGiDrawable pUnerased, OdDbStub parentID)
virtual bool onAdded(OdGsModel pModel, OdGiDrawable pAdded, OdGiDrawable pParent)
virtual bool onUnerased(OdGsModel pModel, OdGiDrawable pUnerased, OdGiDrawable pParent)
virtual bool onModified(OdGsModel pModel, OdGiDrawable pModified, OdDbStub parentID)