#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/PrintBase.hpp>
Public Types | |
| enum | State { INVALID , STARTED , DONE } |
| enum class | WarningLevel { NON_CRITICAL , CRITICAL } |
| enum | SlicingNotificationType { SlicingDefaultNotification = 0 , SlicingReplaceInitEmptyLayers , SlicingNeedSupportOn , SlicingEmptyGcodeLayers , SlicingGcodeOverlap , SlicingExclusionVolumeToolpath , SlicingPreciseSeamWarning } |
| typedef size_t | TimeStamp |
Public Member Functions | |
| PrintState () | |
| StateWithTimeStamp | state_with_timestamp (StepType step, std::mutex &mtx) const |
| StateWithWarnings | state_with_warnings (StepType step, std::mutex &mtx) const |
| bool | is_started (StepType step, std::mutex &mtx) const |
| bool | is_done (StepType step, std::mutex &mtx) const |
| StateWithTimeStamp | state_with_timestamp_unguarded (StepType step) const |
| bool | is_started_unguarded (StepType step) const |
| bool | is_done_unguarded (StepType step) const |
| template<typename ThrowIfCanceled> | |
| bool | set_started (StepType step, std::mutex &mtx, ThrowIfCanceled throw_if_canceled) |
| template<typename ThrowIfCanceled> | |
| std::pair< TimeStamp, bool > | set_done (StepType step, std::mutex &mtx, ThrowIfCanceled throw_if_canceled) |
| template<typename CancelationCallback> | |
| bool | invalidate (StepType step, CancelationCallback cancel) |
| template<typename CancelationCallback, typename StepTypeIterator> | |
| bool | invalidate_multiple (StepTypeIterator step_begin, StepTypeIterator step_end, CancelationCallback cancel) |
| template<typename CancelationCallback> | |
| bool | invalidate_all (CancelationCallback cancel) |
| std::pair< StepType, bool > | active_step_add_warning (PrintStateBase::WarningLevel warning_level, const std::string &message, int message_id, std::mutex &mtx) |
Static Protected Attributes | |
| static size_t | g_last_timestamp = 0 |
Private Attributes | |
| StateWithWarnings | m_state [COUNT] |
| int | m_step_active = -1 |
|
inherited |
|
inherited |
| Enumerator | |
|---|---|
| SlicingDefaultNotification | |
| SlicingReplaceInitEmptyLayers | |
| SlicingNeedSupportOn | |
| SlicingEmptyGcodeLayers | |
| SlicingGcodeOverlap | |
| SlicingExclusionVolumeToolpath | |
| SlicingPreciseSeamWarning | |
|
inherited |
|
stronginherited |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Slic3r::PrintState< PrintObjectStepEnum, COUNT >::is_done(), and Slic3r::PrintState< PrintObjectStepEnum, COUNT >::is_started().
|
inline |
Referenced by Slic3r::PrintState< PrintObjectStepEnum, COUNT >::is_done_unguarded(), and Slic3r::PrintState< PrintObjectStepEnum, COUNT >::is_started_unguarded().
|
inline |
|
staticprotectedinherited |
|
private |
|
private |