Esempio n. 1
0
    public PortReader getPortReader()
    {
        global::System.IntPtr cPtr = yarpPINVOKE.Things_getPortReader(swigCPtr);
        PortReader            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PortReader(cPtr, false);

        return(ret);
    }
Esempio n. 2
0
    public virtual PortReader create()
    {
        global::System.IntPtr cPtr = yarpPINVOKE.PortReaderCreator_create(swigCPtr);
        PortReader            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PortReader(cPtr, false);

        return(ret);
    }
Esempio n. 3
0
 public override void setReader(PortReader reader)
 {
     yarpPINVOKE.AbstractContactable_setReader(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
 public virtual void setReplyHandler(PortReader reader)
 {
     yarpPINVOKE.ConnectionWriter_setReplyHandler(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
 public override void setAdminReader(PortReader reader)
 {
     yarpPINVOKE.Port_setAdminReader(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 6
0
 public override void setReader(PortReader reader)
 {
     yarpPINVOKE.BufferedPortImageMono16_setReader(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 7
0
 public new void setReplier(PortReader reader)
 {
     yarpPINVOKE.BufferedPortImageFloat_setReplier(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 8
0
 public new void setReplier(PortReader reader)
 {
     yarpPINVOKE.TypedReaderBottle_setReplier(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 9
0
 public virtual void setAdminReader(PortReader reader)
 {
     yarpPINVOKE.Contactable_setAdminReader(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 10
0
    public new bool read(PortReader reader)
    {
        bool ret = yarpPINVOKE.Port_read__SWIG_1(swigCPtr, PortReader.getCPtr(reader));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 11
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);
    }
Esempio n. 12
0
    public new static bool write(string port_name, PortWriter cmd, PortReader reply)
    {
        bool ret = yarpPINVOKE.NetworkBase_write__SWIG_5(port_name, PortWriter.getCPtr(cmd), PortReader.getCPtr(reply));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 13
0
    public static bool writeToNameServer(PortWriter cmd, PortReader reply, ContactStyle style)
    {
        bool ret = yarpPINVOKE.NetworkBase_writeToNameServer(PortWriter.getCPtr(cmd), PortReader.getCPtr(reply), ContactStyle.getCPtr(style));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 14
0
    public new static bool write(Contact contact, PortWriter cmd, PortReader reply, bool admin)
    {
        bool ret = yarpPINVOKE.NetworkBase_write__SWIG_2(Contact.getCPtr(contact), PortWriter.getCPtr(cmd), PortReader.getCPtr(reply), admin);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 15
0
    public static bool copyPortable(PortWriter writer, PortReader reader)
    {
        bool ret = yarpPINVOKE.Portable_copyPortable(PortWriter.getCPtr(writer), PortReader.getCPtr(reader));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 16
0
    public virtual bool getEnvelope(PortReader envelope)
    {
        bool ret = yarpPINVOKE.Contactable_getEnvelope(swigCPtr, PortReader.getCPtr(envelope));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 17
0
    public new bool write(PortReader reader, bool textMode)
    {
        bool ret = yarpPINVOKE.Bottle_write__SWIG_1(swigCPtr, PortReader.getCPtr(reader), textMode);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 18
0
    public override bool getEnvelope(PortReader envelope)
    {
        bool ret = yarpPINVOKE.Port_getEnvelope(swigCPtr, PortReader.getCPtr(envelope));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 19
0
    public virtual bool process(PortWriter arg0, PortReader arg1, Contact source)
    {
        bool ret = yarpPINVOKE.NameStore_process(swigCPtr, PortWriter.getCPtr(arg0), PortReader.getCPtr(arg1), Contact.getCPtr(source));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 20
0
    public new bool write(PortWriter writer, PortReader reader, PortWriter callback)
    {
        bool ret = yarpPINVOKE.UnbufferedContactable_write__SWIG_2(swigCPtr, PortWriter.getCPtr(writer), PortReader.getCPtr(reader), PortWriter.getCPtr(callback));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 21
0
    public new bool read(PortReader reader, bool willReply)
    {
        bool ret = yarpPINVOKE.RpcServer_read__SWIG_0(swigCPtr, PortReader.getCPtr(reader), willReply);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 22
0
    public new bool write(PortWriter writer, PortReader reader)
    {
        bool ret = yarpPINVOKE.Port_write__SWIG_3(swigCPtr, PortWriter.getCPtr(writer), PortReader.getCPtr(reader));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 23
0
 public virtual bool forgetObjectBase(PortReader obj, PortWriter wrapper)
 {
     bool ret = yarpPINVOKE.PortReaderBufferBase_forgetObjectBase(swigCPtr, PortReader.getCPtr(obj), PortWriter.getCPtr(wrapper));
     return ret;
 }
Esempio n. 24
0
 public static bool writeToNameServer(PortWriter cmd, PortReader reply, ContactStyle style)
 {
     bool ret = yarpPINVOKE.NetworkBase_writeToNameServer(PortWriter.getCPtr(cmd), PortReader.getCPtr(reply), ContactStyle.getCPtr(style));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 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;
 }
 public override bool getEnvelope(PortReader envelope)
 {
     bool ret = yarpPINVOKE.BufferedPortImageMono_getEnvelope(swigCPtr, PortReader.getCPtr(envelope));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 27
0
 public new bool read(PortReader reader, bool willReply)
 {
     bool ret = yarpPINVOKE.RpcServer_read__SWIG_0(swigCPtr, PortReader.getCPtr(reader), willReply);
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public new void setReplier(PortReader reader)
 {
     yarpPINVOKE.TypedReaderImageRgb_setReplier(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 29
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PortReader obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 30
0
 public new bool write(PortReader reader)
 {
     bool ret = yarpPINVOKE.Bottle_write__SWIG_2(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 31
0
 public static new bool write(Contact contact, PortWriter cmd, PortReader reply, bool admin, bool quiet)
 {
     bool ret = yarpPINVOKE.NetworkBase_write__SWIG_1(Contact.getCPtr(contact), PortWriter.getCPtr(cmd), PortReader.getCPtr(reply), admin, quiet);
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public virtual void setReader(PortReader reader)
 {
     yarpPINVOKE.Contactable_setReader(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 33
0
 public static new bool write(Contact contact, PortWriter cmd, PortReader reply, ContactStyle style)
 {
     bool ret = yarpPINVOKE.NetworkBase_write__SWIG_4(Contact.getCPtr(contact), PortWriter.getCPtr(cmd), PortReader.getCPtr(reply), ContactStyle.getCPtr(style));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public virtual void setReplyHandler(PortReader reader)
 {
     yarpPINVOKE.ConnectionWriter_setReplyHandler(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 35
0
 public static extern void PortReader_director_connect(HandleRef jarg1, PortReader.SwigDelegatePortReader_0 delegate0);
Esempio n. 36
0
 public new bool write(PortWriter writer, PortReader reader)
 {
     bool ret = yarpPINVOKE.RpcServer_write__SWIG_3(swigCPtr, PortWriter.getCPtr(writer), PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 37
0
 public virtual bool getEnvelope(PortReader envelope)
 {
     bool ret = yarpPINVOKE.PortReaderBufferBase_getEnvelope(swigCPtr, PortReader.getCPtr(envelope));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public override void setAdminReader(PortReader reader)
 {
     yarpPINVOKE.AbstractContactable_setAdminReader(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(PortReader obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public override void setAdminReader(PortReader reader)
 {
     yarpPINVOKE.BufferedPortImageInt_setAdminReader(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
 }
 public override bool getEnvelope(PortReader envelope)
 {
     bool ret = yarpPINVOKE.AbstractContactable_getEnvelope(swigCPtr, PortReader.getCPtr(envelope));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public new void setReplier(PortReader reader)
 {
     yarpPINVOKE.BufferedPortImageMono_setReplier(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 43
0
 public new bool read(PortReader reader)
 {
     bool ret = yarpPINVOKE.Port_read__SWIG_1(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 44
0
 public void setPortReader(PortReader reader)
 {
     yarpPINVOKE.Things_setPortReader(swigCPtr, PortReader.getCPtr(reader));
 }
Esempio n. 45
0
 public override void setReader(PortReader reader)
 {
     yarpPINVOKE.Port_setReader(swigCPtr, PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 46
0
 public virtual bool process(PortWriter arg0, PortReader arg1, Contact source)
 {
     bool ret = yarpPINVOKE.NameStore_process(swigCPtr, PortWriter.getCPtr(arg0), PortReader.getCPtr(arg1), Contact.getCPtr(source));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 47
0
 public new bool write(PortWriter writer, PortReader reader, PortWriter callback)
 {
     bool ret = yarpPINVOKE.Port_write__SWIG_2(swigCPtr, PortWriter.getCPtr(writer), PortReader.getCPtr(reader), PortWriter.getCPtr(callback));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 48
0
 public static bool copyPortable(PortWriter writer, PortReader reader)
 {
     bool ret = yarpPINVOKE.Portable_copyPortable(PortWriter.getCPtr(writer), PortReader.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 49
0
 public static new bool write(string port_name, PortWriter cmd, PortReader reply)
 {
     bool ret = yarpPINVOKE.NetworkBase_write__SWIG_5(port_name, PortWriter.getCPtr(cmd), PortReader.getCPtr(reply));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Esempio n. 50
0
 public virtual void release(PortReader completed)
 {
     yarpPINVOKE.PortReaderBufferBase_release__SWIG_0(swigCPtr, PortReader.getCPtr(completed));
 }
Esempio n. 51
0
 public void setPortReader(PortReader reader)
 {
     yarpPINVOKE.Things_setPortReader(swigCPtr, PortReader.getCPtr(reader));
 }