![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/Utils/AstroBox.hpp>
Inheritance diagram for Slic3r::AstroBox:
Collaboration diagram for Slic3r::AstroBox:Public Types | |
| typedef Http::ProgressFn | ProgressFn |
| typedef std::function< void(wxString)> | ErrorFn |
| typedef std::function< void(wxString, wxString)> | InfoFn |
Public Member Functions | |
| AstroBox (DynamicPrintConfig *config) | |
| ~AstroBox () 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 |
| std::string | get_host () const override |
| virtual bool | supports_multiple_printers () const |
| virtual bool | get_groups (wxArrayString &) const |
| virtual bool | get_printers (wxArrayString &) const |
| virtual bool | get_storage (wxArrayString &, wxArrayString &) const |
Static Public Member Functions | |
| static PrintHost * | get_print_host (DynamicPrintConfig *config) |
Protected Member Functions | |
| bool | validate_version_text (const boost::optional< std::string > &version_text) const |
| 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 |
|
inherited |
|
inherited |
|
inherited |
| Slic3r::AstroBox::AstroBox | ( | 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(), test(), Slic3r::FlashAir::test(), Slic3r::Moonraker::test(), Slic3r::OctoPrint::test(), Slic3r::PrusaLink::test(), Slic3r::Repetier::test(), Slic3r::PrusaLink::test_with_method_check(), upload(), Slic3r::Duet::upload(), Slic3r::FlashAir::upload(), Slic3r::MKS::upload(), Slic3r::Moonraker::upload(), Slic3r::Repetier::upload(), and Slic3r::OctoPrint::upload_inner_with_host().
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented in Slic3r::Repetier.
|
inlineoverridevirtual |
|
overridevirtual |
Implements Slic3r::PrintHost.
Referenced by 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:
|
inlinevirtualinherited |
Reimplemented in Slic3r::Repetier.
|
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 apikey, Slic3r::Http::ca_file(), cafile, and Slic3r::Http::header().
Referenced by test(), and upload().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented in Slic3r::Repetier.
|
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 validate_version_text().
Referenced by upload().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements Slic3r::PrintHost.
References error, Slic3r::PrintHost::format_error(), get_name(), make_url(), 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:
|
protected |
Referenced by test().
Here is the caller graph for this function:
|
private |
Referenced by set_auth().
|
private |
Referenced by set_auth().
|
private |
Referenced by get_host(), and make_url().