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,
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 91 of file Reporter.h.

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

00093     {
00094         if (mMaster)
00095             ILOG_DEBUG("..   new file id = " << fileId);
00096         if (mMaster)
00097         {
00098             mMaster->AllDoneFile();
00099             return;
00100         }
00101         mDoPrint = false;
00102         mNrDone++;
00103         if ((mReport > 0) && (mNrDone % mReport == 0))
00104             mDoPrint = true;
00105         if (mDoPrint)
00106         {
00107             int nrFiles = mNrBookmarks;
00108             int perc = (int) (((double)mNrDone / (double)nrFiles) * 100);
00109             ILOG_INFO("--   file " << mNrDone << " of " << nrFiles
00110                       << " (at " << perc << "%)");
00111         }
00112         Array::ArraySystem::Instance().MarkMemoryUsage(false);
00113     }

Here is the call graph for this function:


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