summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.h
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-02-08 12:26:42 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-02-08 12:26:42 (GMT)
commit71a3ca4fd78d7a9cca844e81f29f48b9c36bd4c7 (patch)
tree57a294052ce41ed131f458d4fb083fce3b743ef4 /src/uscxml/Interpreter.h
parent275bf3fd017ca27c021d4c10cc9d3d82fff13922 (diff)
downloaduscxml-71a3ca4fd78d7a9cca844e81f29f48b9c36bd4c7.zip
uscxml-71a3ca4fd78d7a9cca844e81f29f48b9c36bd4c7.tar.gz
uscxml-71a3ca4fd78d7a9cca844e81f29f48b9c36bd4c7.tar.bz2
Fixed history
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r--src/uscxml/Interpreter.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h
index 334b2ad..ab58ec3 100644
--- a/src/uscxml/Interpreter.h
+++ b/src/uscxml/Interpreter.h
@@ -33,6 +33,11 @@ public:
virtual void beforeCompletion(Interpreter* interpreter) {}
virtual void afterCompletion(Interpreter* interpreter) {}
virtual void beforeMicroStep(Interpreter* interpreter) {}
+ virtual void beforeTakingTransitions(Interpreter* interpreter, const Arabica::XPath::NodeSet<std::string>& transitions) {}
+ virtual void beforeEnteringStates(Interpreter* interpreter, const Arabica::XPath::NodeSet<std::string>& statesToEnter) {}
+ virtual void afterEnteringStates(Interpreter* interpreter) {}
+ virtual void beforeExitingStates(Interpreter* interpreter, const Arabica::XPath::NodeSet<std::string>& statesToExit) {}
+ virtual void afterExitingStates(Interpreter* interpreter) {}
};
class NumAttr {
@@ -100,6 +105,9 @@ public:
}
bool toAbsoluteURI(URL& uri);
+ void setCmdLineOptions(int argc, char** argv);
+ Data getCmdLineOptions() { return _cmdLineOptions; }
+
DataModel getDataModel() {
return _dataModel;
}
@@ -247,12 +255,15 @@ protected:
std::string _name;
std::string _sessionId;
+ Data _cmdLineOptions;
+
IOProcessor getIOProcessor(const std::string& type);
// IOProcessor* getIOProcessorForId(const std::string& sendId);
std::map<std::string, IOProcessor> _ioProcessors;
std::map<std::string, std::pair<Interpreter*, SendRequest> > _sendIds;
std::map<std::string, Invoker> _invokers;
+ std::map<std::string, Invoker> _autoForwardees;
/// We need to remember to adapt them when the DOM is operated upon
std::map<std::string, Arabica::DOM::Node<std::string> > _cachedStates;