changeset 852:6d15261f9c99 toa2019061901

Added way to share the broker that is used inside the locking emitter
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 18 Jun 2019 16:45:37 +0200
parents 101073b3e855
children bb88686acecc 99628da4d846
files Framework/Messages/LockingEmitter.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Messages/LockingEmitter.h	Mon Jun 17 16:13:14 2019 +0200
+++ b/Framework/Messages/LockingEmitter.h	Tue Jun 18 16:45:37 2019 +0200
@@ -49,6 +49,11 @@
     {
     }
 
+    MessageBroker& GetBroker()
+    {
+      return broker_;
+    }
+
     virtual void EmitMessage(const IObserver& observer,
       const IMessage& message) ORTHANC_OVERRIDE
     {