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.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h
index 4b6d26a..6772a59 100644
--- a/src/uscxml/Interpreter.h
+++ b/src/uscxml/Interpreter.h
@@ -228,9 +228,10 @@ public:
virtual ~InterpreterImpl();
- void copyTo(InterpreterImpl* other);
- void copyTo(boost::shared_ptr<InterpreterImpl> other);
-
+ void cloneFrom(InterpreterImpl* other);
+ void cloneFrom(boost::shared_ptr<InterpreterImpl> other);
+ virtual void writeTo(std::ostream& stream);
+
// TODO: We need to move the destructor to the implementations to make these pure virtual
virtual InterpreterState interpret();
virtual InterpreterState step(int waitForMS = 0);
@@ -601,6 +602,10 @@ public:
return *this;
}
+ virtual void writeTo(std::ostream& stream) {
+ return _impl->writeTo(stream);
+ }
+
void reset() {
return _impl->reset();
}