summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/invoker/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/plugins/invoker/graphics')
-rw-r--r--src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.cpp8
-rw-r--r--src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h10
2 files changed, 9 insertions, 9 deletions
diff --git a/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.cpp b/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.cpp
index 7a0e63a..94156c0 100644
--- a/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.cpp
+++ b/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.cpp
@@ -22,7 +22,7 @@ OSGInvoker::OSGInvoker() {
OSGInvoker::~OSGInvoker() {
};
-Invoker* OSGInvoker::create(Interpreter* interpreter) {
+InvokerImpl* OSGInvoker::create(Interpreter* interpreter) {
OSGInvoker* invoker = new OSGInvoker();
invoker->_interpreter = interpreter;
return invoker;
@@ -33,16 +33,16 @@ Data OSGInvoker::getDataModelVariables() {
return data;
}
-void OSGInvoker::send(SendRequest& req) {
+void OSGInvoker::send(const SendRequest& req) {
}
void OSGInvoker::cancel(const std::string sendId) {
}
-void OSGInvoker::sendToParent(SendRequest& req) {
+void OSGInvoker::sendToParent(const SendRequest& req) {
}
-void OSGInvoker::invoke(InvokeRequest& req) {
+void OSGInvoker::invoke(const InvokeRequest& req) {
tthread::lock_guard<tthread::recursive_mutex> lock(_mutex);
// register default event handlers
diff --git a/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h b/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h
index 90dda31..933ee4a 100644
--- a/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h
+++ b/src/uscxml/plugins/invoker/graphics/openscenegraph/OSGInvoker.h
@@ -16,11 +16,11 @@
namespace uscxml {
-class OSGInvoker : public Invoker, public Arabica::DOM::Events::EventListener<std::string> {
+class OSGInvoker : public InvokerImpl, public Arabica::DOM::Events::EventListener<std::string> {
public:
OSGInvoker();
virtual ~OSGInvoker();
- virtual Invoker* create(Interpreter* interpreter);
+ virtual InvokerImpl* create(Interpreter* interpreter);
virtual std::set<std::string> getNames() {
std::set<std::string> names;
@@ -31,10 +31,10 @@ public:
}
virtual Data getDataModelVariables();
- virtual void send(SendRequest& req);
+ virtual void send(const SendRequest& req);
virtual void cancel(const std::string sendId);
- virtual void invoke(InvokeRequest& req);
- virtual void sendToParent(SendRequest& req);
+ virtual void invoke(const InvokeRequest& req);
+ virtual void sendToParent(const SendRequest& req);
virtual void handleEvent(Arabica::DOM::Events::Event<std::string>& event);
virtual void runOnMainThread();