summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/invoker/sample/SampleInvoker.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-01-21 23:47:54 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-01-21 23:47:54 (GMT)
commit3be96d1aa3024c1acc129e587f5d3165c9434e48 (patch)
treefae65a932b899ed9424a5a76b9b98562d979fe40 /src/uscxml/plugins/invoker/sample/SampleInvoker.cpp
parent3bda299c6d2efce71d76b44dea8e732a073304f3 (diff)
downloaduscxml-3be96d1aa3024c1acc129e587f5d3165c9434e48.zip
uscxml-3be96d1aa3024c1acc129e587f5d3165c9434e48.tar.gz
uscxml-3be96d1aa3024c1acc129e587f5d3165c9434e48.tar.bz2
See detailed commitlog
- Started DirectoryMonitor invoker - Refactored Invoker / IOProcessor interface - Started with JavaScriptCore bindings - Embedding applications can now use setParentQueue to receive events sent to #_parent
Diffstat (limited to 'src/uscxml/plugins/invoker/sample/SampleInvoker.cpp')
-rw-r--r--src/uscxml/plugins/invoker/sample/SampleInvoker.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/uscxml/plugins/invoker/sample/SampleInvoker.cpp b/src/uscxml/plugins/invoker/sample/SampleInvoker.cpp
index 3678cc3..e7c2e10 100644
--- a/src/uscxml/plugins/invoker/sample/SampleInvoker.cpp
+++ b/src/uscxml/plugins/invoker/sample/SampleInvoker.cpp
@@ -21,8 +21,8 @@ SampleInvoker::SampleInvoker() {
SampleInvoker::~SampleInvoker() {
};
-Invoker* SampleInvoker::create(Interpreter* interpreter) {
- SampleInvoker* invoker = new SampleInvoker();
+boost::shared_ptr<IOProcessorImpl> SampleInvoker::create(Interpreter* interpreter) {
+ boost::shared_ptr<SampleInvoker> invoker = boost::shared_ptr<SampleInvoker>(new SampleInvoker());
invoker->_interpreter = interpreter;
return invoker;
}
@@ -32,17 +32,13 @@ Data SampleInvoker::getDataModelVariables() {
return data;
}
-void SampleInvoker::send(SendRequest& req) {
+void SampleInvoker::send(const SendRequest& req) {
}
void SampleInvoker::cancel(const std::string sendId) {
}
-void SampleInvoker::sendToParent(SendRequest& req) {
-}
-
-void SampleInvoker::invoke(InvokeRequest& req) {
- _invokeId = req.invokeid;
+void SampleInvoker::invoke(const InvokeRequest& req) {
}
} \ No newline at end of file