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 }
|