27#ifndef vtkSMPProgressObserver_h
28#define vtkSMPProgressObserver_h
30#include "vtkCommonExecutionModelModule.h"
a simple class to control print indentation
Basic class to optionally replace vtkAlgorithm progress functionality.
Progress observer that is thread safe.
vtkSMPThreadLocalObject< vtkProgressObserver > Observers
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkProgressObserver * GetLocalObserver()
Returns the progress observer local to the thread it was called from.
void UpdateProgress(double progress) override
Passes the progress event to a thread local ProgressObserver instance.
static vtkSMPProgressObserver * New()
~vtkSMPProgressObserver() override