#include <yarp/os/PortablePair.h>
Inheritance diagram for yarp::os::PortablePairBase:Static Public Member Functions | |
| static bool | readPair (ConnectionReader &connection, Portable &head, Portable &body) |
| Reads an object pair from a network connection. More... | |
| static bool | writePair (ConnectionWriter &connection, const Portable &head, const Portable &body) |
| Writes an object pair to a network connection. More... | |
Static Public Member Functions inherited from yarp::os::Portable | |
| static bool | copyPortable (const PortWriter &writer, PortReader &reader) |
| Copy one portable to another, via writing and reading. More... | |
Additional Inherited Members | |
Public Member Functions inherited from yarp::os::Portable | |
| bool | read (ConnectionReader &reader) override=0 |
| Read this object from a network connection. More... | |
| bool | write (ConnectionWriter &writer) const override=0 |
| Write this object to a network connection. More... | |
| virtual Type | getType () const |
Public Member Functions inherited from yarp::os::PortReader | |
| virtual | ~PortReader () |
| Destructor. More... | |
| virtual Type | getReadType () const |
Public Member Functions inherited from yarp::os::PortWriter | |
| virtual | ~PortWriter () |
| Destructor. More... | |
| virtual void | onCompletion () const |
| This is called when the port has finished all writing operations. More... | |
| virtual void | onCommencement () const |
| This is called when the port is about to begin writing operations. More... | |
| virtual yarp::os::Type | getWriteType () const |
Definition at line 19 of file PortablePair.h.
|
static |
Reads an object pair from a network connection.
| connection | an interface to the network connection for reading |
| head | the first object |
| body | the second object |
Definition at line 16 of file PortablePair.cpp.
|
static |
Writes an object pair to a network connection.
| connection | an interface to the network connection for writing |
| head | the first object |
| body | the second object |
Definition at line 40 of file PortablePair.cpp.