 |
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
31 yarp::os::Things::writer = writer;
41 yarp::os::Things::reader = reader;
59 if (writer !=
nullptr) {
60 return writer->
write(connection);
62 if (portable !=
nullptr) {
63 return portable->
write(connection);
yarp::os::PortWriter * getPortWriter()
bool setConnectionReader(yarp::os::ConnectionReader &reader)
set a reference to a ConnectionReader
bool write(yarp::os::ConnectionWriter &connection)
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
bool write(ConnectionWriter &writer) const override=0
Write this object to a network connection.
void setPortWriter(yarp::os::PortWriter *writer)
Set the reference to a PortWriter object.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
An interface for writing to a network connection.
virtual bool write(ConnectionWriter &writer) const =0
Write this object to a network connection.
An interface for reading from a network connection.
void setPortReader(yarp::os::PortReader *reader)
Set the reference to a PortReader object.
An interface to the operating system, including Port based communication.
yarp::os::PortReader * getPortReader()