summaryrefslogtreecommitdiffstats
path: root/src/uscxml/interpreter/EventQueueImpl.h
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-12-06 21:59:37 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-12-06 21:59:37 (GMT)
commitfc10986cdd35a7a5ce483682ca43f3c496e907c1 (patch)
treed3d2277f4033eabf3228c624bf006bb51d447a52 /src/uscxml/interpreter/EventQueueImpl.h
parent53197953ce382a536bfef870efc4c3f1ccf0f180 (diff)
downloaduscxml-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.h2
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;