OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::PrintHostJob Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/PrintHost.hpp>

Collaboration diagram for Slic3r::PrintHostJob:

Public Member Functions

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

Public Attributes

PrintHostUpload upload_data
std::unique_ptr< PrintHost > printhost
bool switch_to_device_tab {false}
bool cancelled = false

Detailed Description

Constructor & Destructor Documentation

◆ PrintHostJob() [1/4]

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

Referenced by PrintHostJob(), PrintHostJob(), operator=(), and operator=().

Here is the caller graph for this function:

◆ PrintHostJob() [2/4]

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

References PrintHostJob().

Here is the call graph for this function:

◆ PrintHostJob() [3/4]

Slic3r::PrintHostJob::PrintHostJob ( PrintHostJob && other)
inline
117 : upload_data(std::move(other.upload_data))
118 , printhost(std::move(other.printhost))
119 , switch_to_device_tab(other.switch_to_device_tab)
120 , cancelled(other.cancelled)
121 {}
bool cancelled
Definition PrintHost.hpp:112
PrintHostUpload upload_data
Definition PrintHost.hpp:109
bool switch_to_device_tab
Definition PrintHost.hpp:111
std::unique_ptr< PrintHost > printhost
Definition PrintHost.hpp:110

References PrintHostJob(), cancelled, printhost, switch_to_device_tab, and upload_data.

Here is the call graph for this function:

◆ PrintHostJob() [4/4]

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

References printhost.

Member Function Documentation

◆ empty()

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

References printhost.

Referenced by Slic3r::GUI::PrintHostQueueDialog::append_job(), Slic3r::GUI::Plater::priv::export_gcode(), and Slic3r::GUI::Plater::send_gcode_legacy().

Here is the caller graph for this function:

◆ operator bool()

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

References printhost.

◆ operator=() [1/2]

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

References PrintHostJob().

Here is the call graph for this function:

◆ operator=() [2/2]

PrintHostJob & Slic3r::PrintHostJob::operator= ( PrintHostJob && other)
inline
129 {
130 upload_data = std::move(other.upload_data);
131 printhost = std::move(other.printhost);
132 switch_to_device_tab = other.switch_to_device_tab;
133 cancelled = other.cancelled;
134 return *this;
135 }

References PrintHostJob(), cancelled, printhost, switch_to_device_tab, and upload_data.

Here is the call graph for this function:

Member Data Documentation

◆ cancelled

bool Slic3r::PrintHostJob::cancelled = false

Referenced by PrintHostJob(), and operator=().

◆ printhost

◆ switch_to_device_tab

bool Slic3r::PrintHostJob::switch_to_device_tab {false}

◆ upload_data


The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/PrintHost.hpp