Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.h @ 2940:4767d36679ed
refactoring access to Orthanc configuration
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Nov 2018 11:47:00 +0100 |
parents | ae8e72009e64 |
children | dc18d5804746 |
comparison
equal
deleted
inserted
replaced
2939:577786f59252 | 2940:4767d36679ed |
---|---|
178 bool isJobsEngineUnserialized_; | 178 bool isJobsEngineUnserialized_; |
179 SharedMessageQueue pendingChanges_; | 179 SharedMessageQueue pendingChanges_; |
180 boost::thread changeThread_; | 180 boost::thread changeThread_; |
181 boost::thread saveJobsThread_; | 181 boost::thread saveJobsThread_; |
182 | 182 |
183 SharedArchive queryRetrieveArchive_; | 183 std::auto_ptr<SharedArchive> queryRetrieveArchive_; |
184 std::string defaultLocalAet_; | 184 std::string defaultLocalAet_; |
185 OrthancHttpHandler httpHandler_; | 185 OrthancHttpHandler httpHandler_; |
186 | 186 |
187 public: | 187 public: |
188 class DicomCacheLocker : public boost::noncopyable | 188 class DicomCacheLocker : public boost::noncopyable |
299 | 299 |
300 void SignalChange(const ServerIndexChange& change); | 300 void SignalChange(const ServerIndexChange& change); |
301 | 301 |
302 SharedArchive& GetQueryRetrieveArchive() | 302 SharedArchive& GetQueryRetrieveArchive() |
303 { | 303 { |
304 return queryRetrieveArchive_; | 304 return *queryRetrieveArchive_; |
305 } | 305 } |
306 | 306 |
307 const std::string& GetDefaultLocalApplicationEntityTitle() const | 307 const std::string& GetDefaultLocalApplicationEntityTitle() const |
308 { | 308 { |
309 return defaultLocalAet_; | 309 return defaultLocalAet_; |
344 | 344 |
345 bool HasPlugins() const; | 345 bool HasPlugins() const; |
346 | 346 |
347 void AddChildInstances(SetOfInstancesJob& job, | 347 void AddChildInstances(SetOfInstancesJob& job, |
348 const std::string& publicId); | 348 const std::string& publicId); |
349 | |
350 void SignalUpdatedModalities(); | |
351 | |
352 void SignalUpdatedPeers(); | |
349 }; | 353 }; |
350 } | 354 } |