public VisLibCmdInt(CmdIntCallBackCmd callBack) : this(VisionLabPINVOKE.new_VisLibCmdInt__SWIG_4(CmdIntCallBackCmd.getCPtr(callBack)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public VisLibCmdInt(CmdIntCallBackCmd callBack, int maxHisSize, EchoMode echo) : this(VisionLabPINVOKE.new_VisLibCmdInt__SWIG_2(CmdIntCallBackCmd.getCPtr(callBack), maxHisSize, (int)echo), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 internal static HandleRef getCPtr(CmdIntCallBackCmd obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CmdIntCallBackCmd obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }