コード例 #1
0
    public SWIGTYPE_p_Runnable getAttachment()
    {
        global::System.IntPtr cPtr = yarpPINVOKE.RateThreadWrapper_getAttachment(swigCPtr);
        SWIGTYPE_p_Runnable   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Runnable(cPtr, false);

        return(ret);
    }
コード例 #2
0
    public virtual bool attach(SWIGTYPE_p_Runnable helper)
    {
        bool ret = yarpPINVOKE.RateThreadWrapper_attach__SWIG_0(swigCPtr, SWIGTYPE_p_Runnable.getCPtr(helper));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Runnable obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #4
0
 public virtual bool attach(SWIGTYPE_p_Runnable helper)
 {
     bool ret = yarpPINVOKE.RateThreadWrapper_attach__SWIG_0(swigCPtr, SWIGTYPE_p_Runnable.getCPtr(helper));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #5
0
 public RateThreadWrapper(SWIGTYPE_p_Runnable helper)
     : this(yarpPINVOKE.new_RateThreadWrapper__SWIG_1(SWIGTYPE_p_Runnable.getCPtr(helper)), true)
 {
 }
コード例 #6
0
 internal static HandleRef getCPtr(SWIGTYPE_p_Runnable obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #7
0
 public RateThreadWrapper(SWIGTYPE_p_Runnable helper) : this(yarpPINVOKE.new_RateThreadWrapper__SWIG_1(SWIGTYPE_p_Runnable.getCPtr(helper)), true)
 {
 }