6#ifndef YARP_OS_THINGS_H
7#define YARP_OS_THINGS_H
56 return dynamic_cast<T*
>(this->writer);
59 return dynamic_cast<T*
>(this->reader);
61 if (!this->portable) {
62 if (!this->conReader) {
65 this->portable =
new T();
66 if (!this->portable->read(*
this->conReader)) {
67 delete this->portable;
68 this->portable =
nullptr;
73 return dynamic_cast<T*
>(this->portable);
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...
This is a base class for objects that can be both read from and be written to the YARP network.
Base class for generic things.
An interface to the operating system, including Port based communication.