![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/GUI/BackgroundSlicingProcess.hpp>
Inheritance diagram for Slic3r::SlicingProcessCompletedEvent:
Collaboration diagram for Slic3r::SlicingProcessCompletedEvent:Public Types | |
| enum | StatusType { Finished , Cancelled , Error } |
Public Member Functions | |
| SlicingProcessCompletedEvent (wxEventType eventType, int winid, StatusType status, std::exception_ptr exception) | |
| virtual wxEvent * | Clone () const |
| StatusType | status () const |
| bool | finished () const |
| bool | success () const |
| bool | cancelled () const |
| bool | error () const |
| bool | critical_error () const |
| bool | invalidate_plater () const |
| void | rethrow_exception () const |
| std::pair< std::string, bool > | format_error_message () const |
Private Attributes | |
| StatusType | m_status |
| std::exception_ptr | m_exception |
|
inline |
|
inline |
References Cancelled, and m_status.
Referenced by Slic3r::GUI::Plater::priv::on_process_completed().
Here is the caller graph for this function:
|
inlinevirtual |
Referenced by Slic3r::BackgroundSlicingProcess::thread_proc().
Here is the caller graph for this function:| bool Slic3r::SlicingProcessCompletedEvent::critical_error | ( | ) | const |
References rethrow_exception().
Referenced by invalidate_plater(), and Slic3r::GUI::Plater::priv::on_process_completed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Error, and m_status.
Referenced by format_error_message(), Slic3r::GUI::Plater::priv::on_process_completed(), and rethrow_exception().
Here is the caller graph for this function:
|
inline |
| std::pair< std::string, bool > Slic3r::SlicingProcessCompletedEvent::format_error_message | ( | ) | const |
References _L, _u8L, error(), Slic3r::GUI::format(), and rethrow_exception().
Referenced by Slic3r::GUI::Plater::priv::on_process_completed().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::SlicingProcessCompletedEvent::invalidate_plater | ( | ) | const |
References critical_error(), and rethrow_exception().
Referenced by Slic3r::GUI::Plater::priv::on_process_completed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References error(), and m_exception.
Referenced by critical_error(), format_error_message(), and invalidate_plater().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
References Finished, and m_status.
Referenced by Slic3r::GUI::Plater::priv::on_process_completed().
Here is the caller graph for this function:
|
private |
Referenced by rethrow_exception().
|
private |
Referenced by cancelled(), error(), finished(), status(), and success().