summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.h
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-08-22 16:21:18 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-08-22 16:21:18 (GMT)
commit9509b795c7493d7b351dc25855a6a82cd392deb1 (patch)
tree11f1950bab743ecbe2ac8d75177702a3620ef15c /src/uscxml/Interpreter.h
parentd6fa07c2b4b3eb0c8db4f79927f88de72892dcc2 (diff)
downloaduscxml-9509b795c7493d7b351dc25855a6a82cd392deb1.zip
uscxml-9509b795c7493d7b351dc25855a6a82cd392deb1.tar.gz
uscxml-9509b795c7493d7b351dc25855a6a82cd392deb1.tar.bz2
Moved InterpreterIssues to own source file
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r--src/uscxml/Interpreter.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h
index 984e861..b2ea027 100644
--- a/src/uscxml/Interpreter.h
+++ b/src/uscxml/Interpreter.h
@@ -39,6 +39,7 @@
#include "uscxml/concurrency/BlockingQueue.h"
#include "uscxml/messages/Data.h"
#include "uscxml/messages/SendRequest.h"
+#include "uscxml/debug/InterpreterIssue.h"
#include "uscxml/URL.h"
#include "uscxml/plugins/DataModel.h"
@@ -215,24 +216,6 @@ enum InterpreterState {
};
USCXML_API std::ostream& operator<< (std::ostream& os, const InterpreterState& interpreterState);
-class USCXML_API InterpreterIssue {
-public:
- enum IssueSeverity {
- USCXML_ISSUE_FATAL,
- USCXML_ISSUE_WARNING,
- USCXML_ISSUE_INFO
- };
-
- InterpreterIssue(const std::string& msg, Arabica::DOM::Node<std::string> node, IssueSeverity severity);
-
- std::string xPath;
- std::string message;
- Arabica::DOM::Node<std::string> node;
- IssueSeverity severity;
-};
-USCXML_API std::ostream& operator<< (std::ostream& os, const InterpreterIssue& issue);
-
-
class USCXML_API InterpreterImpl : public boost::enable_shared_from_this<InterpreterImpl> {
public:
@@ -571,6 +554,8 @@ protected:
friend class USCXMLInvoker;
friend class SCXMLIOProcessor;
friend class Interpreter;
+ friend class InterpreterIssue;
+
};
class USCXML_API Interpreter {