Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::PrintHostJob Struct Reference

#include <src/slic3r/Utils/PrintHost.hpp>

+ Collaboration diagram for Slic3r::PrintHostJob:

Public Member Functions

 PrintHostJob ()
 
 PrintHostJob (const PrintHostJob &)=delete
 
 PrintHostJob (PrintHostJob &&other)
 
 PrintHostJob (DynamicPrintConfig *config)
 
PrintHostJoboperator= (const PrintHostJob &)=delete
 
PrintHostJoboperator= (PrintHostJob &&other)
 
bool empty () const
 
 operator bool () const
 

Public Attributes

PrintHostUpload upload_data
 
std::unique_ptr< PrintHostprinthost
 
bool cancelled = false
 

Detailed Description

Constructor & Destructor Documentation

◆ PrintHostJob() [1/4]

Slic3r::PrintHostJob::PrintHostJob ( )
inline
84{}

◆ PrintHostJob() [2/4]

Slic3r::PrintHostJob::PrintHostJob ( const PrintHostJob )
delete

◆ PrintHostJob() [3/4]

Slic3r::PrintHostJob::PrintHostJob ( PrintHostJob &&  other)
inline
87 : upload_data(std::move(other.upload_data))
88 , printhost(std::move(other.printhost))
89 , cancelled(other.cancelled)
90 {}
bool cancelled
Definition PrintHost.hpp:82
PrintHostUpload upload_data
Definition PrintHost.hpp:80
std::unique_ptr< PrintHost > printhost
Definition PrintHost.hpp:81

◆ PrintHostJob() [4/4]

Slic3r::PrintHostJob::PrintHostJob ( DynamicPrintConfig config)
inline
94 {}
static PrintHost * get_print_host(DynamicPrintConfig *config)
Definition PrintHost.cpp:34

Member Function Documentation

◆ empty()

bool Slic3r::PrintHostJob::empty ( ) const
inline
105{ return !printhost; }

References printhost.

Referenced by Slic3r::GUI::PrintHostQueueDialog::append_job(), Slic3r::GUI::Plater::priv::export_gcode(), Slic3r::BackgroundSlicingProcess::is_upload_scheduled(), Slic3r::BackgroundSlicingProcess::process_fff(), Slic3r::BackgroundSlicingProcess::process_sla(), and Slic3r::GUI::Plater::send_gcode().

+ Here is the caller graph for this function:

◆ operator bool()

Slic3r::PrintHostJob::operator bool ( ) const
inline
106{ return !!printhost; }

References printhost.

◆ operator=() [1/2]

PrintHostJob & Slic3r::PrintHostJob::operator= ( const PrintHostJob )
delete

◆ operator=() [2/2]

PrintHostJob & Slic3r::PrintHostJob::operator= ( PrintHostJob &&  other)
inline
98 {
99 upload_data = std::move(other.upload_data);
100 printhost = std::move(other.printhost);
101 cancelled = other.cancelled;
102 return *this;
103 }

References cancelled, printhost, and upload_data.

Member Data Documentation

◆ cancelled

bool Slic3r::PrintHostJob::cancelled = false

Referenced by operator=().

◆ printhost

◆ upload_data


The documentation for this struct was generated from the following file: