YARP
Yet Another Robot Platform
yarp::os::PortReader Class Referenceabstract

Interface implemented by all objects that can read themselves from the network, such as Bottle objects. More...

#include <yarp/os/PortReader.h>

+ Inheritance diagram for yarp::os::PortReader:

Detailed Description

Interface implemented by all objects that can read themselves from the network, such as Bottle objects.

See also
Port, PortWriter
Examples:
port_power/ex0300_port_callback.cpp, port_power/ex0402_port_callback_reply.cpp, and port_power/ex0403_bufferedport_callback_reply.cpp.

Definition at line 27 of file PortReader.h.

Public Member Functions

virtual ~PortReader ()
 Destructor. More...
 
virtual bool read (ConnectionReader &reader)=0
 Read this object from a network connection. More...
 
virtual Type getReadType () const
 

Constructor & Destructor Documentation

◆ ~PortReader()

yarp::os::PortReader::~PortReader ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getReadType()

yarp::os::Type yarp::os::PortReader::getReadType ( ) const
virtual

Reimplemented in yarp::sig::Image.

Definition at line 15 of file PortReader.cpp.

◆ read()


The documentation for this class was generated from the following files: