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