Пример #1
0
    public virtual PortWriter getInternal()
    {
        global::System.IntPtr cPtr = yarpPINVOKE.PortWriterWrapper_getInternal(swigCPtr);
        PortWriter            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PortWriter(cPtr, false);

        return(ret);
    }
Пример #2
0
    public PortWriter getPortWriter()
    {
        global::System.IntPtr cPtr = yarpPINVOKE.Things_getPortWriter(swigCPtr);
        PortWriter            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PortWriter(cPtr, false);

        return(ret);
    }
Пример #3
0
    public override bool reply(PortWriter writer)
    {
        bool ret = yarpPINVOKE.AbstractContactable_reply(swigCPtr, PortWriter.getCPtr(writer));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #4
0
    public new bool read(PortWriter writer)
    {
        bool ret = yarpPINVOKE.Bottle_read__SWIG_2(swigCPtr, PortWriter.getCPtr(writer));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #5
0
    public virtual bool setEnvelope(PortWriter envelope)
    {
        bool ret = yarpPINVOKE.Contactable_setEnvelope__SWIG_0(swigCPtr, PortWriter.getCPtr(envelope));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #6
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);
    }
Пример #7
0
    public override bool setEnvelope(PortWriter envelope)
    {
        bool ret = yarpPINVOKE.Port_setEnvelope(swigCPtr, PortWriter.getCPtr(envelope));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #8
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);
    }
Пример #9
0
    public new bool write(PortWriter writer)
    {
        bool ret = yarpPINVOKE.RpcServer_write__SWIG_1(swigCPtr, PortWriter.getCPtr(writer));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #10
0
    public override bool replyAndDrop(PortWriter writer)
    {
        bool ret = yarpPINVOKE.Port_replyAndDrop(swigCPtr, PortWriter.getCPtr(writer));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #11
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);
    }
Пример #12
0
    public static bool writeToStream(PortWriter portable, SWIGTYPE_p_yarp__os__OutputStream os)
    {
        bool ret = yarpPINVOKE.ConnectionWriter_writeToStream(PortWriter.getCPtr(portable), SWIGTYPE_p_yarp__os__OutputStream.getCPtr(os));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #13
0
    public static int sendMessage(string port, PortWriter writable, SWIGTYPE_p_std__string output, bool quiet)
    {
        int ret = yarpPINVOKE.NetworkBase_sendMessage__SWIG_2(port, PortWriter.getCPtr(writable), SWIGTYPE_p_std__string.getCPtr(output), quiet);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #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);
    }
Пример #15
0
    public static int sendMessage(string port, PortWriter writable)
    {
        int ret = yarpPINVOKE.NetworkBase_sendMessage__SWIG_1(port, PortWriter.getCPtr(writable));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #16
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);
    }
Пример #17
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);
    }
Пример #18
0
    public virtual bool replyAndDrop(PortWriter writer)
    {
        bool ret = yarpPINVOKE.UnbufferedContactable_replyAndDrop(swigCPtr, PortWriter.getCPtr(writer));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #19
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);
    }
Пример #20
0
 public virtual bool forgetObjectBase(PortReader obj, PortWriter wrapper)
 {
     bool ret = yarpPINVOKE.PortReaderBufferBase_forgetObjectBase(swigCPtr, PortReader.getCPtr(obj), PortWriter.getCPtr(wrapper));
     return ret;
 }
Пример #21
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;
 }
Пример #22
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;
 }
 public override bool setEnvelope(PortWriter envelope)
 {
     bool ret = yarpPINVOKE.AbstractContactable_setEnvelope(swigCPtr, PortWriter.getCPtr(envelope));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #24
0
 public override bool replyAndDrop(PortWriter writer)
 {
     bool ret = yarpPINVOKE.Port_replyAndDrop(swigCPtr, PortWriter.getCPtr(writer));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #25
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;
 }
Пример #26
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;
 }
Пример #27
0
 internal static HandleRef getCPtr(PortWriter obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #28
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;
 }
Пример #29
0
 public new bool read(PortWriter writer)
 {
     bool ret = yarpPINVOKE.Bottle_read__SWIG_2(swigCPtr, PortWriter.getCPtr(writer));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #30
0
 public new bool write(PortWriter writer)
 {
     bool ret = yarpPINVOKE.Port_write__SWIG_1(swigCPtr, PortWriter.getCPtr(writer));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public new bool write(PortWriter writer, PortWriter callback)
 {
     bool ret = yarpPINVOKE.AbstractContactable_write__SWIG_0(swigCPtr, PortWriter.getCPtr(writer), PortWriter.getCPtr(callback));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public override bool setEnvelope(PortWriter envelope)
 {
     bool ret = yarpPINVOKE.BufferedPortImageMono_setEnvelope(swigCPtr, PortWriter.getCPtr(envelope));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #33
0
 public void setPortWriter(PortWriter writer)
 {
     yarpPINVOKE.Things_setPortWriter(swigCPtr, PortWriter.getCPtr(writer));
 }
Пример #34
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;
 }
 public override bool reply(PortWriter writer)
 {
     bool ret = yarpPINVOKE.AbstractContactable_reply(swigCPtr, PortWriter.getCPtr(writer));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public virtual bool replyAndDrop(PortWriter writer)
 {
     bool ret = yarpPINVOKE.UnbufferedContactable_replyAndDrop(swigCPtr, PortWriter.getCPtr(writer));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public static bool writeToStream(PortWriter portable, SWIGTYPE_p_yarp__os__OutputStream os)
 {
     bool ret = yarpPINVOKE.ConnectionWriter_writeToStream(PortWriter.getCPtr(portable), SWIGTYPE_p_yarp__os__OutputStream.getCPtr(os));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #38
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PortWriter obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Пример #39
0
 public virtual bool setEnvelope(PortWriter envelope)
 {
     bool ret = yarpPINVOKE.Contactable_setEnvelope__SWIG_0(swigCPtr, PortWriter.getCPtr(envelope));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #40
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;
 }
Пример #41
0
 public bool reply(PortWriter writer)
 {
     bool ret = yarpPINVOKE.RpcServer_reply(swigCPtr, PortWriter.getCPtr(writer));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #42
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;
 }
Пример #43
0
 public void setPortWriter(PortWriter writer)
 {
     yarpPINVOKE.Things_setPortWriter(swigCPtr, PortWriter.getCPtr(writer));
 }