Tulip  5.3.1
Large graphs analysis and drawing
tlp::ProgressPreviewHandler Class Referenceabstract

#include <PluginProgress.h>

Public Member Functions

virtual void progressStateChanged (int step, int max_step)=0
 

Detailed Description

The ProgressPreviewHandler class handles the way a process handled by a PluginProgress is handled.

When PluginProgress::setPreview() is called, the associated ProgressPreviewHandler will be enabled. Allowing it to implement custom behavior to allow the user to preview the result of the underlaying process Once enabled, the progressStateChanged method will be called back each time PluginProgress::progress is called to allow synchronizing the preview with progression.

Definition at line 39 of file PluginProgress.h.

Member Function Documentation

◆ progressStateChanged()

virtual void tlp::ProgressPreviewHandler::progressStateChanged ( int  step,
int  max_step 
)
pure virtual

Called back after PluginProgress::progress has been invoked.