![]() |
Prusa Slicer 2.6.0
|
Collaboration diagram for Slic3r::PrintHostJobQueue::priv:Public Member Functions | |
| priv (PrintHostJobQueue *q) | |
| void | emit_progress (int progress) |
| void | emit_error (wxString error) |
| void | emit_cancel (size_t id) |
| void | emit_info (wxString tag, wxString status) |
| void | start_bg_thread () |
| void | stop_bg_thread () |
| void | bg_thread_main () |
| void | progress_fn (Http::Progress progress, bool &cancel) |
| void | error_fn (wxString error) |
| void | info_fn (wxString tag, wxString status) |
| void | remove_source (const fs::path &path) |
| void | remove_source () |
| void | perform_job (PrintHostJob the_job) |
Public Attributes | |
| PrintHostJobQueue * | q |
| Channel< PrintHostJob > | channel_jobs |
| Channel< size_t > | channel_cancels |
| size_t | job_id = 0 |
| int | prev_progress = -1 |
| fs::path | source_to_remove |
| std::thread | bg_thread |
| bool | bg_exit = false |
| PrintHostQueueDialog * | queue_dialog |
|
inline |
| void Slic3r::PrintHostJobQueue::priv::bg_thread_main | ( | ) |
| void Slic3r::PrintHostJobQueue::priv::emit_cancel | ( | size_t | id | ) |
| void Slic3r::PrintHostJobQueue::priv::emit_error | ( | wxString | error | ) |
References error.
| void Slic3r::PrintHostJobQueue::priv::emit_info | ( | wxString | tag, |
| wxString | status | ||
| ) |
| void Slic3r::PrintHostJobQueue::priv::emit_progress | ( | int | progress | ) |
References job_id, and queue_dialog.
| void Slic3r::PrintHostJobQueue::priv::error_fn | ( | wxString | error | ) |
References error.
| void Slic3r::PrintHostJobQueue::priv::info_fn | ( | wxString | tag, |
| wxString | status | ||
| ) |
| void Slic3r::PrintHostJobQueue::priv::perform_job | ( | PrintHostJob | the_job | ) |
References Slic3r::PrintHostJobQueue::cancel(), error, Slic3r::PrintHostJob::printhost, and Slic3r::PrintHostJob::upload_data.
Here is the call graph for this function:| void Slic3r::PrintHostJobQueue::priv::progress_fn | ( | Http::Progress | progress, |
| bool & | cancel | ||
| ) |
References Slic3r::PrintHostJobQueue::cancel(), Slic3r::Http::Progress::ulnow, and Slic3r::Http::Progress::ultotal.
Here is the call graph for this function:| void Slic3r::PrintHostJobQueue::priv::remove_source | ( | ) |
| void Slic3r::PrintHostJobQueue::priv::start_bg_thread | ( | ) |
| void Slic3r::PrintHostJobQueue::priv::stop_bg_thread | ( | ) |
| bool Slic3r::PrintHostJobQueue::priv::bg_exit = false |
| std::thread Slic3r::PrintHostJobQueue::priv::bg_thread |
| Channel<size_t> Slic3r::PrintHostJobQueue::priv::channel_cancels |
| Channel<PrintHostJob> Slic3r::PrintHostJobQueue::priv::channel_jobs |
| size_t Slic3r::PrintHostJobQueue::priv::job_id = 0 |
Referenced by emit_progress().
| int Slic3r::PrintHostJobQueue::priv::prev_progress = -1 |
| PrintHostJobQueue* Slic3r::PrintHostJobQueue::priv::q |
| PrintHostQueueDialog* Slic3r::PrintHostJobQueue::priv::queue_dialog |
Referenced by emit_progress().
| fs::path Slic3r::PrintHostJobQueue::priv::source_to_remove |