本文整理汇总了C#中PortReader类的典型用法代码示例。如果您正苦于以下问题:C# PortReader类的具体用法?C# PortReader怎么用?C# PortReader使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PortReader类属于命名空间,在下文中一共展示了PortReader类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: readFromStream
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;
}
示例2: forgetObjectBase
public virtual bool forgetObjectBase(PortReader obj, PortWriter wrapper)
{
bool ret = yarpPINVOKE.PortReaderBufferBase_forgetObjectBase(swigCPtr, PortReader.getCPtr(obj), PortWriter.getCPtr(wrapper));
return ret;
}
示例3: setAdminReader
public override void setAdminReader(PortReader reader)
{
yarpPINVOKE.BufferedPortImageInt_setAdminReader(swigCPtr, PortReader.getCPtr(reader));
if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
}
示例4: setReplier
public new void setReplier(PortReader reader)
{
yarpPINVOKE.BufferedPortImageMono_setReplier(swigCPtr, PortReader.getCPtr(reader));
if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
}
示例5: write
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;
}
示例6: read
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;
}
示例7: write
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;
}
示例8: setReader
public override void setReader(PortReader reader)
{
yarpPINVOKE.Port_setReader(swigCPtr, PortReader.getCPtr(reader));
if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
}
示例9: getCPtr
internal static HandleRef getCPtr(PortReader obj)
{
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
示例10: getEnvelope
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;
}
示例11: setAdminReader
public override void setAdminReader(PortReader reader)
{
yarpPINVOKE.AbstractContactable_setAdminReader(swigCPtr, PortReader.getCPtr(reader));
if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
}
示例12: getEnvelope
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;
}
示例13: writeToNameServer
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;
}
示例14: read
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;
}
示例15: PortReader_director_connect
public static extern void PortReader_director_connect(HandleRef jarg1, PortReader.SwigDelegatePortReader_0 delegate0);