Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::PrintStateBase Class Reference

#include <src/libslic3r/PrintBase.hpp>

+ Inheritance diagram for Slic3r::PrintStateBase:

Classes

struct  StateWithTimeStamp
 
struct  StateWithWarnings
 
struct  Warning
 

Public Types

enum class  State {
  Fresh , Started , Canceled , Done ,
  Invalidated
}
 
enum class  WarningLevel { NON_CRITICAL , CRITICAL }
 
typedef size_t TimeStamp
 

Static Protected Attributes

static size_t g_last_timestamp = 0
 

Detailed Description


Class Documentation

◆ Slic3r::PrintStateBase::Warning

struct Slic3r::PrintStateBase::Warning
+ Collaboration diagram for Slic3r::PrintStateBase::Warning:
Class Members
bool current
WarningLevel level
string message
int message_id

Member Typedef Documentation

◆ TimeStamp

Member Enumeration Documentation

◆ State

enum class Slic3r::PrintStateBase::State
strong
Enumerator
Fresh 
Started 
Canceled 
Done 
Invalidated 
26 {
27 // Fresh state, either the object is new or the data of that particular milestone was cleaned up.
28 // Fresh state may transit to Started.
29 Fresh,
30 // Milestone was started and now it is being executed.
31 // Started state may transit to Canceled with invalid data or Done with valid data.
32 Started,
33 // Milestone was being executed, but now it is canceled and not yet cleaned up.
34 // Canceled state may transit to Fresh state if its invalid data is cleaned up
35 // or to Started state.
36 // Canceled and Invalidated states are of similar nature: Canceled step was Started but canceled,
37 // while Invalidated state was Done but invalidated.
39 // Milestone was finished successfully, it's data is now valid.
40 // Done state may transit to Invalidated state if its data is no more valid
41 // or to a Started state.
42 Done,
43 // Milestone was finished successfully (done), but now it is invalidated and it's data is no more valid.
44 // Invalidated state may transit to Fresh if its invalid data is cleaned up,
45 // or to state Started.
46 // Canceled and Invalidated states are of similar nature: Canceled step was Started but canceled,
47 // while Invalidated state was Done but invalidated.
49 };

◆ WarningLevel

Enumerator
NON_CRITICAL 
CRITICAL 

Member Data Documentation

◆ g_last_timestamp


The documentation for this class was generated from the following files: