Mercurial > hg > orthanc
diff OrthancFramework/Sources/JobsEngine/JobsRegistry.cpp @ 4300:b30a8de92ad9
abi continued
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 19:33:18 +0100 |
parents | 0ae2ca210077 |
children | 44b53a2c0a13 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/JobsEngine/JobsRegistry.cpp Thu Nov 05 18:24:50 2020 +0100 +++ b/OrthancFramework/Sources/JobsEngine/JobsRegistry.cpp Thu Nov 05 19:33:18 2020 +0100 @@ -41,6 +41,11 @@ static const char* RUNTIME = "Runtime"; + JobsRegistry::IObserver::~IObserver() + { + } + + class JobsRegistry::JobHandler : public boost::noncopyable { private: @@ -711,6 +716,12 @@ } } + JobsRegistry::JobsRegistry(size_t maxCompletedJobs) : + maxCompletedJobs_(maxCompletedJobs), + observer_(NULL) + { + } + void JobsRegistry::Submit(std::string& id, IJob* job, // Takes ownership