diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-02-08 12:26:42 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-02-08 12:26:42 (GMT) |
commit | 71a3ca4fd78d7a9cca844e81f29f48b9c36bd4c7 (patch) | |
tree | 57a294052ce41ed131f458d4fb083fce3b743ef4 /src/uscxml/plugins/invoker/sqlite3/Sqlite3Invoker.h | |
parent | 275bf3fd017ca27c021d4c10cc9d3d82fff13922 (diff) | |
download | uscxml-71a3ca4fd78d7a9cca844e81f29f48b9c36bd4c7.zip uscxml-71a3ca4fd78d7a9cca844e81f29f48b9c36bd4c7.tar.gz uscxml-71a3ca4fd78d7a9cca844e81f29f48b9c36bd4c7.tar.bz2 |
Fixed history
Diffstat (limited to 'src/uscxml/plugins/invoker/sqlite3/Sqlite3Invoker.h')
-rw-r--r-- | src/uscxml/plugins/invoker/sqlite3/Sqlite3Invoker.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/uscxml/plugins/invoker/sqlite3/Sqlite3Invoker.h b/src/uscxml/plugins/invoker/sqlite3/Sqlite3Invoker.h new file mode 100644 index 0000000..f2ae915 --- /dev/null +++ b/src/uscxml/plugins/invoker/sqlite3/Sqlite3Invoker.h @@ -0,0 +1,40 @@ +#ifndef SQLITE3INVOKER_H_W09J90F0 +#define SQLITE3INVOKER_H_W09J90F0 + +#include <uscxml/Interpreter.h> + +#ifdef BUILD_AS_PLUGINS +#include "uscxml/plugins/Plugins.h" +#endif + +namespace uscxml { + +class Sqlite3Invoker : public InvokerImpl { +public: + Sqlite3Invoker(); + virtual ~Sqlite3Invoker(); + virtual boost::shared_ptr<IOProcessorImpl> create(Interpreter* interpreter); + + virtual std::set<std::string> getNames() { + std::set<std::string> names; + names.insert("sqlite3"); + names.insert("http://uscxml.tk.informatik.tu-darmstadt.de/#sqlite3"); + return names; + } + + virtual Data getDataModelVariables(); + virtual void send(const SendRequest& req); + virtual void cancel(const std::string sendId); + virtual void invoke(const InvokeRequest& req); + +protected: +}; + +#ifdef BUILD_AS_PLUGINS +PLUMA_INHERIT_PROVIDER(Sqlite3Invoker, Invoker); +#endif + +} + + +#endif /* end of include guard: SQLITE3INVOKER_H_W09J90F0 */ |