MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::RangeProgress Class Reference

#include <MROpenVDBHelper.h>

Public Types

enum class  Mode { Mode::Leaves , Mode::Tiles }
 Mode of parallel_reduce. More...
 

Public Member Functions

 RangeProgress (ProgressCallback cb, size_t size, Mode mode)
 
void add (size_t l, size_t t)
 
bool reportProgress () const
 retorts progress if called from main thread, otherwise do nothing
 

Detailed Description

This class holds single progress counter for all parallel_reduce threads but report progress only in main thread


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