# HG changeset patch # User Sebastien Jodogne # Date 1573817895 -3600 # Node ID 7aad0984d38a3e793f8cfb73186350da2a1aacc1 # Parent 2da8b4d6f8c1135a2efed6e0b3d9564a5289ca41 fix diff -r 2da8b4d6f8c1 -r 7aad0984d38a Framework/Oracle/GenericOracleRunner.cpp --- a/Framework/Oracle/GenericOracleRunner.cpp Fri Nov 15 12:35:35 2019 +0100 +++ b/Framework/Oracle/GenericOracleRunner.cpp Fri Nov 15 12:38:15 2019 +0100 @@ -352,12 +352,12 @@ private: boost::weak_ptr receiver_; IMessageEmitter& emitter_; - boost::shared_ptr cache_; + boost::shared_ptr cache_; public: DicomHandlerWithCache(boost::weak_ptr receiver, IMessageEmitter& emitter, - boost::shared_ptr cache) : + boost::shared_ptr cache) : receiver_(receiver), emitter_(emitter), cache_(cache) @@ -397,7 +397,7 @@ static void RunInternal(boost::weak_ptr receiver, IMessageEmitter& emitter, - boost::shared_ptr cache, + boost::shared_ptr cache, const std::string& root, const ParseDicomFileCommand& command) { @@ -407,7 +407,7 @@ if (cache.get()) { { - ParsedDicomFileCache::Reader reader(*cache, path); + ParsedDicomCache::Reader reader(*cache, path); if (reader.IsValid() && (!command.IsPixelDataIncluded() || reader.HasPixelData())) diff -r 2da8b4d6f8c1 -r 7aad0984d38a Framework/Oracle/GenericOracleRunner.h --- a/Framework/Oracle/GenericOracleRunner.h Fri Nov 15 12:35:35 2019 +0100 +++ b/Framework/Oracle/GenericOracleRunner.h Fri Nov 15 12:38:15 2019 +0100 @@ -26,7 +26,7 @@ #endif #if ORTHANC_ENABLE_DCMTK == 1 -# include "../Toolbox/ParsedDicomFileCache.h" +# include "../Toolbox/ParsedDicomCache.h" #endif #include "IOracleCommand.h" @@ -44,7 +44,7 @@ std::string rootDirectory_; #if ORTHANC_ENABLE_DCMTK == 1 - boost::shared_ptr dicomCache_; + boost::shared_ptr dicomCache_; #endif public: @@ -74,7 +74,7 @@ } #if ORTHANC_ENABLE_DCMTK == 1 - void SetDicomCache(boost::shared_ptr cache) + void SetDicomCache(boost::shared_ptr cache) { dicomCache_ = cache; } diff -r 2da8b4d6f8c1 -r 7aad0984d38a Framework/Oracle/ThreadedOracle.cpp --- a/Framework/Oracle/ThreadedOracle.cpp Fri Nov 15 12:35:35 2019 +0100 +++ b/Framework/Oracle/ThreadedOracle.cpp Fri Nov 15 12:38:15 2019 +0100 @@ -378,7 +378,7 @@ } else { - dicomCache_.reset(new ParsedDicomFileCache(size)); + dicomCache_.reset(new ParsedDicomCache(size)); } } #endif diff -r 2da8b4d6f8c1 -r 7aad0984d38a Framework/Oracle/ThreadedOracle.h --- a/Framework/Oracle/ThreadedOracle.h Fri Nov 15 12:35:35 2019 +0100 +++ b/Framework/Oracle/ThreadedOracle.h Fri Nov 15 12:38:15 2019 +0100 @@ -34,7 +34,7 @@ #endif #if ORTHANC_ENABLE_DCMTK == 1 -# include "../Toolbox/ParsedDicomFileCache.h" +# include "../Toolbox/ParsedDicomCache.h" #endif #include "IOracle.h" @@ -71,7 +71,7 @@ unsigned int sleepingTimeResolution_; #if ORTHANC_ENABLE_DCMTK == 1 - boost::shared_ptr dicomCache_; + boost::shared_ptr dicomCache_; #endif void Step();