summaryrefslogtreecommitdiffstats
path: root/src/uscxml/interpreter/MicroStepImpl.h
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-12-06 21:59:37 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-12-06 21:59:37 (GMT)
commitfc10986cdd35a7a5ce483682ca43f3c496e907c1 (patch)
treed3d2277f4033eabf3228c624bf006bb51d447a52 /src/uscxml/interpreter/MicroStepImpl.h
parent53197953ce382a536bfef870efc4c3f1ccf0f180 (diff)
downloaduscxml-fc10986cdd35a7a5ce483682ca43f3c496e907c1.zip
uscxml-fc10986cdd35a7a5ce483682ca43f3c496e907c1.tar.gz
uscxml-fc10986cdd35a7a5ce483682ca43f3c496e907c1.tar.bz2
Use existing ActionLanguage to create new instances in invoked interpreters
Diffstat (limited to 'src/uscxml/interpreter/MicroStepImpl.h')
-rw-r--r--src/uscxml/interpreter/MicroStepImpl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uscxml/interpreter/MicroStepImpl.h b/src/uscxml/interpreter/MicroStepImpl.h
index 7d7c9b0..d831fdd 100644
--- a/src/uscxml/interpreter/MicroStepImpl.h
+++ b/src/uscxml/interpreter/MicroStepImpl.h
@@ -76,7 +76,8 @@ public:
};
MicroStepImpl(MicroStepCallbacks* callbacks) : _callbacks(callbacks) {}
-
+ virtual std::shared_ptr<MicroStepImpl> create(MicroStepCallbacks* callbacks) = 0;
+
virtual InterpreterState step(size_t blockMs) = 0;
virtual void reset() = 0; ///< Reset state machine
virtual bool isInState(const std::string& stateId) = 0;