summaryrefslogtreecommitdiffstats
path: root/src/uscxml/UUID.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-09-18 15:39:30 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-09-18 15:39:30 (GMT)
commit8dde1311719b29c63efb379566916cb1aa9a7cd7 (patch)
tree6849ab145936ea5a2bebee5b64e69c4d226c3810 /src/uscxml/UUID.cpp
parent7938e286967597c7168b855b7e3fdfbd9b949e0e (diff)
downloaduscxml-8dde1311719b29c63efb379566916cb1aa9a7cd7.zip
uscxml-8dde1311719b29c63efb379566916cb1aa9a7cd7.tar.gz
uscxml-8dde1311719b29c63efb379566916cb1aa9a7cd7.tar.bz2
Work on FFMpegInvoker
Diffstat (limited to 'src/uscxml/UUID.cpp')
-rw-r--r--src/uscxml/UUID.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/uscxml/UUID.cpp b/src/uscxml/UUID.cpp
new file mode 100644
index 0000000..eac4316
--- /dev/null
+++ b/src/uscxml/UUID.cpp
@@ -0,0 +1,14 @@
+#include "UUID.h"
+#include <sstream>
+
+namespace uscxml {
+boost::uuids::random_generator UUID::uuidGen;
+
+std::string UUID::getUUID() {
+ boost::uuids::uuid uuid = uuidGen();
+ std::ostringstream os;
+ os << uuid;
+ return os.str();
+}
+
+} \ No newline at end of file