libsurf
Programmer's Documentation

Public Member Functions | Protected Attributes | List of all members
MgProgressCtrl Class Reference

Detailed Description

Progress indicator and control for MeshGenerator.

See Also
MeshGenerator

#include <meshgenerator.h>

Collaboration diagram for MgProgressCtrl:
[legend]

Public Member Functions

 MgProgressCtrl ()
 default controller counts only
 
virtual ~MgProgressCtrl ()
 virtual destructor
 
virtual void inc (uint k=1)
 log steps as complete
 
virtual uint progress () const
 access current state of progress
 
virtual void nsteps (uint n)
 register number of steps to perform
 
virtual uint nsteps () const
 access number of steps to perform
 
virtual bool interrupt () const
 query interrupt flag
 
virtual void interrupt (bool flag)
 set interrupt flag
 

Protected Attributes

Mutex guard
 synchronisation
 
uint step
 current step and number of steps
 
uint nstep
 
bool bStop
 interruption flag
 

The documentation for this class was generated from the following file:
Generated on Wed Jan 19 2022 03:03:16 for libsurf by   doxygen 1.8.5