28 yarp::os::Things::writer = writer;
38 yarp::os::Things::reader = reader;
56 if (writer !=
nullptr) {
59 if (portable !=
nullptr) {
A mini-server for performing network communication in the background.
An interface for reading from a network connection.
An interface for writing to a network connection.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
virtual bool write(ConnectionWriter &writer) const =0
Write this object to a network connection.
bool write(ConnectionWriter &writer) const override=0
Write this object to a network connection.
bool setConnectionReader(yarp::os::ConnectionReader &reader)
set a reference to a ConnectionReader
yarp::os::PortWriter * getPortWriter()
yarp::os::PortReader * getPortReader()
bool write(yarp::os::ConnectionWriter &connection)
void setPortReader(yarp::os::PortReader *reader)
Set the reference to a PortReader object.
void setPortWriter(yarp::os::PortWriter *writer)
Set the reference to a PortWriter object.
An interface to the operating system, including Port based communication.