ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::utility::CountingProgressReporter Class Reference

#include <ProgressReporters.h>

Public Member Functions

 CountingProgressReporter (std::function< bool(double)> f)
 
void SetTotal (int64_t total)
 
bool Update (int64_t count)
 
void Finish ()
 
void operator++ ()
 

Detailed Description

Progress reporting through update_progress(double percent) function. If you have a set number of items to process (or bytes to load), CountingProgressReporter will convert that to percentages (you still have to specify how many items you have, of course)

Constructor & Destructor Documentation

◆ CountingProgressReporter()

cloudViewer::utility::CountingProgressReporter::CountingProgressReporter ( std::function< bool(double)>  f)
inline

Member Function Documentation

◆ Finish()

◆ operator++()

void cloudViewer::utility::CountingProgressReporter::operator++ ( )
inline

◆ SetTotal()

◆ Update()


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