diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2012-12-21 18:07:46 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2012-12-21 18:07:46 (GMT) |
commit | 4b345063582d4ac89a68a053a27552a688e3a583 (patch) | |
tree | 4dcb5a79212c2fb72716b67a24da4a7691c1be88 /src/uscxml/plugins/invoker/sample/SampleInvoker.cpp | |
parent | 93d0fee20cafb44b3de2fb2faa88bc13f739d295 (diff) | |
download | uscxml-4b345063582d4ac89a68a053a27552a688e3a583.zip uscxml-4b345063582d4ac89a68a053a27552a688e3a583.tar.gz uscxml-4b345063582d4ac89a68a053a27552a688e3a583.tar.bz2 |
Provided sample invoker as a starting point
Diffstat (limited to 'src/uscxml/plugins/invoker/sample/SampleInvoker.cpp')
-rw-r--r-- | src/uscxml/plugins/invoker/sample/SampleInvoker.cpp | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/uscxml/plugins/invoker/sample/SampleInvoker.cpp b/src/uscxml/plugins/invoker/sample/SampleInvoker.cpp new file mode 100644 index 0000000..b5c351c --- /dev/null +++ b/src/uscxml/plugins/invoker/sample/SampleInvoker.cpp @@ -0,0 +1,47 @@ +#include "SampleInvoker.h" +#include <glog/logging.h> + +#ifdef BUILD_AS_PLUGINS +#include <Pluma/Connector.hpp> +#endif + +namespace uscxml { + +#ifdef BUILD_AS_PLUGINS +PLUMA_CONNECTOR +bool connect(pluma::Host& host) { + host.add( new SampleInvokerProvider() ); + return true; +} +#endif + +SampleInvoker::SampleInvoker() { +} + +SampleInvoker::~SampleInvoker() { +}; + +Invoker* SampleInvoker::create(Interpreter* interpreter) { + SampleInvoker* invoker = new SampleInvoker(); + invoker->_interpreter = interpreter; + return invoker; +} + +Data SampleInvoker::getDataModelVariables() { + Data data; + return data; +} + +void SampleInvoker::send(SendRequest& req) { +} + +void SampleInvoker::cancel(const std::string sendId) { +} + +void SampleInvoker::sendToParent(SendRequest& req) { +} + +void SampleInvoker::invoke(InvokeRequest& req) { +} + +}
\ No newline at end of file |