![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/Utils/Moonraker.hpp>
Inheritance diagram for Slic3r::Moonraker:
Collaboration diagram for Slic3r::Moonraker:Public Types | |
| typedef Http::ProgressFn | ProgressFn |
| typedef std::function< void(wxString)> | ErrorFn |
| typedef std::function< void(wxString, wxString)> | InfoFn |
Public Member Functions | |
| Moonraker (DynamicPrintConfig *config) | |
| ~Moonraker () override=default | |
| const char * | get_name () const override |
| virtual 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 |
| const std::string & | get_apikey () const |
| const std::string & | get_cafile () const |
| 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 | |
| virtual void | set_auth (Http &http) const |
| std::string | make_url (const std::string &path) const |
| virtual wxString | format_error (const std::string &body, const std::string &error, unsigned status) const |
Protected Attributes | |
| std::string | m_host |
| std::string | m_apikey |
| std::string | m_cafile |
| bool | m_ssl_revoke_best_effort |
|
inherited |
|
inherited |
|
inherited |
| Slic3r::Moonraker::Moonraker | ( | 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(), test(), Slic3r::OctoPrint::test(), Slic3r::PrusaLink::test(), Slic3r::Repetier::test(), Slic3r::PrusaLink::test_with_method_check(), Slic3r::AstroBox::upload(), Slic3r::Duet::upload(), Slic3r::FlashAir::upload(), Slic3r::MKS::upload(), upload(), Slic3r::Repetier::upload(), and Slic3r::OctoPrint::upload_inner_with_host().
Here is the caller graph for this function:
|
inline |
|
inline |
|
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.
|
protected |
References Slic3r::Http::ca_file(), Slic3r::Http::header(), m_apikey, and m_cafile.
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 error, Slic3r::PrintHost::format_error(), Slic3r::GUI::from_u8(), Slic3r::Http::get(), get_name(), m_ssl_revoke_best_effort, make_url(), and set_auth().
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(), Slic3r::GUI::get_app_config(), Slic3r::AppConfig::get_bool(), get_name(), Slic3r::GUI::into_u8(), L, m_host, m_ssl_revoke_best_effort, 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 get_apikey(), and set_auth().
|
protected |
Referenced by get_cafile(), and set_auth().
|
protected |
Referenced by get_host(), make_url(), and upload().