diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-07-05 08:05:55 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-07-05 08:05:55 (GMT) |
commit | bfefa5fd44b9ed1491612f26b099db8ad624247b (patch) | |
tree | ca4313ced9adb3288056c3e7ddf121e614cf3c2b /src/uscxml/interpreter/MicroStepImpl.h | |
parent | 04121c58222c95b1d808a1556b5110832a1c1119 (diff) | |
download | uscxml-bfefa5fd44b9ed1491612f26b099db8ad624247b.zip uscxml-bfefa5fd44b9ed1491612f26b099db8ad624247b.tar.gz uscxml-bfefa5fd44b9ed1491612f26b099db8ad624247b.tar.bz2 |
More performant Monitors
Breaks InterpreterMonitor API, Interpreter argument is substituted by sessionId. Use Intererpreter::fromSessionId to retrieve actual session when required.
Diffstat (limited to 'src/uscxml/interpreter/MicroStepImpl.h')
-rw-r--r-- | src/uscxml/interpreter/MicroStepImpl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uscxml/interpreter/MicroStepImpl.h b/src/uscxml/interpreter/MicroStepImpl.h index 53139bc..df5c07c 100644 --- a/src/uscxml/interpreter/MicroStepImpl.h +++ b/src/uscxml/interpreter/MicroStepImpl.h @@ -58,7 +58,7 @@ public: /** Monitoring */ virtual std::set<InterpreterMonitor*> getMonitors() = 0; - virtual Interpreter getInterpreter() = 0; + virtual const std::string& getSessionId() = 0; virtual Logger getLogger() = 0; /** Cache Data */ @@ -91,11 +91,11 @@ public: virtual void deserialize(const Data& encodedState) = 0; virtual Data serialize() = 0; - /// To register at the factory - virtual std::string getName() = 0; + /// To register at the factory + virtual std::string getName() = 0; protected: - MicroStepImpl() {}; + MicroStepImpl() {}; MicroStepCallbacks* _callbacks; }; |