OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
DeviceManager.hpp File Reference
#include <cstdint>
#include <ctime>
#include <functional>
#include <map>
#include <mutex>
#include <atomic>
#include <tuple>
#include <set>
#include <utility>
#include <vector>
#include <string>
#include <memory>
#include <chrono>
#include <unordered_set>
#include <optional>
#include <boost/thread.hpp>
#include <boost/nowide/fstream.hpp>
#include "nlohmann/json.hpp"
#include "libslic3r/ProjectTask.hpp"
#include "slic3r/Utils/json_diff.hpp"
#include "boost/bimap/bimap.hpp"
#include "libslic3r/calib.hpp"
#include "libslic3r/Utils.hpp"
#include "slic3r/Utils/PrinterNetworkTypes.hpp"
#include "DeviceCore/DevDefs.h"
#include "DeviceCore/DevConfigUtil.h"
#include "DeviceCore/DevFirmware.h"
#include "DeviceCore/DevCalib.h"
#include "DeviceErrorDialog.hpp"
#include <wx/object.h>
#include <wx/string.h>
#include <wx/timer.h>
#include <wx/colour.h>
Include dependency graph for DeviceManager.hpp:

Go to the source code of this file.

Classes

class  Slic3r::MachineObject
struct  Slic3r::MachineObject::FilamentData

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::GUI

Macros

#define USE_LOCAL_SOCKET_BIND   0
#define DISCONNECT_TIMEOUT   30000.f
#define PUSHINFO_TIMEOUT   15000.f
#define TIMEOUT_FOR_STRAT   20000.f
#define TIMEOUT_FOR_KEEPALIVE   5* 60 * 1000.f
#define REQUEST_PUSH_MIN_TIME   3000.f
#define REQUEST_START_MIN_TIME   15000.f
#define EXTRUSION_OMIT_TIME   20000.f
#define HOLD_TIMEOUT   10000.f
#define BED_TEMP_LIMIT   120
#define HOLD_COUNT_MAX   3
#define HOLD_COUNT_CAMERA   6
#define HOLD_TIME_3SEC   3
#define HOLD_TIME_6SEC   6
#define GET_VERSION_RETRYS   10
#define RETRY_INTERNAL   2000
#define START_SEQ_ID   20000
#define END_SEQ_ID   30000
#define SUBSCRIBE_RETRY_COUNT   5
#define UpgradeNoError   0
#define UpgradeDownloadFailed   -1
#define UpgradeVerfifyFailed   -2
#define UpgradeFlashFailed   -3
#define UpgradePrinting   -4

Functions

bool Slic3r::is_stringing_prone_filament (const std::string &filament_id, float nozzle_diameter)
void Slic3r::change_the_opacity (wxColour &colour)
wxString Slic3r::get_stage_string (int stage)

Class Documentation

◆ Slic3r::MachineObject::FilamentData

struct Slic3r::MachineObject::FilamentData
Collaboration diagram for Slic3r::MachineObject::FilamentData:
Class Members
set< string > checked_filament
map< string, pair< vector< int >, vector< int > > > filament_list
string printer_preset_name

Macro Definition Documentation

◆ BED_TEMP_LIMIT

#define BED_TEMP_LIMIT   120

◆ DISCONNECT_TIMEOUT

#define DISCONNECT_TIMEOUT   30000.f

◆ END_SEQ_ID

#define END_SEQ_ID   30000

◆ EXTRUSION_OMIT_TIME

#define EXTRUSION_OMIT_TIME   20000.f

◆ GET_VERSION_RETRYS

#define GET_VERSION_RETRYS   10

◆ HOLD_COUNT_CAMERA

◆ HOLD_COUNT_MAX

#define HOLD_COUNT_MAX   3

◆ HOLD_TIME_3SEC

◆ HOLD_TIME_6SEC

◆ HOLD_TIMEOUT

#define HOLD_TIMEOUT   10000.f

◆ PUSHINFO_TIMEOUT

#define PUSHINFO_TIMEOUT   15000.f

◆ REQUEST_PUSH_MIN_TIME

#define REQUEST_PUSH_MIN_TIME   3000.f

◆ REQUEST_START_MIN_TIME

#define REQUEST_START_MIN_TIME   15000.f

◆ RETRY_INTERNAL

#define RETRY_INTERNAL   2000

◆ START_SEQ_ID

#define START_SEQ_ID   20000

◆ SUBSCRIBE_RETRY_COUNT

#define SUBSCRIBE_RETRY_COUNT   5

◆ TIMEOUT_FOR_KEEPALIVE

#define TIMEOUT_FOR_KEEPALIVE   5* 60 * 1000.f

◆ TIMEOUT_FOR_STRAT

#define TIMEOUT_FOR_STRAT   20000.f

◆ UpgradeDownloadFailed

#define UpgradeDownloadFailed   -1

◆ UpgradeFlashFailed

#define UpgradeFlashFailed   -3

◆ UpgradeNoError

#define UpgradeNoError   0

◆ UpgradePrinting

#define UpgradePrinting   -4

◆ UpgradeVerfifyFailed

#define UpgradeVerfifyFailed   -2

◆ USE_LOCAL_SOCKET_BIND

#define USE_LOCAL_SOCKET_BIND   0