summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Factory.h
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-08-09 15:05:52 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-08-09 15:05:52 (GMT)
commit6dce9df7f483f3229bb2f34f0386ce37a1551e07 (patch)
tree1d3acaec4612d74ee3234c808df7ae5fa3b4ef9f /src/uscxml/Factory.h
parent01f8198f8b548e3f28cad1a441ceb8af6ea850a4 (diff)
downloaduscxml-6dce9df7f483f3229bb2f34f0386ce37a1551e07.zip
uscxml-6dce9df7f483f3229bb2f34f0386ce37a1551e07.tar.gz
uscxml-6dce9df7f483f3229bb2f34f0386ce37a1551e07.tar.bz2
Extended Java bindings and OpenAL invoker
Diffstat (limited to 'src/uscxml/Factory.h')
-rw-r--r--src/uscxml/Factory.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/uscxml/Factory.h b/src/uscxml/Factory.h
index 3ddd9ad..74cb2a4 100644
--- a/src/uscxml/Factory.h
+++ b/src/uscxml/Factory.h
@@ -111,6 +111,8 @@ protected:
class EventHandlerImpl {
public:
+ virtual ~EventHandlerImpl() {}
+
virtual std::set<std::string> getNames() = 0;
virtual void setInterpreter(InterpreterImpl* interpreter) {
@@ -128,6 +130,8 @@ public:
virtual void runOnMainThread() {};
void returnEvent(Event& event);
+ void returnErrorExecution(const std::string&);
+ void returnErrorPlatform(const std::string&);
protected:
InterpreterImpl* _interpreter;
@@ -211,6 +215,7 @@ protected:
class InvokerImpl : public EventHandlerImpl {
public:
+ virtual ~InvokerImpl() {}
virtual void invoke(const InvokeRequest& req) = 0;
virtual boost::shared_ptr<InvokerImpl> create(InterpreterImpl* interpreter) = 0;
};