Mercurial > hg > orthanc-stone
comparison Framework/Oracle/GenericOracleRunner.h @ 1134:87fbeb823375 broker
allocating messages from oracle commands on the stack
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 06 Nov 2019 15:16:45 +0100 |
parents | c3d4adf8bc70 |
children | a0a33e5ea5bb |
comparison
equal
deleted
inserted
replaced
1133:0e3a3be313fd | 1134:87fbeb823375 |
---|---|
28 #if ORTHANC_ENABLE_DCMTK == 1 | 28 #if ORTHANC_ENABLE_DCMTK == 1 |
29 # include "../Toolbox/ParsedDicomFileCache.h" | 29 # include "../Toolbox/ParsedDicomFileCache.h" |
30 #endif | 30 #endif |
31 | 31 |
32 #include "IOracleCommand.h" | 32 #include "IOracleCommand.h" |
33 #include "../Messages/IMessageEmitter.h" | |
33 | 34 |
34 #include <Core/Enumerations.h> // For ORTHANC_OVERRIDE | 35 #include <Core/Enumerations.h> // For ORTHANC_OVERRIDE |
35 #include <Core/WebServiceParameters.h> | 36 #include <Core/WebServiceParameters.h> |
36 | 37 |
37 namespace OrthancStone | 38 namespace OrthancStone |
77 { | 78 { |
78 dicomCache_ = cache; | 79 dicomCache_ = cache; |
79 } | 80 } |
80 #endif | 81 #endif |
81 | 82 |
82 IMessage* Run(IOracleCommand& command); | 83 void Run(boost::weak_ptr<IObserver> receiver, |
84 IMessageEmitter& emitter, | |
85 IOracleCommand& command); | |
83 }; | 86 }; |
84 } | 87 } |