diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-12-06 21:59:37 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-12-06 21:59:37 (GMT) |
commit | fc10986cdd35a7a5ce483682ca43f3c496e907c1 (patch) | |
tree | d3d2277f4033eabf3228c624bf006bb51d447a52 /src/uscxml/interpreter/BasicContentExecutor.cpp | |
parent | 53197953ce382a536bfef870efc4c3f1ccf0f180 (diff) | |
download | uscxml-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/BasicContentExecutor.cpp')
-rw-r--r-- | src/uscxml/interpreter/BasicContentExecutor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uscxml/interpreter/BasicContentExecutor.cpp b/src/uscxml/interpreter/BasicContentExecutor.cpp index 6b12afd..a2ebc5c 100644 --- a/src/uscxml/interpreter/BasicContentExecutor.cpp +++ b/src/uscxml/interpreter/BasicContentExecutor.cpp @@ -35,6 +35,10 @@ namespace uscxml { using namespace XERCESC_NS; +std::shared_ptr<ContentExecutorImpl> BasicContentExecutor::create(ContentExecutorCallbacks* callbacks) { + return std::shared_ptr<ContentExecutorImpl>(new BasicContentExecutor(callbacks)); +} + void BasicContentExecutor::processRaise(XERCESC_NS::DOMElement* content) { Event raised(ATTR(content, "event")); _callbacks->enqueueInternal(raised); |