YARP
Yet Another Robot Platform
yarp::rosmsg::geometry_msgs::Transform Class Reference

#include <yarp/rosmsg/geometry_msgs/Transform.h>

+ Inheritance diagram for yarp::rosmsg::geometry_msgs::Transform:

Public Types

typedef yarp::os::idl::BareStyle< yarp::rosmsg::geometry_msgs::TransformrosStyle
 
typedef yarp::os::idl::BottleStyle< yarp::rosmsg::geometry_msgs::TransformbottleStyle
 

Public Member Functions

 Transform ()
 
void clear ()
 
bool readBare (yarp::os::ConnectionReader &connection) override
 
bool readBottle (yarp::os::ConnectionReader &connection) override
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection. More...
 
bool writeBare (yarp::os::ConnectionWriter &connection) const override
 
bool writeBottle (yarp::os::ConnectionWriter &connection) const override
 
bool write (yarp::os::ConnectionWriter &connection) const override
 Write this object to a network connection. More...
 
yarp::os::Type getType () const override
 
- Public Member Functions inherited from yarp::os::idl::WirePortable
virtual bool read (yarp::os::idl::WireReader &reader)
 
virtual bool write (const yarp::os::idl::WireWriter &writer) 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
 

Public Attributes

yarp::rosmsg::geometry_msgs::Vector3 translation
 
yarp::rosmsg::geometry_msgs::Quaternion rotation
 

Static Public Attributes

static constexpr const char * typeName = "geometry_msgs/Transform"
 
static constexpr const char * typeChecksum = "ac9eff44abf714214112b05d54a3cf9b"
 
static constexpr const char * typeText
 

Additional Inherited Members

- 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...
 

Detailed Description

Definition at line 31 of file Transform.h.

Member Typedef Documentation

◆ bottleStyle

◆ rosStyle

Constructor & Destructor Documentation

◆ Transform()

yarp::rosmsg::geometry_msgs::Transform::Transform ( )
inline

Definition at line 37 of file Transform.h.

Member Function Documentation

◆ clear()

void yarp::rosmsg::geometry_msgs::Transform::clear ( )
inline

Definition at line 43 of file Transform.h.

◆ getType()

yarp::os::Type yarp::rosmsg::geometry_msgs::Transform::getType ( ) const
inlineoverridevirtual

Reimplemented from yarp::os::Portable.

Definition at line 176 of file Transform.h.

◆ read()

bool yarp::rosmsg::geometry_msgs::Transform::read ( yarp::os::ConnectionReader reader)
inlineoverridevirtual

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

Implements yarp::os::Portable.

Definition at line 89 of file Transform.h.

◆ readBare()

bool yarp::rosmsg::geometry_msgs::Transform::readBare ( yarp::os::ConnectionReader connection)
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 52 of file Transform.h.

◆ readBottle()

bool yarp::rosmsg::geometry_msgs::Transform::readBottle ( yarp::os::ConnectionReader connection)
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 67 of file Transform.h.

◆ write()

bool yarp::rosmsg::geometry_msgs::Transform::write ( yarp::os::ConnectionWriter writer) const
inlineoverridevirtual

Write this object to a network connection.

Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write

Parameters
writeran interface to the network connection for writing
Returns
true iff the object is successfully written

Implements yarp::os::Portable.

Definition at line 130 of file Transform.h.

◆ writeBare()

bool yarp::rosmsg::geometry_msgs::Transform::writeBare ( yarp::os::ConnectionWriter connection) const
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 95 of file Transform.h.

◆ writeBottle()

bool yarp::rosmsg::geometry_msgs::Transform::writeBottle ( yarp::os::ConnectionWriter connection) const
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 110 of file Transform.h.

Member Data Documentation

◆ rotation

yarp::rosmsg::geometry_msgs::Quaternion yarp::rosmsg::geometry_msgs::Transform::rotation

Definition at line 35 of file Transform.h.

◆ translation

yarp::rosmsg::geometry_msgs::Vector3 yarp::rosmsg::geometry_msgs::Transform::translation

Definition at line 34 of file Transform.h.

◆ typeChecksum

constexpr const char* yarp::rosmsg::geometry_msgs::Transform::typeChecksum = "ac9eff44abf714214112b05d54a3cf9b"
staticconstexpr

Definition at line 145 of file Transform.h.

◆ typeName

constexpr const char* yarp::rosmsg::geometry_msgs::Transform::typeName = "geometry_msgs/Transform"
staticconstexpr

Definition at line 142 of file Transform.h.

◆ typeText

constexpr const char* yarp::rosmsg::geometry_msgs::Transform::typeText
staticconstexpr
Initial value:
= "\
# This represents the transform between two coordinate frames in free space.\n\
\n\
Vector3 translation\n\
Quaternion rotation\n\
\n\
================================================================================\n\
MSG: geometry_msgs/Vector3\n\
# This represents a vector in free space. \n\
# It is only meant to represent a direction. Therefore, it does not\n\
# make sense to apply a translation to it (e.g., when applying a \n\
# generic rigid transformation to a Vector3, tf2 will only apply the\n\
# rotation). If you want your data to be translatable too, use the\n\
# geometry_msgs/Point message instead.\n\
\n\
float64 x\n\
float64 y\n\
float64 z\n\
================================================================================\n\
MSG: geometry_msgs/Quaternion\n\
# This represents an orientation in free space in quaternion form.\n\
\n\
float64 x\n\
float64 y\n\
float64 z\n\
float64 w\n\
"

Definition at line 148 of file Transform.h.


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