diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-12-06 21:59:37 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-12-06 21:59:37 (GMT) |
commit | fc10986cdd35a7a5ce483682ca43f3c496e907c1 (patch) | |
tree | d3d2277f4033eabf3228c624bf006bb51d447a52 /src/uscxml/interpreter/EventQueueImpl.h | |
parent | 53197953ce382a536bfef870efc4c3f1ccf0f180 (diff) | |
download | uscxml-fc10986cdd35a7a5ce483682ca43f3c496e907c1.zip uscxml-fc10986cdd35a7a5ce483682ca43f3c496e907c1.tar.gz uscxml-fc10986cdd35a7a5ce483682ca43f3c496e907c1.tar.bz2 |
Use existing ActionLanguage to create new instances in invoked interpreters
Diffstat (limited to 'src/uscxml/interpreter/EventQueueImpl.h')
-rw-r--r-- | src/uscxml/interpreter/EventQueueImpl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uscxml/interpreter/EventQueueImpl.h b/src/uscxml/interpreter/EventQueueImpl.h index 1f99226..4420c24 100644 --- a/src/uscxml/interpreter/EventQueueImpl.h +++ b/src/uscxml/interpreter/EventQueueImpl.h @@ -40,6 +40,7 @@ namespace uscxml { */ class USCXML_API EventQueueImpl { public: + virtual std::shared_ptr<EventQueueImpl> create() = 0; virtual Event dequeue(size_t blockMs) = 0; virtual void enqueue(const Event& event) = 0; virtual void reset() = 0; @@ -60,6 +61,7 @@ public: */ class USCXML_API DelayedEventQueueImpl : public EventQueueImpl { public: + virtual std::shared_ptr<DelayedEventQueueImpl> create(DelayedEventQueueCallbacks*) = 0; virtual void enqueueDelayed(const Event& event, size_t delayMs, const std::string& eventUUID) = 0; virtual void cancelDelayed(const std::string& eventId) = 0; virtual void cancelAllDelayed() = 0; |