Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdPerfTimerBase.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 OdPerfTimerBase : 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 OdPerfTimerBase(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(OdPerfTimerBase 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 virtual void initialize() {
54 }
55
56 public virtual void destroy() {
59 }
60
61 public virtual void clear() {
64 }
65
66 public virtual void start() {
69 }
70
71 public virtual void stop() {
74 }
75
76 public virtual double countedSec() {
77 double ret = GlobalsPINVOKE.OdPerfTimerBase_countedSec(swigCPtr);
79 return ret;
80 }
81
82 public virtual UInt32 countedMSec() {
83// test csout
84 /*SIMPLETYPE*/
85 UInt32 ret = GlobalsPINVOKE.OdPerfTimerBase_countedMSec(swigCPtr);
87 return ret;
88 }
89
90 public virtual double permanentSec() {
91 double ret = GlobalsPINVOKE.OdPerfTimerBase_permanentSec(swigCPtr);
93 return ret;
94 }
95
96 public virtual UInt32 permanentMSec() {
97// test csout
98 /*SIMPLETYPE*/
99 UInt32 ret = GlobalsPINVOKE.OdPerfTimerBase_permanentMSec(swigCPtr);
101 return ret;
102 }
103
104 public virtual bool isStarted() {
105 bool ret = GlobalsPINVOKE.OdPerfTimerBase_isStarted(swigCPtr);
107 return ret;
108 }
109
111 global::System.IntPtr cPtr = GlobalsPINVOKE.OdPerfTimerBase_createTiming();
112 OdPerfTimerBase ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdPerfTimerBase(cPtr, false);
114 return ret;
115 }
116
117 public static void destroyTiming(OdPerfTimerBase ptr) {
120 }
121
122}
123
124}
static global::System.Exception Retrieve()
static double OdPerfTimerBase_countedSec(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPerfTimerBase_initialize(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdPerfTimerBase_createTiming()
static UInt32 OdPerfTimerBase_permanentMSec(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPerfTimerBase_stop(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdPerfTimerBase_isStarted(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdPerfTimerBase_countedMSec(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPerfTimerBase_destroy(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPerfTimerBase_clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdPerfTimerBase_permanentSec(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPerfTimerBase_destroyTiming(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdPerfTimerBase(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdPerfTimerBase_start(global::System.Runtime.InteropServices.HandleRef jarg1)
static OdPerfTimerBase createTiming()
static void destroyTiming(OdPerfTimerBase ptr)
virtual void Dispose(bool disposing)
virtual UInt32 permanentMSec()
OdPerfTimerBase(IntPtr cPtr, bool cMemoryOwn)
virtual double permanentSec()
static HandleRef getCPtr(OdPerfTimerBase obj)
virtual UInt32 countedMSec()