This commit is contained in:
bubnikv 2019-04-02 13:54:46 +02:00
commit dc64b4d971
13 changed files with 204 additions and 147 deletions

View file

@ -474,6 +474,15 @@ private:
// Estimated print time, material consumed.
SLAPrintStatistics m_print_statistics;
class StatusReporter {
double m_st = 0;
public:
void operator() (SLAPrint& p, double st, const std::string& msg,
unsigned flags = SlicingStatus::DEFAULT);
double status() const { return m_st; }
} m_report_status;
friend SLAPrintObject;
};