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

int Impala::Application::MediaTable::TableViewCache::GetUnusedIndexFromCache (  )  [inline]

Definition at line 37 of file TableViewCache.h.

References ILOG_DEBUG, mLRU, mQuidToView, and UpdateLRU().

Referenced by ShowView().

00038     {
00039         int item = mLRU.front();
00040         UpdateLRU(item);
00041                 std::map<unsigned long long, int>::iterator iter;
00042                 for(iter = mQuidToView.begin(); iter != mQuidToView.end(); iter++)
00043                         if(iter->second == item)
00044                         {
00045                                 ILOG_DEBUG("Bye bye " << iter->first);
00046                                 mQuidToView.erase(iter);
00047                                 break;
00048                         }
00049         return item;
00050     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:35 2011 for ImpalaSrc by  doxygen 1.5.1