ProgressReporter Struct Reference

#include <pbrt.h>

List of all members.

Public Member Functions

 ProgressReporter (int totalWork, const string &title, int barLength=58)
 ~ProgressReporter ()
void Update (int num=1) const
void Done () const
 ProgressReporter (int totalWork, const string &title, int barLength=58)
 ~ProgressReporter ()
void Update (int num=1) const
void Done () const

Public Attributes

const int totalPlusses
float frequency
float count
int plussesPrinted
Timertimer
FILE * outFile
char * buf
char * curSpace


Detailed Description

Definition at line 271 of file pbrt.h.


Constructor & Destructor Documentation

ProgressReporter::ProgressReporter ( int  totalWork,
const string &  title,
int  barLength = 58 
)

Definition at line 403 of file util.cpp.

References buf, count, curSpace, frequency, outFile, plussesPrinted, Timer::Start(), timer, and totalPlusses.

ProgressReporter::~ProgressReporter (  ) 

Definition at line 425 of file util.cpp.

References buf, and timer.

ProgressReporter::ProgressReporter ( int  totalWork,
const string &  title,
int  barLength = 58 
)

ProgressReporter::~ProgressReporter (  ) 


Member Function Documentation

void ProgressReporter::Update ( int  num = 1  )  const

void ProgressReporter::Done (  )  const

void ProgressReporter::Update ( int  num = 1  )  const

void ProgressReporter::Done (  )  const


Member Data Documentation

Definition at line 279 of file pbrt.h.

Referenced by Done(), ProgressReporter(), and Update().

Definition at line 280 of file pbrt.h.

Referenced by ProgressReporter(), and Update().

float ProgressReporter::count [mutable]

Definition at line 281 of file pbrt.h.

Referenced by ProgressReporter(), and Update().

Definition at line 282 of file pbrt.h.

Referenced by Done(), ProgressReporter(), and Update().

Definition at line 283 of file pbrt.h.

Referenced by Done(), ProgressReporter(), Update(), and ~ProgressReporter().

Definition at line 284 of file pbrt.h.

Referenced by Done(), ProgressReporter(), and Update().

Definition at line 285 of file pbrt.h.

Referenced by Done(), ProgressReporter(), Update(), and ~ProgressReporter().

char * ProgressReporter::curSpace [mutable]

Definition at line 286 of file pbrt.h.

Referenced by Done(), ProgressReporter(), and Update().


The documentation for this struct was generated from the following files:

Generated on Mon Jul 20 17:31:55 2009 for pbrt by  doxygen 1.5.6