diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-05-12 13:12:33 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-05-12 13:12:33 (GMT) |
commit | b62e7979600feee23dc7cdb61042a8fc7673122b (patch) | |
tree | f7351372f37979dd2d048e0b68a16a4cd3b2aadb /src/bindings/swig/wrapped/WrappedInvoker.h | |
parent | 1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8 (diff) | |
download | uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.zip uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.gz uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.bz2 |
Major Refactoring v2.0
Diffstat (limited to 'src/bindings/swig/wrapped/WrappedInvoker.h')
-rw-r--r-- | src/bindings/swig/wrapped/WrappedInvoker.h | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/src/bindings/swig/wrapped/WrappedInvoker.h b/src/bindings/swig/wrapped/WrappedInvoker.h deleted file mode 100644 index 1220746..0000000 --- a/src/bindings/swig/wrapped/WrappedInvoker.h +++ /dev/null @@ -1,75 +0,0 @@ -/** - * @file - * @author 2012-2014 Stefan Radomski (stefan.radomski@cs.tu-darmstadt.de) - * @copyright Simplified BSD - * - * @cond - * This program is free software: you can redistribute it and/or modify - * it under the terms of the FreeBSD license as published by the FreeBSD - * project. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * You should have received a copy of the FreeBSD license along with this - * program. If not, see <http://www.opensource.org/licenses/bsd-license>. - * @endcond - */ - -#ifndef WRAPPEDINVOKER_H_F9725D47 -#define WRAPPEDINVOKER_H_F9725D47 - -#include <vector> -#include <list> -#include <ostream> -#include <string> - -#include <DOM/Document.hpp> -#include <DOM/io/Stream.hpp> - -#include "../../../uscxml/Message.h" -#include "../../../uscxml/Factory.h" -#include "../../../uscxml/Interpreter.h" - -namespace uscxml { - -class WrappedInvoker : public InvokerImpl { -public: - WrappedInvoker(); - virtual ~WrappedInvoker(); - - virtual std::list<std::string> getNames() { - return std::list<std::string>(); - }; - - virtual Data getDataModelVariables() { - Data data; - return data; - } - - virtual void send(const SendRequest& req) {} - virtual void invoke(const InvokeRequest& req) {} - virtual void uninvoke() {} - - virtual bool deleteOnUninvoke() { - return false; - } - - virtual WrappedInvoker* create(const Interpreter& interpreter) { - return new WrappedInvoker(); - } - - virtual boost::shared_ptr<InvokerImpl> create(InterpreterImpl* interpreter) { - _interpreter = interpreter->shared_from_this(); - return boost::shared_ptr<InvokerImpl>(create(_interpreter)); - } - -private: - Interpreter _interpreter; - -}; - -} - -#endif /* end of include guard: WRAPPEDINVOKER_H_F9725D47 */ |