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

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

Arrived at given DB_FILE in a "normal" walk.

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

Definition at line 75 of file Reporter.h.

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

00076     {
00077         if (mMaster)
00078             ILOG_DEBUG("..   new file id = " << fileId);
00079         if (mMaster)
00080         {
00081             mMaster->AllDoneFile();
00082             return;
00083         }
00084         mDoPrint = false;
00085         mNrDone++;
00086         if ((mReport > 0) && (mNrDone % mReport == 0))
00087             mDoPrint = true;
00088         if (mDoPrint)
00089         {
00090             int nrFiles = is->NrFiles();
00091             int perc = (int) (((double) fileId / (double) nrFiles) * 100);
00092             ILOG_INFO("--   file " << fileId << " of " << nrFiles
00093                       << " (at " << perc << "%); did " << mNrDone);
00094         }
00095         Array::ArraySystem::Instance().MarkMemoryUsage(false);
00096     }

Here is the call graph for this function:


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