summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.h
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-03-20 08:00:41 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-03-20 08:00:41 (GMT)
commitc6c1f3e2e333705bf7d54fffd4b18939a56f4ed8 (patch)
tree92af8be33c602a68d1912790cad657c2a012e2c0 /src/uscxml/Interpreter.h
parentccbf595c52fd705ec70abc774a29b153a7281334 (diff)
downloaduscxml-c6c1f3e2e333705bf7d54fffd4b18939a56f4ed8.zip
uscxml-c6c1f3e2e333705bf7d54fffd4b18939a56f4ed8.tar.gz
uscxml-c6c1f3e2e333705bf7d54fffd4b18939a56f4ed8.tar.bz2
Started Syteminvoker
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r--src/uscxml/Interpreter.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h
index 1a44f80..90c2b3b 100644
--- a/src/uscxml/Interpreter.h
+++ b/src/uscxml/Interpreter.h
@@ -76,6 +76,12 @@ public:
LATE = 1
};
+ enum Capabilities {
+ CAN_NOTHING = 0,
+ CAN_BASIC_HTTP = 1,
+ CAN_GENERIC_HTTP = 2,
+ };
+
virtual ~Interpreter();
static Interpreter* fromDOM(const Arabica::DOM::Node<std::string>& node);
@@ -162,6 +168,10 @@ public:
return _document;
}
+ void setCapabilities(unsigned int capabilities) {
+ _capabilities = capabilities;
+ }
+
void setName(const std::string& name);
const std::string& getName() {
return _name;
@@ -222,6 +232,7 @@ protected:
bool _running;
bool _done;
+ bool _isInitialized;
Binding _binding;
Arabica::XPath::NodeSet<std::string> _configuration;
Arabica::XPath::NodeSet<std::string> _statesToInvoke;
@@ -306,7 +317,8 @@ protected:
long _lastRunOnMainThread;
std::string _name;
std::string _sessionId;
-
+ unsigned int _capabilities;
+
Data _cmdLineOptions;
IOProcessor getIOProcessor(const std::string& type);