Definition at line 68 of file ThreadSet.h. References AddThreadShots(), Impala::Core::Trec::Thread::GetLength(), Impala::Core::Trec::Thread::GetName(), Impala::Core::Trec::Thread::GetShot(), GetThreadByName(), and ILOG_DEBUG. Referenced by Impala::Visualization::RotorBrowser::RotorBrowser::DoReturnToFirstQuery(), Impala::Visualization::RotorBrowser::RotorBrowser::DoShowBookmarksThread(), and Impala::Visualization::RotorBrowser::RotorBrowser::DoVisualQuery(). 00069 { 00070 std::list<ShotResult> list; 00071 if (input != 0 && GetThreadByName("shots_" + output) == 0) 00072 { 00073 ILOG_DEBUG("Copying thread " << input->GetName() << " to shots_" << 00074 output<<" (" << input->GetLength() << " shots to copy)"); 00075 for (int i=0; i<input->GetLength(); i++) 00076 { 00077 ShotResult r; 00078 r.shotid = input->GetShot(i); 00079 r.rank = i+1; 00080 r.score = 1.0; 00081 list.push_back(r); 00082 } 00083 AddThreadShots(output, list); 00084 } 00085 }
Here is the call graph for this function:
|