예제 #1
0
파일: Pid.cs 프로젝트: FromGold/Smart_ELF
    public bool isEqual(Pid p)
    {
        bool ret = yarpPINVOKE.Pid_isEqual(swigCPtr, Pid.getCPtr(p));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #2
0
    public virtual bool setPids(SWIGTYPE_p_PidControlTypeEnum pidtype, Pid pids)
    {
        bool ret = yarpPINVOKE.IPidControl_setPids(swigCPtr, SWIGTYPE_p_PidControlTypeEnum.getCPtr(pidtype), Pid.getCPtr(pids));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }