|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
22 #ifndef YARP_ROSMSG_sensor_msgs_TimeReference_h
23 #define YARP_ROSMSG_sensor_msgs_TimeReference_h
174 static constexpr
const char*
typeName =
"sensor_msgs/TimeReference";
177 static constexpr
const char*
typeChecksum =
"fded64a0265108ba86c3d38fb11c0c16";
181 # Measurement from an external time source not actively synchronized with the system clock.\n\
183 Header header # stamp is system time for which measurement was valid\n\
184 # frame_id is not used \n\
186 time time_ref # corresponding time from this external source\n\
187 string source # (optional) name of time source\n\
189 ================================================================================\n\
190 MSG: std_msgs/Header\n\
191 # Standard metadata for higher-level stamped data types.\n\
192 # This is generally used to communicate timestamped data \n\
193 # in a particular coordinate frame.\n\
195 # sequence ID: consecutively increasing ID \n\
197 #Two-integer timestamp that is expressed as:\n\
198 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
199 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
200 # time-handling sugar is provided by the client library\n\
202 #Frame this data is associated with\n\
221 #endif // YARP_ROSMSG_sensor_msgs_TimeReference_h
bool readString(std::string &str, bool *is_vocab=nullptr)
yarp::rosmsg::TickTime time_ref
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool isBareMode() const =0
Check if the connection is bare mode.
yarp::rosmsg::std_msgs::Header header
#define BOTTLE_TAG_STRING
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
static constexpr const char * typeText
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * typeName
static constexpr const char * typeChecksum
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)
bool readBare(yarp::os::ConnectionReader &connection) override
yarp::os::idl::BareStyle< yarp::rosmsg::sensor_msgs::TimeReference > rosStyle
An interface for writing to a network connection.
yarp::os::idl::BottleStyle< yarp::rosmsg::sensor_msgs::TimeReference > bottleStyle
virtual bool isError() const =0
yarp::os::Type getType() const override
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.
bool readBottle(yarp::os::ConnectionReader &connection) override
The main, catch-all namespace for YARP.
bool writeBare(yarp::os::ConnectionWriter &connection) const override
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
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