Easy3D 2.5.3
ProgressLogger Class Reference

An implementation of progress logging mechanism. More...

#include <easy3d/util/progress.h>

Public Member Functions

 ProgressLogger (std::size_t max_val, bool update_viewer, bool quiet=false)
 
virtual void notify (std::size_t new_value)
 
virtual void next ()
 
virtual void done ()
 
bool is_canceled () const
 
void reset ()
 Resets the progress logger without changing the progress range.
 
void reset (std::size_t max_val)
 Resets the progress logger, and meanwhile changes the progress range.
 

Detailed Description

An implementation of progress logging mechanism.

Constructor & Destructor Documentation

◆ ProgressLogger()

ProgressLogger ( std::size_t  max_val,
bool  update_viewer,
bool  quiet = false 
)
Parameters
max_valThe max value (i.e., upper bound) of the progress range.
update_viewertrue to trigger the viewer to update for each step.
quiettrue to make the logger quiet (i.e., don't notify the client).

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