MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ParallelProgressReporter::PerTaskReporter Struct Reference

#include <MRParallelProgressReporter.h>

Public Member Functions

MRMESH_API bool operator() (float p) const
 

Public Attributes

ParallelProgressReporterreporter_ = nullptr
 
TaskInfotask_ = nullptr
 

Detailed Description

Local reporter. It should be passed as a callback to task.

Note
One local reporter must not be invoked concurrently.

Member Function Documentation

◆ operator()()

MRMESH_API bool MR::ParallelProgressReporter::PerTaskReporter::operator() ( float p) const

Member Data Documentation

◆ reporter_

ParallelProgressReporter* MR::ParallelProgressReporter::PerTaskReporter::reporter_ = nullptr

◆ task_

TaskInfo* MR::ParallelProgressReporter::PerTaskReporter::task_ = nullptr

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