◆ to_string()
| std::string Slic3r::_BBS_Backup_Manager::Task::to_string |
( |
| ) |
const |
|
inline |
9348 {
9349 constexpr char const *type_names[] = {"None",
9350 "Backup",
9351 "AddObject",
9352 "RemoveObject",
9353 "RemoveBackup",
9354 "Exit"};
9355 std::ostringstream os;
9356 os <<
"{ type:" << type_names[
type] <<
", id:" <<
id
9357 <<
", path:" <<
path
9358 << ", object:" << (object ? object->id().id : 0) << ", extra:" << delay << "}";
9359 return os.str();
9360 }
TaskType type
Definition bbs_3mf.cpp:9336
std::string path
Definition bbs_3mf.cpp:9338
References path, and type.
Referenced by Slic3r::_BBS_Backup_Manager::process_task(), and Slic3r::_BBS_Backup_Manager::process_ui_task().
◆ operator==
| bool operator== |
( |
Task const & | l, |
|
|
Task const & | r ) |
|
friend |
9345 {
9346 return l.type == r.type && l.id == r.id;
9347 }
References id, and type.
◆ [union]
◆ id
| size_t Slic3r::_BBS_Backup_Manager::Task::id = 0 |
◆ object
◆ path
| std::string Slic3r::_BBS_Backup_Manager::Task::path |
◆ type
| TaskType Slic3r::_BBS_Backup_Manager::Task::type |
The documentation for this struct was generated from the following file:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Format/bbs_3mf.cpp