ArmDownResult.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. public class ArmDownResult : global::System.IDisposable {
  11. private global::System.Runtime.InteropServices.HandleRef swigCPtr;
  12. protected bool swigCMemOwn;
  13. internal ArmDownResult(global::System.IntPtr cPtr, bool cMemoryOwn) {
  14. swigCMemOwn = cMemoryOwn;
  15. swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
  16. }
  17. internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ArmDownResult obj) {
  18. return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
  19. }
  20. ~ArmDownResult() {
  21. Dispose(false);
  22. }
  23. public void Dispose() {
  24. Dispose(true);
  25. global::System.GC.SuppressFinalize(this);
  26. }
  27. protected virtual void Dispose(bool disposing) {
  28. lock(this) {
  29. if (swigCPtr.Handle != global::System.IntPtr.Zero) {
  30. if (swigCMemOwn) {
  31. swigCMemOwn = false;
  32. GestureEstimatePINVOKE.delete_ArmDownResult(swigCPtr);
  33. }
  34. swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
  35. }
  36. }
  37. }
  38. public int left {
  39. set {
  40. GestureEstimatePINVOKE.ArmDownResult_left_set(swigCPtr, value);
  41. }
  42. get {
  43. int ret = GestureEstimatePINVOKE.ArmDownResult_left_get(swigCPtr);
  44. return ret;
  45. }
  46. }
  47. public int right {
  48. set {
  49. GestureEstimatePINVOKE.ArmDownResult_right_set(swigCPtr, value);
  50. }
  51. get {
  52. int ret = GestureEstimatePINVOKE.ArmDownResult_right_get(swigCPtr);
  53. return ret;
  54. }
  55. }
  56. public ArmDownResult() : this(GestureEstimatePINVOKE.new_ArmDownResult(), true) {
  57. }
  58. }