A simple abstraction for a block of bytes.
An interface for writing to a network connection.
Portable * getReference() const override
Get a direct pointer to the object being sent, if possible.
size_t getSize() const override
Checks how much data is available.
bool isTextMode() const override
Check if the connection is text mode.
const Searchable & getConnectionModifiers() const override
Access modifiers associated with the connection, if any.
bool convertTextMode() override
Reads in a standard description in text mode, and converts it to a standard description in binary.
Contact getLocalContact() const override
Gets information about who is receiving the data, if that information is available.
bool isValid() const override
std::int8_t expectInt8() override
Read a 8-bit integer from the network connection.
std::string expectText(const char terminatingChar='\n') override
Read some text from the network connection.
std::int64_t expectInt64() override
Read a 64-bit integer from the network connection.
bool isActive() const override
std::int16_t expectInt16() override
Read a 16-bit integer from the network connection.
Bytes readEnvelope() override
Read a message envelope, if available.
yarp::conf::float32_t expectFloat32() override
Read a 32-bit floating point number from the network connection.
Contact getRemoteContact() const override
Gets information about who is supplying the data being read, if that information is available.
void requestDrop() override
Tag the connection to be dropped after the current message.
yarp::conf::float64_t expectFloat64() override
Read a 64-bit floating point number from the network connection.
bool expectBlock(char *data, size_t len) override
Read a block of data from the network connection.
ConnectionWriter * getWriter() override
Gets a way to reply to the message, if possible.
bool isError() const override
std::int32_t expectInt32() override
Read a 32-bit integer from the network connection.
bool pushInt(int x) override
Store an integer to return on the next call to expectInt()
This is a base class for objects that can be both read from and be written to the YARP network.
A base class for nested structures that can be searched.