diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-07-30 23:26:51 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-07-30 23:26:51 (GMT) |
commit | 94c1d6523dfb115d87245fa2cff2cf921817e92d (patch) | |
tree | b5c80b5e0bf97a2b076e3233931335e01a389a07 /src/bindings/swig | |
parent | ce9e0434aa50ad343ec2829262fa7a95ff5d39a7 (diff) | |
download | uscxml-94c1d6523dfb115d87245fa2cff2cf921817e92d.zip uscxml-94c1d6523dfb115d87245fa2cff2cf921817e92d.tar.gz uscxml-94c1d6523dfb115d87245fa2cff2cf921817e92d.tar.bz2 |
interpreter.addIOProcessor
Diffstat (limited to 'src/bindings/swig')
-rw-r--r-- | src/bindings/swig/uscxml_beautify.i | 8 | ||||
-rw-r--r-- | src/bindings/swig/uscxml_ignores.i | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/bindings/swig/uscxml_beautify.i b/src/bindings/swig/uscxml_beautify.i index 6daba77..76f371e 100644 --- a/src/bindings/swig/uscxml_beautify.i +++ b/src/bindings/swig/uscxml_beautify.i @@ -60,6 +60,14 @@ %extend uscxml::Interpreter { + void addIOProcessor(uscxml::WrappedIOProcessor* ioProc) { + self->addIOProcessor(boost::shared_ptr<IOProcessorImpl>(ioProc)); + } + + void setDataModel(WrappedDataModel* dataModel) { + self->setDataModel(boost::shared_ptr<DataModelImpl>(dataModel)); + } + std::vector<std::string> getBasicConfiguration() { Arabica::XPath::NodeSet<std::string> nativeConfig = self->getBasicConfiguration(); std::vector<std::string> config; diff --git a/src/bindings/swig/uscxml_ignores.i b/src/bindings/swig/uscxml_ignores.i index c9df57f..b6a0a3f 100644 --- a/src/bindings/swig/uscxml_ignores.i +++ b/src/bindings/swig/uscxml_ignores.i @@ -45,6 +45,8 @@ %ignore uscxml::Interpreter::stop(); %ignore uscxml::Interpreter::isRunning(); %ignore uscxml::Interpreter::setCmdLineOptions(std::map<std::string, std::string>); +%ignore uscxml::Interpreter::setDataModel(const DataModel& dataModel); +%ignore uscxml::Interpreter::addIOProcessor(IOProcessor ioProc); %ignore uscxml::Interpreter::getDocument; %ignore uscxml::Interpreter::getImpl; %ignore uscxml::Interpreter::runOnMainThread; |