public virtual PortWriterWrapper create(PortWriterBufferManager man, System.IntPtr tracker)
 {
     IntPtr cPtr = yarpPINVOKE.PortWriterBufferBase_create(swigCPtr, PortWriterBufferManager.getCPtr(man), tracker);
     PortWriterWrapper ret = (cPtr == IntPtr.Zero) ? null : new PortWriterWrapper(cPtr, false);
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Beispiel #2
0
    public virtual PortWriterWrapper create(PortWriterBufferManager man, SWIGTYPE_p_void tracker)
    {
        global::System.IntPtr cPtr = yarpPINVOKE.PortWriterBufferBase_create(swigCPtr, PortWriterBufferManager.getCPtr(man), SWIGTYPE_p_void.getCPtr(tracker));
        PortWriterWrapper     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PortWriterWrapper(cPtr, false);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PortWriterBufferManager obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(PortWriterBufferManager obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }