|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
25 #ifndef YARP_ROSMSG_tf2_msgs_TF2Error_h
26 #define YARP_ROSMSG_tf2_msgs_TF2Error_h
164 static constexpr
const char*
typeName =
"tf2_msgs/TF2Error";
167 static constexpr
const char*
typeChecksum =
"bc6848fd6fd750c92e38575618a4917d";
171 uint8 NO_ERROR = 0\n\
172 uint8 LOOKUP_ERROR = 1\n\
173 uint8 CONNECTIVITY_ERROR = 2\n\
174 uint8 EXTRAPOLATION_ERROR = 3\n\
175 uint8 INVALID_ARGUMENT_ERROR = 4\n\
176 uint8 TIMEOUT_ERROR = 5\n\
177 uint8 TRANSFORM_ERROR = 6\n\
180 string error_string\n\
196 #endif // YARP_ROSMSG_tf2_msgs_TF2Error_h
bool readBare(yarp::os::ConnectionReader &connection) override
bool readString(std::string &str, bool *is_vocab=nullptr)
static const std::uint8_t INVALID_ARGUMENT_ERROR
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool read(yarp::os::idl::WireReader &reader)
static const std::uint8_t TIMEOUT_ERROR
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
yarp::os::Type getType() const override
static const std::uint8_t CONNECTIVITY_ERROR
virtual std::int8_t expectInt8()=0
Read a 8-bit integer from the network connection.
yarp::os::idl::BottleStyle< yarp::rosmsg::tf2_msgs::TF2Error > bottleStyle
virtual bool isError() const =0
static Type byName(const char *name)
bool readBottle(yarp::os::ConnectionReader &connection) override
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
static const std::uint8_t LOOKUP_ERROR
Type & addProperty(const char *key, const Value &val)
An interface for writing to a network connection.
virtual bool isError() const =0
yarp::os::idl::BareStyle< yarp::rosmsg::tf2_msgs::TF2Error > rosStyle
static constexpr const char * typeText
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
bool writeBare(yarp::os::ConnectionWriter &connection) const override
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.
static const std::uint8_t NO_ERROR
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.
IDL-friendly connection reader.
An interface for reading from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
The main, catch-all namespace for YARP.
static constexpr const char * typeChecksum
static constexpr const char * typeName
static const std::uint8_t EXTRAPOLATION_ERROR
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.
A single value (typically within a Bottle).
static const std::uint8_t TRANSFORM_ERROR
virtual bool write(const yarp::os::idl::WireWriter &writer) const