#include <yarp/rosmsg/geometry_msgs/Polygon.h>
Public Types | |
typedef yarp::os::idl::BareStyle< yarp::rosmsg::geometry_msgs::Polygon > | rosStyle |
typedef yarp::os::idl::BottleStyle< yarp::rosmsg::geometry_msgs::Polygon > | bottleStyle |
Public Member Functions | |
Polygon () | |
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. | |
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. | |
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. | |
virtual Type | getReadType () const |
Public Member Functions inherited from yarp::os::PortWriter | |
virtual | ~PortWriter () |
Destructor. | |
virtual void | onCompletion () const |
This is called when the port has finished all writing operations. | |
virtual void | onCommencement () const |
This is called when the port is about to begin writing operations. | |
virtual yarp::os::Type | getWriteType () const |
Public Attributes | |
std::vector< yarp::rosmsg::geometry_msgs::Point32 > | points |
Static Public Attributes | |
static constexpr const char * | typeName = "geometry_msgs/Polygon" |
static constexpr const char * | typeChecksum = "cd60a26494a087f577976f0329fa120e" |
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. | |
|
inline |
|
inlineoverridevirtual |
Reimplemented from yarp::os::Portable.
|
inlineoverridevirtual |
Read this object from a network connection.
Override this for your particular class.
reader | an interface to the network connection for reading |
Implements yarp::os::Portable.
|
inlineoverridevirtual |
Reimplemented from yarp::os::idl::WirePortable.
|
inlineoverridevirtual |
Reimplemented from yarp::os::idl::WirePortable.
|
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
writer | an interface to the network connection for writing |
Implements yarp::os::Portable.
|
inlineoverridevirtual |
Reimplemented from yarp::os::idl::WirePortable.
|
inlineoverridevirtual |
Reimplemented from yarp::os::idl::WirePortable.
std::vector<yarp::rosmsg::geometry_msgs::Point32> yarp::rosmsg::geometry_msgs::Polygon::points |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |