Tulip  4.3.0
Better Visualization Through Research
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Groups Pages
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 underleying 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 35 of file PluginProgress.h.

Member Function Documentation

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

Called back after PluginProgress::progress has been invoked.