public class BufferedPortBottle extends Contactable
swigCMemOwn
Modifier | Constructor and Description |
---|---|
|
BufferedPortBottle() |
protected |
BufferedPortBottle(long cPtr,
boolean cMemoryOwn) |
|
BufferedPortBottle(Port port) |
Modifier and Type | Method and Description |
---|---|
SWIGTYPE_p_void |
acquire() |
Property |
acquireProperties(boolean readOnly) |
boolean |
addOutput(Contact contact) |
boolean |
addOutput(java.lang.String name) |
boolean |
addOutput(java.lang.String name,
java.lang.String carrier) |
void |
close() |
void |
delete() |
void |
disableCallback() |
protected void |
finalize() |
protected static long |
getCPtr(BufferedPortBottle obj) |
boolean |
getEnvelope(PortReader envelope) |
int |
getInputCount() |
java.lang.String |
getName() |
int |
getOutputCount() |
int |
getPendingReads() |
void |
getReport(PortReport reporter) |
SWIGTYPE_p_Type |
getType() |
void |
includeNodeInName(boolean flag) |
void |
interrupt() |
boolean |
isClosed() |
boolean |
isWriting() |
Bottle |
lastRead() |
boolean |
lockCallback() |
void |
onRead(Bottle datum) |
Bottle |
prepare() |
void |
promiseType(SWIGTYPE_p_Type typ) |
Bottle |
read() |
Bottle |
read(boolean shouldWait) |
void |
release(SWIGTYPE_p_void handle) |
void |
releaseProperties(Property prop) |
boolean |
removeCallbackLock() |
void |
resume() |
void |
setAdminReader(PortReader reader) |
boolean |
setCallbackLock(SWIGTYPE_p_yarp__os__Mutex mutex) |
boolean |
setEnvelope(PortWriter envelope) |
void |
setInputMode(boolean expectInput) |
void |
setOutputMode(boolean expectOutput) |
void |
setReader(PortReader reader) |
void |
setReplier(PortReader reader) |
void |
setReporter(PortReport reporter) |
void |
setRpcMode(boolean expectRpc) |
void |
setStrict() |
void |
setStrict(boolean strict) |
void |
setTargetPeriod(double period) |
boolean |
tryLockCallback() |
void |
unlockCallback() |
boolean |
unprepare() |
void |
useCallback() |
void |
useCallback(BottleCallback callback) |
void |
waitForWrite() |
Contact |
where() |
void |
write() |
void |
write(boolean forceStrict) |
void |
writeStrict() |
getCPtr, open, open, open, open, setCallbackLock, setEnvelope, setReadOnly, setRpcClient, setRpcServer, setWriteOnly
protected BufferedPortBottle(long cPtr, boolean cMemoryOwn)
public BufferedPortBottle()
public BufferedPortBottle(Port port)
protected static long getCPtr(BufferedPortBottle obj)
protected void finalize()
finalize
in class Contactable
public void delete()
delete
in class Contactable
public boolean addOutput(java.lang.String name)
addOutput
in class Contactable
public boolean addOutput(java.lang.String name, java.lang.String carrier)
addOutput
in class Contactable
public boolean addOutput(Contact contact)
addOutput
in class Contactable
public void close()
close
in class Contactable
public void interrupt()
interrupt
in class Contactable
public void resume()
resume
in class Contactable
public int getPendingReads()
public Contact where()
where
in class Contactable
public java.lang.String getName()
getName
in class Contactable
public Bottle prepare()
public boolean unprepare()
public void write(boolean forceStrict)
public void write()
public void writeStrict()
public void waitForWrite()
public void setStrict(boolean strict)
public void setStrict()
public Bottle read(boolean shouldWait)
public Bottle read()
public Bottle lastRead()
public boolean isClosed()
public void setReplier(PortReader reader)
public void setReader(PortReader reader)
setReader
in class Contactable
public void setAdminReader(PortReader reader)
setAdminReader
in class Contactable
public void onRead(Bottle datum)
public void useCallback(BottleCallback callback)
public void useCallback()
public void disableCallback()
public boolean setEnvelope(PortWriter envelope)
setEnvelope
in class Contactable
public boolean getEnvelope(PortReader envelope)
getEnvelope
in class Contactable
public int getInputCount()
getInputCount
in class Contactable
public int getOutputCount()
getOutputCount
in class Contactable
public boolean isWriting()
isWriting
in class Contactable
public void getReport(PortReport reporter)
getReport
in class Contactable
public void setReporter(PortReport reporter)
setReporter
in class Contactable
public SWIGTYPE_p_void acquire()
public void release(SWIGTYPE_p_void handle)
public void setTargetPeriod(double period)
public SWIGTYPE_p_Type getType()
getType
in class Contactable
public void promiseType(SWIGTYPE_p_Type typ)
promiseType
in class Contactable
public void setInputMode(boolean expectInput)
setInputMode
in class Contactable
public void setOutputMode(boolean expectOutput)
setOutputMode
in class Contactable
public void setRpcMode(boolean expectRpc)
setRpcMode
in class Contactable
public Property acquireProperties(boolean readOnly)
acquireProperties
in class Contactable
public void releaseProperties(Property prop)
releaseProperties
in class Contactable
public void includeNodeInName(boolean flag)
includeNodeInName
in class Contactable
public boolean setCallbackLock(SWIGTYPE_p_yarp__os__Mutex mutex)
setCallbackLock
in class Contactable
public boolean removeCallbackLock()
removeCallbackLock
in class Contactable
public boolean lockCallback()
lockCallback
in class Contactable
public boolean tryLockCallback()
tryLockCallback
in class Contactable
public void unlockCallback()
unlockCallback
in class Contactable