|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
30 #ifndef YARP_ROSMSG_std_msgs_Header_h
31 #define YARP_ROSMSG_std_msgs_Header_h
174 static constexpr
const char*
typeName =
"std_msgs/Header";
177 static constexpr
const char*
typeChecksum =
"2176decaecbce78abc3b96ef049fabed";
181 # Standard metadata for higher-level stamped data types.\n\
182 # This is generally used to communicate timestamped data \n\
183 # in a particular coordinate frame.\n\
185 # sequence ID: consecutively increasing ID \n\
187 #Two-integer timestamp that is expressed as:\n\
188 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
189 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
190 # time-handling sugar is provided by the client library\n\
192 #Frame this data is associated with\n\
211 #endif // YARP_ROSMSG_std_msgs_Header_h
bool readString(std::string &str, bool *is_vocab=nullptr)
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool isBareMode() const =0
Check if the connection is bare mode.
#define BOTTLE_TAG_STRING
virtual bool isError() const =0
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)
An interface for writing to a network connection.
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.
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...
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
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.
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.
A single value (typically within a Bottle).
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
virtual bool write(const yarp::os::idl::WireWriter &writer) const