![]() |
Prusa Slicer 2.6.0
|
Generic progress indication interface. More...
#include <src/slic3r/GUI/Jobs/ProgressIndicator.hpp>
Inheritance diagram for Slic3r::ProgressIndicator:Public Types | |
| using | CancelFn = std::function< void()> |
| Cancel callback function type. | |
Public Member Functions | |
| virtual | ~ProgressIndicator ()=default |
| virtual void | set_range (int range)=0 |
| virtual void | set_cancel_callback (CancelFn=CancelFn())=0 |
| virtual void | set_progress (int pr)=0 |
| virtual void | set_status_text (const char *)=0 |
| virtual int | get_range () const =0 |
Generic progress indication interface.
| using Slic3r::ProgressIndicator::CancelFn = std::function<void()> |
Cancel callback function type.
|
virtualdefault |
|
pure virtual |
Implemented in Slic3r::GUI::NotificationProgressIndicator, and Slic3r::ProgressStatusBar.
Implemented in Slic3r::GUI::NotificationProgressIndicator, and Slic3r::ProgressStatusBar.
|
pure virtual |
Implemented in Slic3r::GUI::NotificationProgressIndicator, and Slic3r::ProgressStatusBar.
Referenced by Slic3r::GUI::BoostThreadWorker::WorkerMessage::deliver().
Here is the caller graph for this function:
|
pure virtual |
Implemented in Slic3r::GUI::NotificationProgressIndicator, and Slic3r::ProgressStatusBar.
Implemented in Slic3r::GUI::NotificationProgressIndicator, and Slic3r::ProgressStatusBar.
Referenced by Slic3r::GUI::BoostThreadWorker::WorkerMessage::deliver().
Here is the caller graph for this function: