28 if ((!m_Buffer.empty()) && (this->GetNumberOfInputs() != m_Buffer.front().second.size()))
30 decltype(m_Buffer) tmp;
38 std::vector<mitk::NavigationData::Pointer> ndList;
39 for (
unsigned int i = 0; i < this->GetNumberOfInputs() ; ++i)
41 mitk::NavigationData::Pointer nd = mitk::NavigationData::New();
42 nd->Graft(this->GetInput(i));
46 m_Buffer.push( std::make_pair(now.GetMTime(), ndList) );
51 bool foundCurrent =
false;
53 while ( (m_Buffer.size() > 0) && (m_Buffer.front().first + m_Delay <= now.GetMTime() + m_Tolerance ) )
56 current = m_Buffer.front();
61 if ( !foundCurrent)
return;
63 for (
unsigned int i = 0; i < this->GetNumberOfOutputs() ; ++i)
72 output->SetDataValid(
false);
76 output->SetDataValid(
true);