diff options
-rw-r--r-- | src/uscxml/Interpreter.cpp | 14 | ||||
-rw-r--r-- | src/uscxml/Interpreter.h | 6 | ||||
-rw-r--r-- | src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp | 2 | ||||
-rw-r--r-- | src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp | 2 |
4 files changed, 12 insertions, 12 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp index 8c0b660..33d3b03 100644 --- a/src/uscxml/Interpreter.cpp +++ b/src/uscxml/Interpreter.cpp @@ -518,12 +518,12 @@ void InterpreterImpl::normalize(Arabica::DOM::Element<std::string>& scxml) { } void InterpreterImpl::receiveInternal(const Event& event) { - std::cout << "receiveInternal: " << event.name << std::endl; +// std::cout << "receiveInternal: " << event.name << std::endl; _internalQueue.push_back(event); } void InterpreterImpl::receive(const Event& event, bool toFront) { - std::cout << "receive: " << event.name << std::endl; +// std::cout << "receive: " << event.name << std::endl; if (toFront) { _externalQueue.push_front(event); } else { @@ -557,9 +557,9 @@ void InterpreterImpl::internalDoneSend(const Arabica::DOM::Node<std::string>& st } void InterpreterImpl::processContentElement(const Arabica::DOM::Node<std::string>& content, - Arabica::DOM::Document<std::string>& dom, - std::string& text, - Data& data) { + Arabica::DOM::Document<std::string>& dom, + std::string& text, + Data& data) { try { std::string contentToProcess; if (HAS_ATTR(content, "expr")) { @@ -587,7 +587,7 @@ void InterpreterImpl::processContentElement(const Arabica::DOM::Node<std::string } contentChild = contentChild.getNextSibling(); } - + if (contentChild && presentAsDom) { // use the whole dom DOMImplementation<std::string> domFactory = Arabica::SimpleDOM::DOMImplementation<std::string>::getDOMImplementation(); @@ -1280,7 +1280,7 @@ void InterpreterImpl::executeContent(const Arabica::DOM::Node<std::string>& cont } void InterpreterImpl::returnDoneEvent(const Arabica::DOM::Node<std::string>& state) { - std::cout << state << std::endl; +// std::cout << state << std::endl; if (_parentQueue != NULL) { Event done; done.name = "done.invoke." + _sessionId; diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h index 90540a7..141d630 100644 --- a/src/uscxml/Interpreter.h +++ b/src/uscxml/Interpreter.h @@ -268,9 +268,9 @@ protected: void executeContent(const Arabica::XPath::NodeSet<std::string>& content, bool rethrow = false); void processContentElement(const Arabica::DOM::Node<std::string>& element, - Arabica::DOM::Document<std::string>& dom, - std::string& text, - Data& data); + Arabica::DOM::Document<std::string>& dom, + std::string& text, + Data& data); void processParamChilds(const Arabica::DOM::Node<std::string>& element, std::multimap<std::string, std::string>& params); void send(const Arabica::DOM::Node<std::string>& element); diff --git a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp index fff3f9b..0146a31 100644 --- a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp +++ b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp @@ -99,7 +99,7 @@ v8::Handle<v8::Value> V8DataModel::getIOProcessors(v8::Local<v8::String> propert std::map<std::string, IOProcessor> ioProcessors = dataModel->_interpreter->getIOProcessors(); std::map<std::string, IOProcessor>::const_iterator ioProcIter = ioProcessors.begin(); while(ioProcIter != ioProcessors.end()) { - std::cout << ioProcIter->first << std::endl; +// std::cout << ioProcIter->first << std::endl; dataModel->_ioProcessors->Set(v8::String::New(ioProcIter->first.c_str()), dataModel->getDataAsValue(ioProcIter->second.getDataModelVariables())); ioProcIter++; diff --git a/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp b/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp index 786c196..1c7d8a5 100644 --- a/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp +++ b/src/uscxml/plugins/invoker/miles/MilesSessionInvoker.cpp @@ -37,7 +37,7 @@ Data MilesSessionInvoker::getDataModelVariables() { } void MilesSessionInvoker::send(const SendRequest& req) { - std::cout << req; +// std::cout << req; if (boost::iequals(req.name, "disconnect")) { std::string reflectorIP = req.params.find("reflectorip")->second; std::string problemName = req.params.find("problemname")->second; |