Пример #1
0
 public ThreadManager(ThreadManagerMode threadManagerMode = ThreadManagerMode.Synchronous)
 {
     this._DataType = GenericHelpers.CheckDatumSupportTypes <T>();
     this.NativePtr = OpenPose.Native.op_ThreadManager_new(this._DataType, threadManagerMode);
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Wrapper{T}"/> class with the specified ThreadManager synchronization mode.
 /// </summary>
 /// <param name="threadManagerMode"></param>
 public Wrapper(ThreadManagerMode threadManagerMode = ThreadManagerMode.Synchronous)
 {
     this._DataType = GenericHelpers.CheckDatumSupportTypes <T>();
     this.NativePtr = NativeMethods.op_wrapper_new(this._DataType, threadManagerMode);
 }
Пример #3
0
 public static extern IntPtr op_ThreadManager_new(OpenPose.DataType dataType, ThreadManagerMode threadManagerMode);
Пример #4
0
 public static extern IntPtr op_wrapper_new(ThreadManagerMode threadManagerMode);
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Wrapper"/> class with the specified ThreadManager synchronization mode.
 /// </summary>
 /// <param name="threadManagerMode"></param>
 public Wrapper(ThreadManagerMode threadManagerMode = ThreadManagerMode.Synchronous)
 {
     this.NativePtr = Native.op_wrapper_new(threadManagerMode);
 }
Пример #6
0
 public static extern IntPtr op_wrapper_new(DataType dataType, ThreadManagerMode threadManagerMode);