diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-01-13 16:47:44 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-01-13 16:47:44 (GMT) |
commit | 4f6cbe9e7aec2b4a6c8f286f9097abfb011a6235 (patch) | |
tree | 8c023473bb342780ddf51a893d18369f1319bb5c /src/uscxml/interpreter/MicroStepImpl.h | |
parent | 0aa0fe08dc308c94379c47d0bf9745e341cb4c81 (diff) | |
download | uscxml-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/MicroStepImpl.h')
-rw-r--r-- | src/uscxml/interpreter/MicroStepImpl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/uscxml/interpreter/MicroStepImpl.h b/src/uscxml/interpreter/MicroStepImpl.h index e3f8299..7ff9469 100644 --- a/src/uscxml/interpreter/MicroStepImpl.h +++ b/src/uscxml/interpreter/MicroStepImpl.h @@ -61,8 +61,9 @@ public: virtual Interpreter getInterpreter() = 0; virtual Logger getLogger() = 0; - /** Saved State */ + /** Cache Data */ virtual Data& getCache() = 0; + }; /** @@ -87,6 +88,9 @@ public: virtual void init(XERCESC_NS::DOMElement* scxml) = 0; virtual void markAsCancelled() = 0; + virtual void deserialize(const Data& encodedState) = 0; + virtual Data serialize() = 0; + protected: MicroStepCallbacks* _callbacks; |