diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-06-23 23:38:20 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-06-23 23:38:20 (GMT) |
commit | febde41c4c69d8f38967d5c195328d468834d037 (patch) | |
tree | 4580a433d410e91a6f8df9203c20693e7a21128d /src/bindings/swig/wrapped/WrappedInvoker.h | |
parent | eb6e9807cdb43b408de45ae789916cdf3bebe6f0 (diff) | |
download | uscxml-febde41c4c69d8f38967d5c195328d468834d037.zip uscxml-febde41c4c69d8f38967d5c195328d468834d037.tar.gz uscxml-febde41c4c69d8f38967d5c195328d468834d037.tar.bz2 |
Updated tests for IRP and work on bindings
Diffstat (limited to 'src/bindings/swig/wrapped/WrappedInvoker.h')
-rw-r--r-- | src/bindings/swig/wrapped/WrappedInvoker.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/bindings/swig/wrapped/WrappedInvoker.h b/src/bindings/swig/wrapped/WrappedInvoker.h new file mode 100644 index 0000000..61eedac --- /dev/null +++ b/src/bindings/swig/wrapped/WrappedInvoker.h @@ -0,0 +1,39 @@ +#ifndef WRAPPEDINVOKER_H_F9725D47 +#define WRAPPEDINVOKER_H_F9725D47 + +#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 WrappedInvoker* create(Interpreter interpreter) { + return new WrappedInvoker(); + } + + virtual boost::shared_ptr<InvokerImpl> create(InterpreterImpl* interpreter) { + return boost::shared_ptr<InvokerImpl>(create(interpreter->shared_from_this())); + } + +}; + +} + +#endif /* end of include guard: WRAPPEDINVOKER_H_F9725D47 */ |