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

virtual void Impala::Core::ImageSet::Reporter::HandleNewFile ( ImageSet is,
int  fileId,
Array::Array2dVec3UInt8 im,
Geometry::Rectangle  rect,
String  anno 
) [inline, virtual]

Arrived at given DB_FILE in a "bookmark" walk.

Reimplemented from Impala::Core::ImageSet::Listener.

Definition at line 99 of file Reporter.h.

References AllDoneFile(), ILOG_DEBUG, ILOG_INFO, Impala::Core::Array::ArraySystem::Instance(), mDoPrint, mMaster, mNrBookmarks, mNrDone, and mReport.

00101     {
00102         if (mMaster)
00103             ILOG_DEBUG("..   new file id = " << fileId);
00104         if (mMaster)
00105         {
00106             mMaster->AllDoneFile();
00107             return;
00108         }
00109         mDoPrint = false;
00110         mNrDone++;
00111         if ((mReport > 0) && (mNrDone % mReport == 0))
00112             mDoPrint = true;
00113         if (mDoPrint)
00114         {
00115             int nrFiles = mNrBookmarks;
00116             int perc = (int) (((double)mNrDone / (double)nrFiles) * 100);
00117             ILOG_INFO("--   file " << mNrDone << " of " << nrFiles
00118                       << " (at " << perc << "%)");
00119         }
00120         Array::ArraySystem::Instance().MarkMemoryUsage(false);
00121     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:07 2011 for ImpalaSrc by  doxygen 1.5.1