diff Framework/Loaders/DicomStructureSetLoader.h @ 1342:13573ff63eb6 broker

New StructuresUpdated message that is sent during individual structure set addition.
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 06 Apr 2020 08:42:40 +0200
parents 556b4bc19118
children f4a06ad1580b
line wrap: on
line diff
--- a/Framework/Loaders/DicomStructureSetLoader.h	Fri Apr 03 18:18:37 2020 +0200
+++ b/Framework/Loaders/DicomStructureSetLoader.h	Mon Apr 06 08:42:40 2020 +0200
@@ -75,6 +75,7 @@
 
   public:
     ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, StructuresReady, DicomStructureSetLoader);
+    ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, StructuresUpdated, DicomStructureSetLoader);
 
     static boost::shared_ptr<DicomStructureSetLoader> Create(
       OrthancStone::ILoadersContext& loadersContext);
@@ -99,6 +100,7 @@
     virtual IExtractedSlice* ExtractSlice(const OrthancStone::CoordinateSystem3D& cuttingPlane) ORTHANC_OVERRIDE;
 
     void SetStructuresReady();
+    void SetStructuresUpdated();
 
     bool AreStructuresReady() const;
   };