![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/Utils/Repetier.hpp>
Inheritance diagram for Slic3r::Repetier:
Collaboration diagram for Slic3r::Repetier:Public Types | |
| typedef Http::ProgressFn | ProgressFn |
| typedef std::function< void(wxString)> | ErrorFn |
| typedef std::function< void(wxString, wxString)> | InfoFn |
Public Member Functions | |
| Repetier (DynamicPrintConfig *config) | |
| ~Repetier () override=default | |
| const char * | get_name () const override |
| bool | test (wxString &curl_msg) const override |
| wxString | get_test_ok_msg () const override |
| wxString | get_test_failed_msg (wxString &msg) const override |
| bool | upload (PrintHostUpload upload_data, ProgressFn prorgess_fn, ErrorFn error_fn, InfoFn info_fn) const override |
| bool | has_auto_discovery () const override |
| bool | can_test () const override |
| PrintHostPostUploadActions | get_post_upload_actions () const override |
| bool | supports_multiple_printers () const override |
| std::string | get_host () const override |
| bool | get_groups (wxArrayString &groups) const override |
| bool | get_printers (wxArrayString &printers) const override |
| virtual bool | get_storage (wxArrayString &, wxArrayString &) const |
Static Public Member Functions | |
| static PrintHost * | get_print_host (DynamicPrintConfig *config) |
Protected Member Functions | |
| virtual wxString | format_error (const std::string &body, const std::string &error, unsigned status) const |
Private Member Functions | |
| void | set_auth (Http &http) const |
| std::string | make_url (const std::string &path) const |
Private Attributes | |
| std::string | host |
| std::string | apikey |
| std::string | cafile |
| std::string | port |
|
inherited |
|
inherited |
|
inherited |
| Slic3r::Repetier::Repetier | ( | DynamicPrintConfig * | config | ) |
|
overridedefault |
|
inlineoverridevirtual |
Implements Slic3r::PrintHost.
|
protectedvirtualinherited |
References error.
Referenced by Slic3r::Duet::connect(), Slic3r::PrusaLink::post_inner(), Slic3r::PrusaLink::put_inner(), Slic3r::Duet::start_print(), Slic3r::AstroBox::test(), Slic3r::FlashAir::test(), Slic3r::Moonraker::test(), Slic3r::OctoPrint::test(), Slic3r::PrusaLink::test(), test(), Slic3r::PrusaLink::test_with_method_check(), Slic3r::AstroBox::upload(), Slic3r::Duet::upload(), Slic3r::FlashAir::upload(), Slic3r::MKS::upload(), Slic3r::Moonraker::upload(), upload(), and Slic3r::OctoPrint::upload_inner_with_host().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from Slic3r::PrintHost.
References _L, error, Slic3r::GUI::from_u8(), Slic3r::Http::get(), get_name(), make_url(), port, and set_auth().
Here is the call graph for this function:
|
inlineoverridevirtual |
|
overridevirtual |
Implements Slic3r::PrintHost.
Referenced by get_groups(), get_printers(), test(), and upload().
Here is the caller graph for this function:
|
inlineoverridevirtual |
|
staticinherited |
References Slic3r::htAstroBox, Slic3r::htDuet, Slic3r::htFlashAir, Slic3r::htMKS, Slic3r::htMoonraker, Slic3r::htOctoPrint, Slic3r::htPrusaConnect, Slic3r::htPrusaLink, Slic3r::htRepetier, Slic3r::ConfigBase::option(), Slic3r::ptFFF, and Slic3r::ConfigOptionSingle< T >::value.
Referenced by Slic3r::GUI::PhysicalPrinterDialog::build_printhost_settings(), Slic3r::GUI::PhysicalPrinterDialog::update_printers(), and Slic3r::GUI::PhysicalPrinterDialog::update_printhost_buttons().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from Slic3r::PrintHost.
References _L, error, Slic3r::GUI::format(), Slic3r::GUI::from_u8(), Slic3r::Http::get(), get_name(), make_url(), port, and set_auth().
Here is the call graph for this function:
|
inlinevirtualinherited |
Reimplemented in Slic3r::PrusaLink, and Slic3r::PrusaConnect.
|
overridevirtual |
Implements Slic3r::PrintHost.
References _L, and Slic3r::GUI::format_wxstr().
Here is the call graph for this function:
|
overridevirtual |
|
inlineoverridevirtual |
Implements Slic3r::PrintHost.
|
private |
References host.
Referenced by get_groups(), get_printers(), test(), and upload().
Here is the caller graph for this function:References apikey, Slic3r::Http::ca_file(), cafile, and Slic3r::Http::header().
Referenced by get_groups(), get_printers(), test(), and upload().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from Slic3r::PrintHost.
|
overridevirtual |
Implements Slic3r::PrintHost.
References _L, error, Slic3r::PrintHost::format_error(), Slic3r::GUI::format_wxstr(), Slic3r::Http::get(), get_name(), make_url(), set_auth(), and Slic3r::validate_repetier().
Referenced by upload().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements Slic3r::PrintHost.
References _u8L, error, Slic3r::PrintHost::format_error(), get_name(), Slic3r::PrintHostUpload::group, make_url(), port, Slic3r::Http::post(), Slic3r::PrintHostUpload::post_action, set_auth(), Slic3r::PrintHostUpload::source_path, Slic3r::StartPrint, test(), and Slic3r::PrintHostUpload::upload_path.
Here is the call graph for this function:
|
private |
Referenced by set_auth().
|
private |
Referenced by set_auth().
|
private |
Referenced by get_host(), and make_url().
|
private |
Referenced by get_groups(), get_printers(), and upload().