diff options
Diffstat (limited to 'src/uscxml/plugins/invoker/modality/UmundoComponent.cpp')
-rw-r--r-- | src/uscxml/plugins/invoker/modality/UmundoComponent.cpp | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/src/uscxml/plugins/invoker/modality/UmundoComponent.cpp b/src/uscxml/plugins/invoker/modality/UmundoComponent.cpp deleted file mode 100644 index 10f23d4..0000000 --- a/src/uscxml/plugins/invoker/modality/UmundoComponent.cpp +++ /dev/null @@ -1,49 +0,0 @@ -#include "UmundoComponent.h" -#include "uscxml/Interpreter.h" - -namespace uscxml { - -UmundoComponent::UmundoComponent() { -} - - -UmundoComponent::~UmundoComponent() { - delete _invokedInterpreter; -}; - -Invoker* UmundoComponent::create(Interpreter* interpreter) { - UmundoComponent* invoker = new UmundoComponent(); - invoker->_parentInterpreter = interpreter; - return invoker; -} - -Data UmundoComponent::getDataModelVariables() { - Data data; - return data; -} - -void UmundoComponent::send(SendRequest& req) { - assert(false); -} - -void UmundoComponent::cancel(const std::string sendId) { - assert(false); -} - -void UmundoComponent::sendToParent(SendRequest& req) { - req.invokeid = _invokeId; - _parentInterpreter->receive(req); -} - -void UmundoComponent::invoke(InvokeRequest& req) { - _invokeId = req.invokeid; - _invokedInterpreter = Interpreter::fromURI(req.src); - DataModel* dataModel = _invokedInterpreter->getDataModel(); - if (dataModel != NULL) { - - } - _invokedInterpreter->setInvoker(this); - _invokedInterpreter->start(); -} - -}
\ No newline at end of file |