summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r--src/uscxml/Interpreter.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h
index cf87fc4..c74736e 100644
--- a/src/uscxml/Interpreter.h
+++ b/src/uscxml/Interpreter.h
@@ -146,6 +146,16 @@ public:
void reset();
/**
+ * Deserialize the state for the interpreter from a string.
+ */
+ void deserialize(const std::string& encodedState);
+
+ /**
+ * Serialize the interpreter's state in a string.
+ */
+ std::string serialize();
+
+ /**
* Get all state elements that constitute the active configuration.
* @return A list of XML elements of the active states.
*/
@@ -182,6 +192,11 @@ public:
void setActionLanguage(ActionLanguage actionLanguage);
/**
+ * Return ActionLanguage with the instances actually used (i.e. those from the factory).
+ */
+ ActionLanguage getActionLanguage();
+
+ /**
* Provide a custom Factory to instantiate dynamic instances for this and invoked state-chart instances.
*/
void setFactory(Factory* factory);