Base class for generic things. More...
#include <yarp/os/Things.h>
Public Member Functions | |
Things () | |
virtual | ~Things () |
void | setPortWriter (yarp::os::PortWriter *writer) |
Set the reference to a PortWriter object. More... | |
yarp::os::PortWriter * | getPortWriter () |
void | setPortReader (yarp::os::PortReader *reader) |
Set the reference to a PortReader object. More... | |
yarp::os::PortReader * | getPortReader () |
bool | setConnectionReader (yarp::os::ConnectionReader &reader) |
set a reference to a ConnectionReader More... | |
bool | write (yarp::os::ConnectionWriter &connection) |
void | reset () |
bool | hasBeenRead () |
template<typename T > | |
T * | cast_as () |
Things::Things | ( | ) |
Definition at line 15 of file Things.cpp.
|
virtual |
Definition at line 24 of file Things.cpp.
|
inline |
yarp::os::PortReader * Things::getPortReader | ( | ) |
Definition at line 44 of file Things.cpp.
yarp::os::PortWriter * Things::getPortWriter | ( | ) |
Definition at line 34 of file Things.cpp.
bool Things::hasBeenRead | ( | ) |
Definition at line 78 of file Things.cpp.
void Things::reset | ( | ) |
Definition at line 68 of file Things.cpp.
bool Things::setConnectionReader | ( | yarp::os::ConnectionReader & | reader | ) |
set a reference to a ConnectionReader
Definition at line 49 of file Things.cpp.
void Things::setPortReader | ( | yarp::os::PortReader * | reader | ) |
Set the reference to a PortReader object.
Definition at line 39 of file Things.cpp.
void Things::setPortWriter | ( | yarp::os::PortWriter * | writer | ) |
Set the reference to a PortWriter object.
Definition at line 29 of file Things.cpp.
bool Things::write | ( | yarp::os::ConnectionWriter & | connection | ) |
Definition at line 57 of file Things.cpp.