MCPcopy Create free account
hub / github.com/Kitware/VTK / UpdateProgress

Method UpdateProgress

IO/Geometry/vtkOpenFOAMReader.cxx:12118–12126  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

12116
12117//------------------------------------------------------------------------------
12118void vtkOpenFOAMReader::UpdateProgress(vtkOpenFOAMReaderPrivate* reader, double amount)
12119{
12120 // Update progress for the reader
12121 reader->SetProgress(amount);
12122 // lock the progress mutex
12123 std::lock_guard<std::mutex> lock(this->ProgressMutex);
12124 // update the progress
12125 this->vtkAlgorithm::UpdateProgress(this->GetProgress());
12126}
12127
12128#if VTK_OPENFOAM_TIME_PROFILING
12129//------------------------------------------------------------------------------

Callers 15

ParseZonesMethod · 0.45
RequestDataMethod · 0.45
DoProgressUpdateMethod · 0.45
RequestDataMethod · 0.45
ReadGeometryFileMethod · 0.45
ReadBinarySTLMethod · 0.45
ReadASCIISTLMethod · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45

Calls 2

SetProgressMethod · 0.80
GetProgressMethod · 0.45

Tested by

no test coverage detected