diff options
Diffstat (limited to 'src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp')
-rw-r--r-- | src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp b/src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp new file mode 100644 index 0000000..da36a17 --- /dev/null +++ b/src/uscxml/plugins/ioprocessor/sample/SampleIOProcessor.cpp @@ -0,0 +1,41 @@ +#include <uscxml/Common.h> +#include "uscxml/plugins/ioprocessor/sample/SampleIOProcessor.h" +#include "uscxml/Message.h" +#include <iostream> + +#include <string.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 SampleIOProcessorProvider() ); + return true; +} +#endif + +SampleIOProcessor::SampleIOProcessor() { +} + +SampleIOProcessor::~SampleIOProcessor() { +} + +boost::shared_ptr<IOProcessorImpl> SampleIOProcessor::create(InterpreterImpl* interpreter) { + boost::shared_ptr<SampleIOProcessor> io = boost::shared_ptr<SampleIOProcessor>(new SampleIOProcessor()); + return io; +} + +Data SampleIOProcessor::getDataModelVariables() { + Data data; + return data; +} + +void SampleIOProcessor::send(const SendRequest& req) { +} + +}
\ No newline at end of file |