diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-06-20 19:53:21 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-06-20 19:53:21 (GMT) |
commit | 794575f01ce5a6bf7e377eb815f3def5aded74f5 (patch) | |
tree | 9c59df64ee290f68b7b6c8698bfac4169684485e /src/uscxml/Factory.h | |
parent | d304f85417e3175c5f2ca159dd303309c24e7b81 (diff) | |
download | uscxml-794575f01ce5a6bf7e377eb815f3def5aded74f5.zip uscxml-794575f01ce5a6bf7e377eb815f3def5aded74f5.tar.gz uscxml-794575f01ce5a6bf7e377eb815f3def5aded74f5.tar.bz2 |
New version with XHTML invoker
Diffstat (limited to 'src/uscxml/Factory.h')
-rw-r--r-- | src/uscxml/Factory.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/uscxml/Factory.h b/src/uscxml/Factory.h index d92d105..b3bfded 100644 --- a/src/uscxml/Factory.h +++ b/src/uscxml/Factory.h @@ -116,13 +116,13 @@ public: void setType(const std::string& type) { _type = type; } - + virtual Data getDataModelVariables() = 0; virtual void send(const SendRequest& req) = 0; - + virtual void runOnMainThread() {}; void returnEvent(Event& event); - + protected: InterpreterImpl* _interpreter; std::string _invokeId; @@ -136,11 +136,11 @@ public: EventHandler(boost::shared_ptr<EventHandlerImpl> const impl) : _impl(impl) { } EventHandler(const EventHandler& other) : _impl(other._impl) { } virtual ~EventHandler() {}; - + virtual std::set<std::string> getNames() { return _impl->getNames(); } - + virtual Data getDataModelVariables() const { return _impl->getDataModelVariables(); }; @@ -150,7 +150,7 @@ public: virtual void runOnMainThread() { return _impl->runOnMainThread(); } - + void setInterpreter(InterpreterImpl* interpreter) { _impl->setInterpreter(interpreter); } @@ -382,7 +382,7 @@ public: boost::shared_ptr<ExecutableContentImpl> createExecutableContent(const std::string& localName, const std::string& nameSpace, InterpreterImpl* interpreter); std::map<std::string, IOProcessorImpl*> getIOProcessors(); - + static Factory* getInstance(); std::map<std::string, DataModelImpl*> _dataModels; |