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

virtual int Impala::Core::Trec::ThreadHistory::GetShotAt ( int  shot,
int  offset 
) [inline, virtual]

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

Definition at line 46 of file ThreadHistory.h.

References GetShotPosition(), and mHistory.

00047     {
00048         int r = GetShotPosition(shot);
00049         if (r == -1)
00050             return -1;
00051         int dst = r + offset;
00052         if ((dst < 0) || (dst >= mHistory->size()))
00053             return -1;
00054         return (*mHistory)[dst];
00055     }

Here is the call graph for this function:


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