|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_OS_BINPORTABLE_INL_H
11 #define YARP_OS_BINPORTABLE_INL_H
41 #endif // YARP_OS_BINPORTABLE_INL_H
virtual void appendBlock(const char *data, size_t len)=0
Send a block of data to the network connection.
T & content()
Get the internal structure that will be read or written.
bool read(ConnectionReader &connection) override
Read this object from a network connection.
An interface for writing to a network connection.
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
An interface for reading from a network connection.
bool write(ConnectionWriter &connection) const override
Write this object to a network connection.
virtual bool expectBlock(char *data, size_t len)=0
Read a block of data from the network connection.