OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::SLAPrint::StatusReporter Class Reference

Public Member Functions

void operator() (SLAPrint &p, double st, const std::string &msg, unsigned flags=SlicingStatus::DEFAULT, const std::string &logmsg="")
double status () const

Private Attributes

double m_st = 0

Detailed Description

Member Function Documentation

◆ operator()()

void Slic3r::SLAPrint::StatusReporter::operator() ( SLAPrint & p,
double st,
const std::string & msg,
unsigned flags = SlicingStatus::DEFAULT,
const std::string & logmsg = "" )
1280{
1281 m_st = st;
1282 BOOST_LOG_TRIVIAL(info)
1283 << st << "% " << msg << (logmsg.empty() ? "" : ": ") << logmsg
1284 << log_memory_info();
1285
1286 p.set_status(int(std::round(st)), msg, flags);
1287}
double m_st
Definition SLAPrint.hpp:586
std::string log_memory_info(bool ignore_loglevel)
Definition utils.cpp:1749

References Slic3r::SLAPrint::SLAPrint(), Slic3r::log_memory_info(), m_st, and Slic3r::PrintBase::set_status().

Here is the call graph for this function:

◆ status()

double Slic3r::SLAPrint::StatusReporter::status ( ) const
inline
595{ return m_st; }

References m_st.

Member Data Documentation

◆ m_st

double Slic3r::SLAPrint::StatusReporter::m_st = 0
private

Referenced by operator()(), and status().


The documentation for this class was generated from the following files:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/SLAPrint.hpp
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/SLAPrint.cpp