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/EventQueue.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/EventQueue.h')
-rw-r--r-- | src/uscxml/interpreter/EventQueue.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/uscxml/interpreter/EventQueue.h b/src/uscxml/interpreter/EventQueue.h index 79d0c26..7356b23 100644 --- a/src/uscxml/interpreter/EventQueue.h +++ b/src/uscxml/interpreter/EventQueue.h @@ -39,6 +39,7 @@ public: virtual Event dequeue(size_t blockMs); virtual void enqueue(const Event& event); virtual void reset(); + virtual std::shared_ptr<EventQueueImpl> getImplBase(); protected: std::shared_ptr<EventQueueImpl> _impl; @@ -56,7 +57,8 @@ public: void enqueueDelayed(const Event& event, size_t delayMs, const std::string& eventUUID); void cancelDelayed(const std::string& eventUUID); void cancelAllDelayed(); - + virtual std::shared_ptr<DelayedEventQueueImpl> getImplDelayed(); + protected: std::shared_ptr<DelayedEventQueueImpl> _impl; }; |