Home || Architecture || Video Search || Visual Search || Scripts || Applications || 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 67 of file Reporter.h.

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

00068     {
00069         if (mMaster)
00070             ILOG_DEBUG("..   new file id = " << fileId);
00071         if (mMaster)
00072         {
00073             mMaster->AllDoneFile();
00074             return;
00075         }
00076         mDoPrint = false;
00077         mNrDone++;
00078         if ((mReport > 0) && (mNrDone % mReport == 0))
00079             mDoPrint = true;
00080         if (mDoPrint)
00081         {
00082             int nrFiles = is->NrFiles();
00083             int perc = (int) (((double) fileId / (double) nrFiles) * 100);
00084             ILOG_INFO("--   file " << fileId << " of " << nrFiles
00085                       << " (at " << perc << "%); did " << mNrDone);
00086         }
00087         Array::ArraySystem::Instance().MarkMemoryUsage(false);
00088     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:15:21 2010 for ImpalaSrc by  doxygen 1.5.1