|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
30 #ifndef YARP_ROSMSG_sensor_msgs_PointField_h
31 #define YARP_ROSMSG_sensor_msgs_PointField_h
46 static const std::uint8_t
INT8 = 1;
47 static const std::uint8_t
UINT8 = 2;
48 static const std::uint8_t
INT16 = 3;
49 static const std::uint8_t
UINT16 = 4;
50 static const std::uint8_t
INT32 = 5;
51 static const std::uint8_t
UINT32 = 6;
208 static constexpr
const char*
typeName =
"sensor_msgs/PointField";
211 static constexpr
const char*
typeChecksum =
"268eacb2962780ceac86cbd17e328150";
215 # This message holds the description of one point entry in the\n\
216 # PointCloud2 message format.\n\
226 string name # Name of field\n\
227 uint32 offset # Offset from start of point struct\n\
228 uint8 datatype # Datatype enumeration, see above\n\
229 uint32 count # How many elements in the field\n\
245 #endif // YARP_ROSMSG_sensor_msgs_PointField_h
static const std::uint8_t FLOAT32
bool readBottle(yarp::os::ConnectionReader &connection) override
bool readString(std::string &str, bool *is_vocab=nullptr)
bool writeBare(yarp::os::ConnectionWriter &connection) const override
static const std::uint8_t INT8
virtual bool read(yarp::os::idl::WireReader &reader)
virtual void appendInt8(std::int8_t data)=0
Send a representation of a 8-bit integer to the network connection.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
#define BOTTLE_TAG_STRING
static const std::uint8_t FLOAT64
yarp::os::Type getType() const override
static const std::uint8_t UINT32
virtual std::int8_t expectInt8()=0
Read a 8-bit integer from the network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool isError() const =0
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
static Type byName(const char *name)
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
Type & addProperty(const char *key, const Value &val)
static const std::uint8_t UINT8
An interface for writing to a network connection.
yarp::os::idl::BareStyle< yarp::rosmsg::sensor_msgs::PointField > rosStyle
virtual bool isError() const =0
static const std::uint8_t UINT16
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
static constexpr const char * typeText
static const std::uint8_t INT32
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
yarp::os::idl::BottleStyle< yarp::rosmsg::sensor_msgs::PointField > bottleStyle
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
virtual void appendInt32(std::int32_t data)=0
Send a representation of a 32-bit integer to the network connection.
bool readBare(yarp::os::ConnectionReader &connection) override
IDL-friendly connection reader.
An interface for reading from a network connection.
static constexpr const char * typeChecksum
std::int32_t expectInt32()
The main, catch-all namespace for YARP.
virtual void appendExternalBlock(const char *data, size_t len)=0
Send a block of data to the network connection, without making a copy.
virtual bool expectBlock(char *data, size_t len)=0
Read a block of data from the network connection.
static const std::uint8_t INT16
A single value (typically within a Bottle).
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * typeName
virtual bool write(const yarp::os::idl::WireWriter &writer) const