Implements Impala::Core::Trec::Thread. Definition at line 34 of file ThreadVirtual.h. References GetLength(), and mThreads. Referenced by GetShotAt(). 00035 { 00036 if ((position < 0) || (position >= GetLength())) 00037 return -1; 00038 00039 for (int i=0; i<mThreads.size();i++) 00040 { 00041 if (position < mThreads[i]->GetLength()) 00042 return mThreads[i]->GetShot(position); 00043 else 00044 position -= mThreads[i]->GetLength(); 00045 } 00046 return -1; 00047 }
Here is the call graph for this function:
|