public PidVector(PidVector other) : this(yarpPINVOKE.new_PidVector__SWIG_1(PidVector.getCPtr(other)), true) { if (yarpPINVOKE.SWIGPendingException.Pending) { throw yarpPINVOKE.SWIGPendingException.Retrieve(); } }
public PidVectorEnumerator(PidVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, PidVector values) { yarpPINVOKE.PidVector_SetRange(swigCPtr, index, PidVector.getCPtr(values)); if (yarpPINVOKE.SWIGPendingException.Pending) { throw yarpPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddRange(PidVector values) { yarpPINVOKE.PidVector_AddRange(swigCPtr, PidVector.getCPtr(values)); if (yarpPINVOKE.SWIGPendingException.Pending) { throw yarpPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
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; }
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; }
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); }