public static ConnectionReader createConnectionReader(SWIGTYPE_p_yarp__os__InputStream arg0)
 {
     IntPtr cPtr = yarpPINVOKE.ConnectionReader_createConnectionReader(SWIGTYPE_p_yarp__os__InputStream.getCPtr(arg0));
     ConnectionReader ret = (cPtr == IntPtr.Zero) ? null : new ConnectionReader(cPtr, false);
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #2
0
    public static bool readFromStream(PortReader portable, SWIGTYPE_p_yarp__os__InputStream arg1)
    {
        bool ret = yarpPINVOKE.ConnectionReader_readFromStream(PortReader.getCPtr(portable), SWIGTYPE_p_yarp__os__InputStream.getCPtr(arg1));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #3
0
    public static ConnectionReader createConnectionReader(SWIGTYPE_p_yarp__os__InputStream arg0)
    {
        global::System.IntPtr cPtr = yarpPINVOKE.ConnectionReader_createConnectionReader(SWIGTYPE_p_yarp__os__InputStream.getCPtr(arg0));
        ConnectionReader      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ConnectionReader(cPtr, false);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static HandleRef getCPtr(SWIGTYPE_p_yarp__os__InputStream obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_yarp__os__InputStream obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public static bool readFromStream(PortReader portable, SWIGTYPE_p_yarp__os__InputStream arg1)
 {
     bool ret = yarpPINVOKE.ConnectionReader_readFromStream(PortReader.getCPtr(portable), SWIGTYPE_p_yarp__os__InputStream.getCPtr(arg1));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }