|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
17 #ifndef YARP_ROSMSG_diagnostic_msgs_KeyValue_h
18 #define YARP_ROSMSG_diagnostic_msgs_KeyValue_h
143 static constexpr
const char*
typeName =
"diagnostic_msgs/KeyValue";
146 static constexpr
const char*
typeChecksum =
"cf57fdc6617a881a88c16e768132149c";
150 string key # what to label this value when viewing\n\
151 string value # a value to track over time\n\
167 #endif // YARP_ROSMSG_diagnostic_msgs_KeyValue_h
bool readString(std::string &str, bool *is_vocab=nullptr)
bool writeBare(yarp::os::ConnectionWriter &connection) const override
static constexpr const char * typeText
yarp::os::Type getType() const override
yarp::os::idl::BottleStyle< yarp::rosmsg::diagnostic_msgs::KeyValue > bottleStyle
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool isBareMode() const =0
Check if the connection is bare mode.
#define BOTTLE_TAG_STRING
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
virtual bool isError() const =0
static constexpr const char * typeName
static Type byName(const char *name)
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
bool readBare(yarp::os::ConnectionReader &connection) override
Type & addProperty(const char *key, const Value &val)
An interface for writing to a network connection.
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
virtual bool isError() const =0
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
bool readBottle(yarp::os::ConnectionReader &connection) 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.
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.
yarp::os::idl::BareStyle< yarp::rosmsg::diagnostic_msgs::KeyValue > rosStyle
static constexpr const char * typeChecksum
IDL-friendly connection reader.
An interface for reading from a network connection.
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.
A single value (typically within a Bottle).
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool write(const yarp::os::idl::WireWriter &writer) const