Helper functions for universally unique identifiers and messages. More...
#include <string>#include <boost/uuid/uuid.hpp>#include <boost/uuid/uuid_io.hpp>#include <ros/ros.h>#include <uuid_msgs/UniqueID.h>#include <unique_id/impl/unique_id.h>

Go to the source code of this file.
Namespaces | |
| namespace | unique_id |
C++ namespace for unique_id helper functions. | |
Functions | |
| static boost::uuids::uuid | unique_id::fromHexString (std::string const &str) |
| Generate UUID from canonical hex string. | |
| static boost::uuids::uuid | unique_id::fromMsg (uuid_msgs::UniqueID const &msg) |
| Create UUID object from UniqueID message. | |
| static boost::uuids::uuid | unique_id::fromRandom (void) |
| Generate a random UUID object. | |
| static boost::uuids::uuid | unique_id::fromTime (ros::Time timestamp, uint64_t hw_addr) |
| Generate a Time Based UUID object. Users are recommended to seed the random number generator using srand from the calling application to generate the clock_id. | |
| static boost::uuids::uuid | unique_id::fromURL (std::string const &url) |
| Generate UUID from Uniform Resource Identifier. | |
| static std::string | unique_id::toHexString (boost::uuids::uuid const &uu) |
| Get the canonical string representation for a boost UUID. | |
| static std::string | unique_id::toHexString (uuid_msgs::UniqueID const &msg) |
| Get the canonical string representation for a UniqueID message. | |
| static uuid_msgs::UniqueID | unique_id::toMsg (boost::uuids::uuid const &uu) |
| Create a UniqueID message from a UUID object. | |
Helper functions for universally unique identifiers and messages.
Definition in file unique_id.h.