diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-05-10 20:48:14 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-05-10 20:48:14 (GMT) |
commit | a33a96fd7aee6d53f663102c56236e91d77f53a7 (patch) | |
tree | 3a27a07f8f4eeddd233b2bb8ed9a5c43c36077c6 /src/uscxml/plugins/invoker | |
parent | 5083ea697c263a507341c98c5dadbb23953bd4fb (diff) | |
download | uscxml-a33a96fd7aee6d53f663102c56236e91d77f53a7.zip uscxml-a33a96fd7aee6d53f663102c56236e91d77f53a7.tar.gz uscxml-a33a96fd7aee6d53f663102c56236e91d77f53a7.tar.bz2 |
Fixed issue 114
Diffstat (limited to 'src/uscxml/plugins/invoker')
-rw-r--r-- | src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp b/src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp index 1248205..44af2dd 100644 --- a/src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp +++ b/src/uscxml/plugins/invoker/scxml/USCXMLInvoker.cpp @@ -19,7 +19,7 @@ #include "USCXMLInvoker.h" #include "uscxml/util/DOM.h" - +#include "uscxml/interpreter/LoggingImpl.h" #ifdef BUILD_AS_PLUGINS #include <Pluma/Connector.hpp> @@ -191,6 +191,11 @@ void USCXMLInvoker::invoke(const std::string& source, const Event& invokeEvent) al.internalQueue = alOrig->internalQueue.getImplBase()->create(); al.externalQueue = alOrig->externalQueue.getImplBase()->create(); al.microStepper = alOrig->microStepper.getImpl()->create(invoked); + /** + * TODO: Do we want a clone of the logger or the same instance? + */ + al.logger = alOrig->logger.getImpl()->create(); + // Note: we do not create a new instance from the existing datamodel as it may be of a different type _invokedInterpreter.setActionLanguage(al); } |