Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdSmEvents.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdSmEvents : OdRxObject {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdSmEvents(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdSmEvents_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdSmEvents obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
43 public virtual void onChanged(OdSmEvent event_, OdSmPersist comp) {
44 TD_DbPINVOKE.OdSmEvents_onChanged(swigCPtr, (int)event_, OdSmPersist.getCPtr(comp));
46 }
47
48 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
49 string ret = TD_DbPINVOKE.OdSmEvents_getRealClassName(ptr /*SIMPLETYPE*/);
51 return ret;
52 }
53
54}
55
56}
static HandleRef getCPtr(OdSmEvents obj)
Definition: OdSmEvents.cs:26
OdSmEvents(IntPtr cPtr, bool cMemoryOwn)
Definition: OdSmEvents.cs:21
virtual void onChanged(OdSmEvent event_, OdSmPersist comp)
Definition: OdSmEvents.cs:43
static string getRealClassName(IntPtr ptr)
Definition: OdSmEvents.cs:48
override void Dispose(bool disposing)
Definition: OdSmEvents.cs:30
static HandleRef getCPtr(OdSmPersist obj)
Definition: OdSmPersist.cs:26
static global::System.Exception Retrieve()
static void delete_OdSmEvents(HandleRef jarg1)
static string OdSmEvents_getRealClassName(IntPtr jarg1)
static void OdSmEvents_onChanged(HandleRef jarg1, int jarg2, HandleRef jarg3)