Definition at line 211 of file ImageCache.h. References Impala::Application::VideoExcel::TableDataSource::GetTotalRows(), ILOG_DEBUG, ILOG_INFO, LoadImage(), mCacheSize, and mSource. Referenced by Impala::Application::VideoExcel::VideoExcel::Init(). 00212 { 00213 // only works if there is one image column in the DataSource 00214 int preload = mCacheSize; 00215 if (mSource->GetTotalRows() < mCacheSize) 00216 preload = mSource->GetTotalRows(); 00217 ILOG_INFO("Preloading " << preload << " images..."); 00218 for (int i=0; i<preload; i++) 00219 { 00220 if (i%100==0) 00221 ILOG_DEBUG("Preloading image " << i << " of " << preload); 00222 LoadImage(i, ""); 00223 } 00224 }
Here is the call graph for this function:
|