comparison Core/JobsEngine/Operations/SequenceOfOperationsJob.cpp @ 3850:d729d6e8b484

removing useless abstraction IDicomConnectionManager
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 20 Apr 2020 14:45:21 +0200
parents 56f2397f027a
children 6498739a3c3c
comparison
equal deleted inserted replaced
3849:8c96b20fb275 3850:d729d6e8b484
125 bool IsDone() const 125 bool IsDone() const
126 { 126 {
127 return currentInput_ >= originalInputs_->GetSize() + workInputs_->GetSize(); 127 return currentInput_ >= originalInputs_->GetSize() + workInputs_->GetSize();
128 } 128 }
129 129
130 void Step(IDicomConnectionManager& connectionManager) 130 void Step(TimeoutDicomConnectionManager& connectionManager)
131 { 131 {
132 if (IsDone()) 132 if (IsDone())
133 { 133 {
134 throw OrthancException(ErrorCode_BadSequenceOfCalls); 134 throw OrthancException(ErrorCode_BadSequenceOfCalls);
135 } 135 }