Namespaces | Functions
unique_id.h File Reference

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>
Include dependency graph for unique_id.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 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. More...
 
static boost::uuids::uuid unique_id::fromMsg (uuid_msgs::UniqueID const &msg)
 Create UUID object from UniqueID message. More...
 
static boost::uuids::uuid unique_id::fromRandom (void)
 Generate a random UUID object. More...
 
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. More...
 
static boost::uuids::uuid unique_id::fromURL (std::string const &url)
 Generate UUID from Uniform Resource Identifier. More...
 
static std::string unique_id::toHexString (boost::uuids::uuid const &uu)
 Get the canonical string representation for a boost UUID. More...
 
static std::string unique_id::toHexString (uuid_msgs::UniqueID const &msg)
 Get the canonical string representation for a UniqueID message. More...
 
static uuid_msgs::UniqueID unique_id::toMsg (boost::uuids::uuid const &uu)
 Create a UniqueID message from a UUID object. More...
 

Detailed Description

Helper functions for universally unique identifiers and messages.

Author
Jack O'Quin

Definition in file unique_id.h.



unique_id
Author(s): Jack O'Quin
autogenerated on Sat Dec 12 2020 03:08:50