Definition at line 106 of file ImageCache.h. References mImages, and UpdateLRU(). Referenced by GetImage(), and Impala::Application::VideoExcel::TableViewCache::ProcessDelayLoad(). 00107 { 00108 /* todo: 00109 currently images are cached by row, assumption is only one image 00110 per row, we should also cache-verify the column. 00111 */ 00112 for (int i=0; i<mImages.size(); i++) 00113 { 00114 if (id == mImages[i]->first) { 00115 //ILOG_DEBUG("cache hit: " << id); 00116 UpdateLRU(i); 00117 return mImages[i]->second; 00118 } 00119 } 00120 return 0; 00121 }
Here is the call graph for this function:
|