Esempio n. 1
0
 public PidVector(PidVector other) : this(yarpPINVOKE.new_PidVector__SWIG_1(PidVector.getCPtr(other)), true)
 {
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public PidVectorEnumerator(PidVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
 public void SetRange(int index, PidVector values)
 {
     yarpPINVOKE.PidVector_SetRange(swigCPtr, index, PidVector.getCPtr(values));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
 public void AddRange(PidVector values)
 {
     yarpPINVOKE.PidVector_AddRange(swigCPtr, PidVector.getCPtr(values));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
    public static PidVector Repeat(Pid value, int count)
    {
        global::System.IntPtr cPtr = yarpPINVOKE.PidVector_Repeat(Pid.getCPtr(value), count);
        PidVector             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PidVector(cPtr, true);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 6
0
    public PidVector GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = yarpPINVOKE.PidVector_GetRange(swigCPtr, index, count);
        PidVector             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PidVector(cPtr, true);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 7
0
 public bool setPids(PidVector pids)
 {
     bool ret = yarpPINVOKE.IPidControl_setPids__SWIG_1(swigCPtr, PidVector.getCPtr(pids));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 8
0
 public bool getPid(int j, PidVector pid)
 {
     bool ret = yarpPINVOKE.IPidControl_getPid(swigCPtr, j, PidVector.getCPtr(pid));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PidVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }