OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::_BBS_3MF_Base Class Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/SkipPartCanvas.hpp>

Inheritance diagram for Slic3r::GUI::_BBS_3MF_Base:
Collaboration diagram for Slic3r::GUI::_BBS_3MF_Base:

Public Member Functions

void log_errors ()

Protected Member Functions

void add_error (const std::string &error) const
void clear_errors ()

Private Attributes

boost::mutex mutex
std::vector< std::string > m_errors

Detailed Description

Member Function Documentation

◆ add_error()

void Slic3r::GUI::_BBS_3MF_Base::add_error ( const std::string & error) const
protected
614{
615 boost::unique_lock l(mutex);
616 m_errors.push_back(error);
617}
boost::mutex mutex
Definition SkipPartCanvas.hpp:134
std::vector< std::string > m_errors
Definition SkipPartCanvas.hpp:135

References m_errors, and mutex.

Referenced by Slic3r::GUI::ModelSettingHelper::Parse().

Here is the caller graph for this function:

◆ clear_errors()

void Slic3r::GUI::_BBS_3MF_Base::clear_errors ( )
protected
618{ m_errors.clear(); }

References m_errors.

◆ log_errors()

void Slic3r::GUI::_BBS_3MF_Base::log_errors ( )
621{
622 for (const std::string &error : m_errors) BOOST_LOG_TRIVIAL(error) << error;
623}

References m_errors.

Member Data Documentation

◆ m_errors

std::vector<std::string> Slic3r::GUI::_BBS_3MF_Base::m_errors
mutableprivate

Referenced by add_error(), clear_errors(), and log_errors().

◆ mutex

boost::mutex Slic3r::GUI::_BBS_3MF_Base::mutex
mutableprivate

Referenced by add_error().


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