Mercurial > hg > orthanc-stone
comparison Framework/Loaders/OrthancSeriesVolumeProgressiveLoader.cpp @ 933:f75f6cb69c1b
Commented-out traces for debug
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 26 Jul 2019 20:09:42 +0200 |
parents | 2b4b6b86520a |
children | 401808e7ff2e |
comparison
equal
deleted
inserted
replaced
932:061a58c0011a | 933:f75f6cb69c1b |
---|---|
448 } | 448 } |
449 | 449 |
450 | 450 |
451 void OrthancSeriesVolumeProgressiveLoader::LoadSeries(const std::string& seriesId) | 451 void OrthancSeriesVolumeProgressiveLoader::LoadSeries(const std::string& seriesId) |
452 { | 452 { |
453 // LOG(TRACE) << "OrthancSeriesVolumeProgressiveLoader::LoadSeries seriesId=" << seriesId; | |
453 if (active_) | 454 if (active_) |
454 { | 455 { |
456 // LOG(TRACE) << "OrthancSeriesVolumeProgressiveLoader::LoadSeries NOT ACTIVE! --> ERROR"; | |
455 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); | 457 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); |
456 } | 458 } |
457 else | 459 else |
458 { | 460 { |
459 active_ = true; | 461 active_ = true; |
460 | 462 |
461 std::auto_ptr<OrthancRestApiCommand> command(new OrthancRestApiCommand); | 463 std::auto_ptr<OrthancRestApiCommand> command(new OrthancRestApiCommand); |
462 command->SetUri("/series/" + seriesId + "/instances-tags"); | 464 command->SetUri("/series/" + seriesId + "/instances-tags"); |
463 | 465 |
466 // LOG(TRACE) << "OrthancSeriesVolumeProgressiveLoader::LoadSeries about to call oracle_.Schedule"; | |
464 oracle_.Schedule(*this, command.release()); | 467 oracle_.Schedule(*this, command.release()); |
468 // LOG(TRACE) << "OrthancSeriesVolumeProgressiveLoader::LoadSeries called oracle_.Schedule"; | |
465 } | 469 } |
466 } | 470 } |
467 | 471 |
468 | 472 |
469 IVolumeSlicer::IExtractedSlice* | 473 IVolumeSlicer::IExtractedSlice* |