comparison Plugin/Plugin.cpp @ 79:abdde1dfb3eb

use sdk 0.9.4
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Sep 2015 12:32:37 +0200
parents e15a59a4b4d4
children c44ab3266343
comparison
equal deleted inserted replaced
78:d6da56f86e5a 79:abdde1dfb3eb
82 { 82 {
83 std::auto_ptr<Orthanc::IDynamicObject> obj(cache->newInstances_.Dequeue(100)); 83 std::auto_ptr<Orthanc::IDynamicObject> obj(cache->newInstances_.Dequeue(100));
84 if (obj.get() != NULL) 84 if (obj.get() != NULL)
85 { 85 {
86 const std::string& instanceId = dynamic_cast<DynamicString&>(*obj).GetValue(); 86 const std::string& instanceId = dynamic_cast<DynamicString&>(*obj).GetValue();
87 printf("[%s]\n", instanceId.c_str());
88 87
89 // On the reception of a new instance, precompute its spatial position 88 // On the reception of a new instance, precompute its spatial position
90 cache->GetScheduler().Prefetch(OrthancPlugins::CacheBundle_InstanceInformation, instanceId); 89 cache->GetScheduler().Prefetch(OrthancPlugins::CacheBundle_InstanceInformation, instanceId);
91 90
92 // Indalidate the parent series of the instance 91 // Indalidate the parent series of the instance