ActionPoseDesc.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 ActionPoseDesc : global::System.IDisposable {
  11. private global::System.Runtime.InteropServices.HandleRef swigCPtr;
  12. protected bool swigCMemOwn;
  13. internal ActionPoseDesc(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(ActionPoseDesc obj) {
  18. return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
  19. }
  20. ~ActionPoseDesc() {
  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_ActionPoseDesc(swigCPtr);
  33. }
  34. swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
  35. }
  36. }
  37. }
  38. public ActionPoseEnum action_pose {
  39. set {
  40. GestureEstimatePINVOKE.ActionPoseDesc_action_pose_set(swigCPtr, (int)value);
  41. }
  42. get {
  43. ActionPoseEnum ret = (ActionPoseEnum)GestureEstimatePINVOKE.ActionPoseDesc_action_pose_get(swigCPtr);
  44. return ret;
  45. }
  46. }
  47. public ActionPoseDesc() : this(GestureEstimatePINVOKE.new_ActionPoseDesc__SWIG_0(), true) {
  48. }
  49. public ActionPoseDesc(ActionPoseEnum pose) : this(GestureEstimatePINVOKE.new_ActionPoseDesc__SWIG_1((int)pose), true) {
  50. }
  51. public bool is_valid() {
  52. bool ret = GestureEstimatePINVOKE.ActionPoseDesc_is_valid(swigCPtr);
  53. return ret;
  54. }
  55. public string to_string() {
  56. string ret = GestureEstimatePINVOKE.ActionPoseDesc_to_string(swigCPtr);
  57. return ret;
  58. }
  59. }