comparison Framework/Plugins/DatabaseBackendAdapterV2.cpp @ 229:5744f09b0b1b

note
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 03 Apr 2021 18:56:14 +0200
parents a4918d57435c
children 33fa478c119a
comparison
equal deleted inserted replaced
228:1ad9118b0717 229:5744f09b0b1b
53 namespace OrthancDatabases 53 namespace OrthancDatabases
54 { 54 {
55 class DatabaseBackendAdapterV2::Adapter : public boost::noncopyable 55 class DatabaseBackendAdapterV2::Adapter : public boost::noncopyable
56 { 56 {
57 private: 57 private:
58 /**
59 * The "managerMutex_" should not be necessary, as it is redundant
60 * with with "Orthanc::ServerIndex::mutex_" (the global mutex) in
61 * Orthanc <= 1.9.1, or with
62 * "Orthanc::OrthancPluginDatabase::mutex_" in Orthanc >= 1.9.2
63 * (the global mutex limited to backward compatibility with older
64 * plugins). It is left here for additional safety.
65 **/
66
58 std::unique_ptr<IDatabaseBackend> backend_; 67 std::unique_ptr<IDatabaseBackend> backend_;
59 boost::mutex managerMutex_; 68 boost::mutex managerMutex_;
60 std::unique_ptr<DatabaseManager> manager_; 69 std::unique_ptr<DatabaseManager> manager_;
61 70
62 public: 71 public: