comparison OrthancServer/ServerContext.h @ 1133:382e162c074c

rename
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Sep 2014 10:45:14 +0200
parents 8dabdc0d3007
children ba9fd42284d0
comparison
equal deleted inserted replaced
1132:f739d3f6cfcf 1133:382e162c074c
45 45
46 #include <boost/filesystem.hpp> 46 #include <boost/filesystem.hpp>
47 47
48 namespace Orthanc 48 namespace Orthanc
49 { 49 {
50 class PluginsHttpHandler; 50 class OrthancPlugins;
51 51
52 /** 52 /**
53 * This class is responsible for maintaining the storage area on the 53 * This class is responsible for maintaining the storage area on the
54 * filesystem (including compression), as well as the index of the 54 * filesystem (including compression), as well as the index of the
55 * DICOM store. It implements the required locking mechanisms. 55 * DICOM store. It implements the required locking mechanisms.
87 ReusableDicomUserConnection scu_; 87 ReusableDicomUserConnection scu_;
88 ServerScheduler scheduler_; 88 ServerScheduler scheduler_;
89 89
90 boost::mutex luaMutex_; 90 boost::mutex luaMutex_;
91 LuaContext lua_; 91 LuaContext lua_;
92 PluginsHttpHandler* plugins_; // TODO Turn it into a listener pattern (idem for Lua callbacks) 92 OrthancPlugins* plugins_; // TODO Turn it into a listener pattern (idem for Lua callbacks)
93 93
94 public: 94 public:
95 class DicomCacheLocker : public boost::noncopyable 95 class DicomCacheLocker : public boost::noncopyable
96 { 96 {
97 private: 97 private:
188 ServerScheduler& GetScheduler() 188 ServerScheduler& GetScheduler()
189 { 189 {
190 return scheduler_; 190 return scheduler_;
191 } 191 }
192 192
193 void SetPluginsHttpHandler(PluginsHttpHandler& plugin) 193 void SetOrthancPlugins(OrthancPlugins& plugins)
194 { 194 {
195 plugins_ = &plugin; 195 plugins_ = &plugins;
196 } 196 }
197 }; 197 };
198 } 198 }