OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::Worker Class Referenceabstract

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Jobs/Worker.hpp>

Inheritance diagram for Slic3r::GUI::Worker:

Public Member Functions

virtual bool push (std::shared_ptr< Job > job)=0
virtual bool is_idle () const =0
virtual void cancel ()=0
virtual void cancel_all ()=0
virtual void process_events ()=0
virtual bool wait_for_current_job (unsigned timeout_ms=0)=0
virtual bool wait_for_idle (unsigned timeout_ms=0)=0
virtual ~Worker ()=default

Detailed Description

Constructor & Destructor Documentation

◆ ~Worker()

virtual Slic3r::GUI::Worker::~Worker ( )
virtualdefault

Member Function Documentation

◆ cancel()

virtual void Slic3r::GUI::Worker::cancel ( )
pure virtual

Implemented in Slic3r::GUI::BoostThreadWorker, Slic3r::GUI::PlaterWorker< WorkerSubclass >, and Slic3r::GUI::PlaterWorker< Slic3r::GUI::BoostThreadWorker >.

Referenced by Slic3r::GUI::stop_current_job().

Here is the caller graph for this function:

◆ cancel_all()

virtual void Slic3r::GUI::Worker::cancel_all ( )
pure virtual

Implemented in Slic3r::GUI::BoostThreadWorker, Slic3r::GUI::PlaterWorker< WorkerSubclass >, and Slic3r::GUI::PlaterWorker< Slic3r::GUI::BoostThreadWorker >.

Referenced by Slic3r::GUI::Plater::remove_selected(), Slic3r::GUI::replace_job(), Slic3r::GUI::Plater::set_selected_visible(), and Slic3r::GUI::stop_queue().

Here is the caller graph for this function:

◆ is_idle()

virtual bool Slic3r::GUI::Worker::is_idle ( ) const
pure virtual

◆ process_events()

virtual void Slic3r::GUI::Worker::process_events ( )
pure virtual

◆ push()

virtual bool Slic3r::GUI::Worker::push ( std::shared_ptr< Job > job)
pure virtual

Implemented in Slic3r::GUI::BoostThreadWorker, Slic3r::GUI::PlaterWorker< WorkerSubclass >, and Slic3r::GUI::PlaterWorker< Slic3r::GUI::BoostThreadWorker >.

Referenced by Slic3r::GUI::queue_job().

Here is the caller graph for this function:

◆ wait_for_current_job()

virtual bool Slic3r::GUI::Worker::wait_for_current_job ( unsigned timeout_ms = 0)
pure virtual

Implemented in Slic3r::GUI::BoostThreadWorker, Slic3r::GUI::PlaterWorker< WorkerSubclass >, and Slic3r::GUI::PlaterWorker< Slic3r::GUI::BoostThreadWorker >.

Referenced by Slic3r::GUI::stop_current_job().

Here is the caller graph for this function:

◆ wait_for_idle()

virtual bool Slic3r::GUI::Worker::wait_for_idle ( unsigned timeout_ms = 0)
pure virtual

Implemented in Slic3r::GUI::BoostThreadWorker, Slic3r::GUI::PlaterWorker< WorkerSubclass >, and Slic3r::GUI::PlaterWorker< Slic3r::GUI::BoostThreadWorker >.

Referenced by Slic3r::GUI::stop_queue().

Here is the caller graph for this function:

The documentation for this class was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Jobs/Worker.hpp