diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2012-11-07 22:20:09 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2012-11-07 22:20:09 (GMT) |
commit | da08a1d3c3bca8070c9b029cfc1f8faf9e34dd25 (patch) | |
tree | b285148ab6ca415814d9370148f91736f83c852c /src/uscxml/Interpreter.h | |
parent | 0ae6c27d9322208053033d9b19c0ffffed3d99eb (diff) | |
download | uscxml-da08a1d3c3bca8070c9b029cfc1f8faf9e34dd25.zip uscxml-da08a1d3c3bca8070c9b029cfc1f8faf9e34dd25.tar.gz uscxml-da08a1d3c3bca8070c9b029cfc1f8faf9e34dd25.tar.bz2 |
Committing local version again
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r-- | src/uscxml/Interpreter.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h index 964320d..773516e 100644 --- a/src/uscxml/Interpreter.h +++ b/src/uscxml/Interpreter.h @@ -1,6 +1,8 @@ #ifndef RUNTIME_H_SQ1MBKGN #define RUNTIME_H_SQ1MBKGN +#include "uscxml/Common.h" + #include <boost/uuid/uuid_generators.hpp> #include <boost/algorithm/string.hpp> @@ -36,7 +38,7 @@ namespace uscxml { static Interpreter* fromXML(const std::string& xml); static Interpreter* fromURI(const std::string& uri); static Interpreter* fromInputSource(Arabica::SAX::InputSource<std::string>& source); - + void start(); static void run(void*); void join() { if (_thread != NULL) _thread->join(); }; @@ -45,6 +47,9 @@ namespace uscxml { bool validate(); void setBaseURI(std::string baseURI) { _baseURI = Arabica::io::URI(baseURI); } + Arabica::io::URI getBaseURI() { return _baseURI; } + bool makeAbsolute(Arabica::io::URI& uri); + DataModel* getDataModel() { return _dataModel; } Invoker* getInvoker() { return _invoker; } void setInvoker(Invoker* invoker) { _invoker = invoker; } @@ -118,7 +123,6 @@ namespace uscxml { Invoker* _invoker; static Arabica::io::URI toBaseURI(const Arabica::io::URI& uri); - static Arabica::io::URI toAbsoluteURI(const Arabica::io::URI& uri, const Arabica::io::URI& baseURI); void microstep(const Arabica::XPath::NodeSet<std::string>& enabledTransitions); void exitStates(const Arabica::XPath::NodeSet<std::string>& enabledTransitions); |