YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::os::TypedReader< T > Class Template Referenceabstract

A base class for sources of typed data. More...

#include <yarp/os/TypedReader.h>

Inherited by yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< DepthImage >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::BufferedPort< T >, and yarp::os::PortReaderBuffer< T >.

Public Member Functions

virtual void setStrict (bool strict=true)=0
 Call this to strictly keep all messages, or allow old ones to be quietly dropped.
 
virtual T * read (bool shouldWait=true)=0
 Read an available object from the port.
 
virtual void interrupt ()=0
 Abort any read operation currently in progress.
 
virtual T * lastRead ()=0
 Get the last data returned by read()
 
virtual bool isClosed ()=0
 Returns whether the port associated with this reader has been closed.
 
virtual void useCallback (TypedReaderCallback< T > &callback)=0
 Set an object whose onRead method will be called when data is available.
 
virtual void disableCallback ()=0
 Remove a callback set up with useCallback()
 
virtual int getPendingReads ()=0
 Check how many messages are waiting to be read.
 
virtual ~TypedReader ()=default
 Destructor.
 
virtual std::string getName () const =0
 Get name of port being read from.
 
virtual void setReplier (PortReader &reader)=0
 If a message is received that requires a reply, use this handler.
 
virtual voidacquire ()=0
 Take control of the last object read.
 
virtual void release (void *handle)=0
 Return control to YARP of an object previously taken control of with the acquire() method.
 
virtual void setTargetPeriod (double period)=0
 Try to provide data periodically.
 

Detailed Description

template<class T>
class yarp::os::TypedReader< T >

A base class for sources of typed data.

This could be a BufferedPort or a PortReaderBuffer.

Definition at line 21 of file TypedReader.h.

Constructor & Destructor Documentation

◆ ~TypedReader()

template<class T >
virtual yarp::os::TypedReader< T >::~TypedReader ( )
virtualdefault

Destructor.

Member Function Documentation

◆ acquire()

template<class T >
virtual void * yarp::os::TypedReader< T >::acquire ( )
pure virtual

Take control of the last object read.

YARP will not reuse that object until it is explicitly released by the user. Be careful - if you acquire objects without releasing, YARP will keep making new ones to store incoming messages. So you need to release all objects you acquire eventually to avoid running out of memory.

Returns
the handle to call release() with in order to give YARP back control of the last object read.

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ disableCallback()

template<class T >
virtual void yarp::os::TypedReader< T >::disableCallback ( )
pure virtual

Remove a callback set up with useCallback()

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ getName()

template<class T >
virtual std::string yarp::os::TypedReader< T >::getName ( ) const
pure virtual

Get name of port being read from.

Returns
name of port

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ getPendingReads()

template<class T >
virtual int yarp::os::TypedReader< T >::getPendingReads ( )
pure virtual

Check how many messages are waiting to be read.

Returns
number of pending messages

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ interrupt()

template<class T >
virtual void yarp::os::TypedReader< T >::interrupt ( )
pure virtual

Abort any read operation currently in progress.

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ isClosed()

template<class T >
virtual bool yarp::os::TypedReader< T >::isClosed ( )
pure virtual

Returns whether the port associated with this reader has been closed.

Returns
true if Port associated with this reader has been closed

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ lastRead()

template<class T >
virtual T * yarp::os::TypedReader< T >::lastRead ( )
pure virtual

Get the last data returned by read()

Returns
pointer to last data returned by read(), or nullptr on failure.

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ read()

template<class T >
virtual T * yarp::os::TypedReader< T >::read ( bool  shouldWait = true)
pure virtual

Read an available object from the port.

Parameters
shouldWaittrue if the method should wait until an object is available, false if the call should return immediately if no message is available
Returns
A pointer to an object read from the port, or nullptr if none is available and waiting was not requested. This object is owned by the communication system and should not be deleted by the user. The object is available to the user until the next call to one of the read methods, after which it should not be accessed again.

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ release()

template<class T >
virtual void yarp::os::TypedReader< T >::release ( void handle)
pure virtual

Return control to YARP of an object previously taken control of with the acquire() method.

Parameters
handlethe pointer returned by acquire() when control of the object was taken by the user.

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ setReplier()

template<class T >
virtual void yarp::os::TypedReader< T >::setReplier ( PortReader reader)
pure virtual

If a message is received that requires a reply, use this handler.

No buffering happens.

Parameters
readerthe handler to use

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ setStrict()

template<class T >
virtual void yarp::os::TypedReader< T >::setStrict ( bool  strict = true)
pure virtual

Call this to strictly keep all messages, or allow old ones to be quietly dropped.

If you don't call this, old messages will be quietly dropped.

Parameters
strictTrue to keep all messages until they are read, false to drop old messages when a new one comes in.
Warning
If you can't read them as fast as the come in, watch out.

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ setTargetPeriod()

template<class T >
virtual void yarp::os::TypedReader< T >::setTargetPeriod ( double  period)
pure virtual

Try to provide data periodically.

If no new data arrives in a given period, repeat the last data received (if any). Similarly, the port should not pass on data more frequently than the given period.

Parameters
periodtarget period in (fractional) seconds.

Implemented in yarp::os::BufferedPort< T >, yarp::os::BufferedPort< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::BufferedPort< yarp::sig::VectorOf >, yarp::os::PortReaderBuffer< T >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::PortReaderBuffer< SensorStreamingData >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.

◆ useCallback()

template<class T >
virtual void yarp::os::TypedReader< T >::useCallback ( TypedReaderCallback< T > &  callback)
pure virtual

Set an object whose onRead method will be called when data is available.

Parameters
callbackthe object whose onRead method will be called with data

Implemented in yarp::os::BufferedPort< DepthImage >, yarp::os::PortReaderBuffer< DepthImage >, yarp::os::BufferedPort< ImageType >, yarp::os::PortReaderBuffer< ImageType >, yarp::os::BufferedPort< JoyData >, yarp::os::PortReaderBuffer< JoyData >, yarp::os::BufferedPort< return_getAllTransforms >, yarp::os::PortReaderBuffer< return_getAllTransforms >, yarp::os::BufferedPort< ROS_MSG >, yarp::os::PortReaderBuffer< ROS_MSG >, yarp::os::BufferedPort< SensorStreamingData >, yarp::os::PortReaderBuffer< SensorStreamingData >, JoypadControl::JoyPort< T >, yarp::os::BufferedPort< T >, yarp::os::PortReaderBuffer< T >, JoypadControl::JoyPort< VectorOf< unsigned char > >, yarp::os::BufferedPort< VectorOf< unsigned char > >, yarp::os::PortReaderBuffer< VectorOf< unsigned char > >, yarp::os::BufferedPort< yarp::dev::impl::jointData >, yarp::os::PortReaderBuffer< yarp::dev::impl::jointData >, yarp::os::BufferedPort< yarp::dev::LaserScan2D >, yarp::os::PortReaderBuffer< yarp::dev::LaserScan2D >, yarp::os::BufferedPort< yarp::dev::MobileBaseVelocity >, yarp::os::PortReaderBuffer< yarp::dev::MobileBaseVelocity >, yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation >, yarp::os::PortReaderBuffer< yarp::dev::Nav2D::Map2DLocation >, yarp::os::BufferedPort< yarp::dev::OdometryData >, yarp::os::PortReaderBuffer< yarp::dev::OdometryData >, yarp::os::BufferedPort< yarp::os::Bottle >, yarp::os::PortReaderBuffer< yarp::os::Bottle >, yarp::os::BufferedPort< yarp::os::PortablePair >, yarp::os::PortReaderBuffer< yarp::os::PortablePair >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::PoseStamped >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::Twist >, yarp::os::BufferedPort< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::PortReaderBuffer< yarp::rosmsg::geometry_msgs::WrenchStamped >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::MapMetaData >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::OccupancyGrid >, yarp::os::BufferedPort< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::PortReaderBuffer< yarp::rosmsg::nav_msgs::Odometry >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::CameraInfo >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Image >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Image >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Imu >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::JointState >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::LaserScan >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::MagneticField >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::PointCloud2 >, yarp::os::BufferedPort< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::PortReaderBuffer< yarp::rosmsg::sensor_msgs::Temperature >, yarp::os::BufferedPort< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::PortReaderBuffer< yarp::rosmsg::tf2_msgs::TFMessage >, yarp::os::BufferedPort< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::PortReaderBuffer< yarp::rosmsg::visualization_msgs::MarkerArray >, yarp::os::BufferedPort< yarp::sig::FlexImage >, yarp::os::PortReaderBuffer< yarp::sig::FlexImage >, yarp::os::BufferedPort< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::PortReaderBuffer< yarp::sig::ImageOf< yarp::sig::PixelFloat > >, yarp::os::BufferedPort< yarp::sig::Sound >, yarp::os::PortReaderBuffer< yarp::sig::Sound >, yarp::os::BufferedPort< yarp::sig::Vector >, yarp::os::PortReaderBuffer< yarp::sig::Vector >, JoypadControl::JoyPort< yarp::sig::VectorOf >, yarp::os::BufferedPort< yarp::sig::VectorOf >, and yarp::os::PortReaderBuffer< yarp::sig::VectorOf >.


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