Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

virtual int Impala::Core::Trec::ThreadVirtual::GetShotPosition ( int  shot  )  [inline, virtual]

Implements Impala::Core::Trec::Thread.

Definition at line 66 of file ThreadVirtual.h.

References mThreads.

Referenced by GetShotAt().

00067     {
00068         int pos = 0;
00069         for (int i=0; i<mThreads.size();i++)
00070         {
00071             int r = mThreads[i]->GetShotPosition(shot);
00072             if (r != -1)
00073                 return pos + r;
00074             else
00075                 pos += mThreads[i]->GetLength();
00076         }
00077         return -1;
00078     }


Generated on Thu Jan 13 09:21:33 2011 for ImpalaSrc by  doxygen 1.5.1