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

void Impala::Util::ProgressPrinter::Start ( const std::string &  name,
int  range 
) [inline]

Definition at line 34 of file ProgressPrinter.h.

References mDoShow, mLinewidth, mMinimumBarLength, mName, mProgressBarLength, mRange, mSpinner, and WriteLine().

00035     {
00036         if (mDoShow)
00037         {
00038             mSpinner = 0;
00039             mName = name;
00040             mRange = range;
00041             if(mName.size() > mLinewidth - 10 - mMinimumBarLength)
00042                 mName = mName.substr(0, mLinewidth - 10 - mMinimumBarLength - 3) + "...";
00043             mProgressBarLength = mLinewidth - 10 - mName.size();
00044             WriteLine(0);
00045         }
00046     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:41:04 2010 for ImpalaSrc by  doxygen 1.5.1