summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/InvokerImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/plugins/InvokerImpl.h')
-rw-r--r--src/uscxml/plugins/InvokerImpl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/uscxml/plugins/InvokerImpl.h b/src/uscxml/plugins/InvokerImpl.h
index b000ce2..e0446e1 100644
--- a/src/uscxml/plugins/InvokerImpl.h
+++ b/src/uscxml/plugins/InvokerImpl.h
@@ -90,6 +90,19 @@ public:
_invokeId = invokeId;
}
+ /**
+ * Load a state from a Data object
+ * @param encodedState The state we returned somewhen else via serialize.
+ */
+ virtual void deserialize(const Data& encodedState) {}
+
+ /**
+ * Save our state into a Data object
+ */
+ virtual Data serialize() {
+ return Data();
+ }
+
protected:
/**
* Return an event to the SCXML Interpreter instance.