6
PrintState::started(PrintStep step) const
8
return this->_started.find(step) != this->_started.end();
12
PrintState::done(PrintStep step) const
14
return this->_done.find(step) != this->_done.end();
18
PrintState::set_started(PrintStep step)
20
this->_started.insert(step);
24
PrintState::set_done(PrintStep step)
26
this->_done.insert(step);
30
PrintState::invalidate(PrintStep step)
32
this->_started.erase(step);
33
this->_done.erase(step);
37
PrintState::invalidate_all()
39
this->_started.clear();
44
REGISTER_CLASS(PrintState, "Print::State");