summaryrefslogtreecommitdiffstats
path: root/src/uscxml/interpreter/MicroStep.cpp
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-01-13 16:47:44 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-01-13 16:47:44 (GMT)
commit4f6cbe9e7aec2b4a6c8f286f9097abfb011a6235 (patch)
tree8c023473bb342780ddf51a893d18369f1319bb5c /src/uscxml/interpreter/MicroStep.cpp
parent0aa0fe08dc308c94379c47d0bf9745e341cb4c81 (diff)
downloaduscxml-4f6cbe9e7aec2b4a6c8f286f9097abfb011a6235.zip
uscxml-4f6cbe9e7aec2b4a6c8f286f9097abfb011a6235.tar.gz
uscxml-4f6cbe9e7aec2b4a6c8f286f9097abfb011a6235.tar.bz2
First support for serialization and some bug fixes for DOM per data.src
Diffstat (limited to 'src/uscxml/interpreter/MicroStep.cpp')
-rw-r--r--src/uscxml/interpreter/MicroStep.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/uscxml/interpreter/MicroStep.cpp b/src/uscxml/interpreter/MicroStep.cpp
index 896c92a..e5de1dc 100644
--- a/src/uscxml/interpreter/MicroStep.cpp
+++ b/src/uscxml/interpreter/MicroStep.cpp
@@ -44,6 +44,14 @@ void MicroStep::markAsCancelled() {
_impl->markAsCancelled();
}
+void MicroStep::deserialize(const Data& encodedState) {
+ _impl->deserialize(encodedState);
+}
+
+Data MicroStep::serialize() {
+ return _impl->serialize();
+}
+
std::shared_ptr<MicroStepImpl> MicroStep::getImpl() const {
return _impl;
}