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

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

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

Definition at line 55 of file ThreadTime.h.

References mFirst, mNrShots, and mVid.

00056     {
00057 //        SetOrigin(shot); // is this what we want??
00058         if (mVid == -1)
00059             return -1;
00060         int dst = shot + offset;
00061         if ((dst < mFirst) || (dst >= mFirst + mNrShots))
00062             return -1;
00063         return dst;
00064     }


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