Mercurial > hg > orthanc
diff OrthancServer/ServerContext.h @ 783:c9cdd53a6b31 lua-scripting
main scheduler added to the server context
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Apr 2014 18:36:20 +0200 |
parents | 537837f50fbb |
children | 394a19d44f9d |
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h Wed Apr 30 18:30:05 2014 +0200 +++ b/OrthancServer/ServerContext.h Wed Apr 30 18:36:20 2014 +0200 @@ -40,6 +40,7 @@ #include "ServerIndex.h" #include "FromDcmtkBridge.h" #include "DicomProtocol/ReusableDicomUserConnection.h" +#include "Scheduler/ServerScheduler.h" namespace Orthanc { @@ -72,6 +73,7 @@ DicomCacheProvider provider_; MemoryCache dicomCache_; ReusableDicomUserConnection scu_; + ServerScheduler scheduler_; LuaContext lua_; @@ -157,5 +159,10 @@ { return scu_; } + + ServerScheduler& GetScheduler() + { + return scheduler_; + } }; }