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

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.

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 Thu Jun 6 2019 20:57:45