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()

virtual bool yarp::os::PortReader::read ( ConnectionReader reader)
pure virtual

Read this object from a network connection.

Override this for your particular class.

Parameters
readeran interface to the network connection for reading
Returns
true iff the object is successfully read

Implemented in jointData::Editor, yarp::os::Property, yarp::rosmsg::visualization_msgs::Marker, yarp::rosmsg::sensor_msgs::CameraInfo, yarp::os::impl::PortCore, yarp::os::Value, yarp::rosmsg::sensor_msgs::BatteryState, SensorRPCData::Editor, yarp::os::Bottle, yarp::sig::Matrix, yarp::sig::Image, yarp::rosmsg::visualization_msgs::ImageMarker, yarp::rosmsg::visualization_msgs::InteractiveMarkerControl, SensorStreamingData::Editor, yarp::dev::MapGrid2D, yarp::sig::PointCloud< T >, yarp::rosmsg::visualization_msgs::InteractiveMarkerFeedback, yarp::os::Node::Helper, yarp::rosmsg::sensor_msgs::MultiEchoLaserScan, yarp::rosmsg::sensor_msgs::LaserScan, yarp::rosmsg::sensor_msgs::PointCloud2, yarp::rosmsg::visualization_msgs::InteractiveMarkerUpdate, yarp::rosmsg::sensor_msgs::Imu, yarp::rosmsg::sensor_msgs::NavSatFix, yarp::rosmsg::visualization_msgs::InteractiveMarker, PingSampler, yarp::rosmsg::sensor_msgs::MultiDOFJointState, yarp::rosmsg::sensor_msgs::JointState, yarp::rosmsg::stereo_msgs::DisparityImage, yarp::rosmsg::visualization_msgs::MenuEntry, yarp::rosmsg::sensor_msgs::Image, yarp::dev::DeviceResponder, yarp::dev::ServerInertial, yarp::rosmsg::diagnostic_msgs::DiagnosticStatus, yarp::rosmsg::sensor_msgs::Range, yarp::rosmsg::trajectory_msgs::JointTrajectoryPoint, yarp::rosmsg::shape_msgs::SolidPrimitive, yarp::rosmsg::geometry_msgs::Inertia, yarp::math::Quaternion, yarp::rosmsg::trajectory_msgs::MultiDOFJointTrajectoryPoint, SensorMetadata::Editor, yarp::dev::ServerSoundGrabber, yarp::rosmsg::actionlib_msgs::GoalStatus, yarp::rosmsg::sensor_msgs::PointField, SensorMeasurement::Editor, yarp::rosmsg::sensor_msgs::PointCloud, yarp::rosmsg::trajectory_msgs::MultiDOFJointTrajectory, yarp::os::ManagedBytes, yarp::dev::FrameTransformClient, yarp::rosmsg::nav_msgs::MapMetaData, yarp::rosmsg::sensor_msgs::MagneticField, yarp::rosmsg::sensor_msgs::RegionOfInterest, yarp::rosmsg::trajectory_msgs::JointTrajectory, SensorMeasurements::Editor, yarp::rosmsg::nav_msgs::Odometry, yarp::rosmsg::nav_msgs::GridCells, yarp::rosmsg::visualization_msgs::InteractiveMarkerInit, yarp::rosmsg::sensor_msgs::CompressedImage, yarp::rosmsg::sensor_msgs::NavSatStatus, yarp::rosmsg::nav_msgs::OccupancyGrid, yarp::rosmsg::sensor_msgs::Joy, yarp::rosmsg::std_msgs::MultiArrayLayout, yarp::rosmsg::sensor_msgs::ChannelFloat32, yarp::rosmsg::shape_msgs::Mesh, yarp::rosmsg::TickDuration, yarp::rosmsg::TickTime, yarp::rosmsg::geometry_msgs::TransformStamped, yarp::rosmsg::std_msgs::Header, yarp::rosmsg::tf2_msgs::TF2Error, yarp::rosmsg::sensor_msgs::Illuminance, yarp::rosmsg::visualization_msgs::InteractiveMarkerPose, yarp::rosmsg::sensor_msgs::JoyFeedback, yarp::rosmsg::sensor_msgs::TimeReference, jointData, yarp::rosmsg::diagnostic_msgs::SelfTestReply, yarp::rosmsg::nav_msgs::GetPlan, yarp::rosmsg::geometry_msgs::Quaternion, yarp::sig::Sound, yarp::rosmsg::geometry_msgs::AccelWithCovariance, yarp::rosmsg::geometry_msgs::PoseWithCovariance, yarp::rosmsg::geometry_msgs::TwistWithCovariance, yarp::rosmsg::sensor_msgs::FluidPressure, yarp::rosmsg::sensor_msgs::RelativeHumidity, yarp::rosmsg::actionlib_msgs::GoalStatusArray, yarp::rosmsg::geometry_msgs::PoseArray, yarp::rosmsg::std_msgs::ColorRGBA, yarp::rosmsg::nav_msgs::Path, yarp::rosmsg::diagnostic_msgs::DiagnosticArray, yarp::rosmsg::sensor_msgs::Temperature, yarp::rosmsg::diagnostic_msgs::AddDiagnostics, yarp::rosmsg::std_msgs::ByteMultiArray, yarp::rosmsg::std_msgs::Float32MultiArray, yarp::rosmsg::std_msgs::Float64MultiArray, yarp::rosmsg::std_msgs::Int16MultiArray, yarp::rosmsg::std_msgs::Int32MultiArray, yarp::rosmsg::std_msgs::Int64MultiArray, yarp::rosmsg::std_msgs::Int8MultiArray, yarp::rosmsg::std_msgs::UInt16MultiArray, yarp::rosmsg::std_msgs::UInt32MultiArray, yarp::rosmsg::std_msgs::UInt64MultiArray, yarp::rosmsg::std_msgs::UInt8MultiArray, yarp::rosmsg::actionlib_msgs::GoalID, yarp::rosmsg::geometry_msgs::Point32, yarp::rosmsg::geometry_msgs::Vector3, yarp::rosmsg::std_msgs::MultiArrayDimension, yarp::rosmsg::nav_msgs::SetMap, yarp::rosmsg::geometry_msgs::Point, yarp::rosmsg::geometry_msgs::Pose2D, yarp::rosmsg::diagnostic_msgs::KeyValue, yarp::rosmsg::geometry_msgs::PoseWithCovarianceStamped, yarp::rosmsg::geometry_msgs::QuaternionStamped, yarp::rosmsg::geometry_msgs::Transform, yarp::rosmsg::geometry_msgs::AccelStamped, yarp::rosmsg::geometry_msgs::AccelWithCovarianceStamped, yarp::rosmsg::geometry_msgs::PointStamped, yarp::rosmsg::geometry_msgs::PolygonStamped, yarp::rosmsg::geometry_msgs::Pose, yarp::rosmsg::geometry_msgs::PoseStamped, yarp::rosmsg::geometry_msgs::TwistStamped, yarp::rosmsg::geometry_msgs::TwistWithCovarianceStamped, yarp::rosmsg::geometry_msgs::Vector3Stamped, yarp::rosmsg::geometry_msgs::Wrench, yarp::rosmsg::geometry_msgs::WrenchStamped, yarp::rosmsg::geometry_msgs::Accel, yarp::rosmsg::geometry_msgs::InertiaStamped, yarp::rosmsg::geometry_msgs::Twist, yarp::rosmsg::shape_msgs::Plane, yarp::os::Stamp, yarp::rosmsg::diagnostic_msgs::AddDiagnosticsReply, yarp::rosmsg::sensor_msgs::SetCameraInfoReply, yarp::rosmsg::geometry_msgs::Polygon, yarp::rosmsg::sensor_msgs::JoyFeedbackArray, yarp::rosmsg::sensor_msgs::SetCameraInfo, yarp::rosmsg::tf::tfMessage, yarp::rosmsg::tf2_msgs::TFMessage, yarp::rosmsg::visualization_msgs::MarkerArray, yarp::os::impl::Storable, yarp::rosmsg::sensor_msgs::LaserEcho, yarp::rosmsg::shape_msgs::MeshTriangle, yarp::os::impl::PortCoreAdapter, yarp::rosmsg::std_msgs::String, yarp::rosmsg::std_msgs::Duration, yarp::rosmsg::std_msgs::Time, yarp::rosmsg::tf::FrameGraphReply, yarp::rosmsg::tf2_msgs::FrameGraphReply, yarp::rosmsg::nav_msgs::GetMapReply, yarp::rosmsg::nav_msgs::GetPlanReply, SensorRPCData, SensorStreamingData, yarp::rosmsg::std_msgs::Bool, yarp::rosmsg::nav_msgs::SetMapReply, RosSlave, yarp::os::PortablePair< HEAD, BODY >, yarp::rosmsg::std_msgs::Byte, yarp::rosmsg::std_msgs::Int16, yarp::rosmsg::std_msgs::Int8, yarp::rosmsg::std_msgs::UInt16, yarp::rosmsg::std_msgs::UInt8, yarp::rosmsg::std_msgs::Char, yarp::rosmsg::std_msgs::Float32, yarp::rosmsg::std_msgs::Float64, yarp::rosmsg::std_msgs::Int32, yarp::rosmsg::std_msgs::Int64, yarp::rosmsg::std_msgs::UInt32, yarp::rosmsg::std_msgs::UInt64, yarp::dev::RobotDescriptionServer, yarp::sig::VectorBase, yarp::rosmsg::diagnostic_msgs::SelfTest, yarp::rosmsg::nav_msgs::GetMap, yarp::rosmsg::tf::FrameGraph, yarp::rosmsg::tf2_msgs::FrameGraph, yarp::sig::PointCloudBase, yarp::math::Vec2D< T >, yarp::rosmsg::std_msgs::Empty, yarp::math::Vec2D< T >, SensorMetadata, yarp::os::PortReaderBufferBase, SensorMeasurement, yarp::os::impl::PortCommand, yarp::name::NameServerConnectionHandler, SensorMeasurements, yarp::os::idl::UnwrappedView< T >, RFModuleRespondHandler, yarp::os::BinPortable< T >, yarp::os::SystemInfoSerializer, yarp::os::NetworkClock::Private, JoyData, yarp::math::Vec2D< T >, yarp::os::Portable, MultipleAnalogSensorsMetadata, yarp::os::idl::Unwrapped< T >, and MultipleAnalogSensorsMetadata_getMetadata.


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