|
KiCad PCB EDA Suite
|
Classes | |
| struct | CANCELLATION |
| struct | JOB |
Public Member Functions | |
| STATE () | |
| std::uint64_t | Submit (std::string aFileName, const MODEL_IMPORT_OPTIONS &aOptions, COMPLETION aCompletion) |
| void | Cancel () |
| void | Stop () |
| void | Run () noexcept |
| void | Process (JOB aJob, const std::shared_ptr< CANCELLATION > &aCancellation) noexcept |
Public Attributes | |
| std::mutex | stopMutex |
| std::mutex | mutex |
| std::condition_variable | condition |
| std::optional< JOB > | pending |
| std::shared_ptr< CANCELLATION > | activeCancellation |
| std::uint64_t | generation = 0 |
| bool | stopping = false |
| std::thread | worker |
Definition at line 30 of file model_import_queue.cpp.
|
inline |
Definition at line 45 of file model_import_queue.cpp.
|
inline |
Definition at line 81 of file model_import_queue.cpp.
References activeCancellation, mutex, and pending.
|
inlinenoexcept |
Definition at line 150 of file model_import_queue.cpp.
References activeCancellation, S3D::ImportModel(), mutex, result, and stopping.
Referenced by Run().
|
inlinenoexcept |
Definition at line 113 of file model_import_queue.cpp.
References activeCancellation, condition, mutex, pending, Process(), and stopping.
Referenced by STATE().
|
inline |
Definition at line 90 of file model_import_queue.cpp.
References activeCancellation, condition, mutex, pending, stopMutex, stopping, and worker.
|
inline |
Definition at line 54 of file model_import_queue.cpp.
References activeCancellation, condition, generation, mutex, pending, and stopping.
| std::shared_ptr<CANCELLATION> S3D::MODEL_IMPORT_QUEUE::STATE::activeCancellation |
| std::condition_variable S3D::MODEL_IMPORT_QUEUE::STATE::condition |
Definition at line 179 of file model_import_queue.cpp.
| std::uint64_t S3D::MODEL_IMPORT_QUEUE::STATE::generation = 0 |
Definition at line 182 of file model_import_queue.cpp.
Referenced by Submit().
| std::mutex S3D::MODEL_IMPORT_QUEUE::STATE::mutex |
| std::optional<JOB> S3D::MODEL_IMPORT_QUEUE::STATE::pending |
| std::mutex S3D::MODEL_IMPORT_QUEUE::STATE::stopMutex |
Definition at line 177 of file model_import_queue.cpp.
Referenced by Stop().
| bool S3D::MODEL_IMPORT_QUEUE::STATE::stopping = false |
| std::thread S3D::MODEL_IMPORT_QUEUE::STATE::worker |
Definition at line 184 of file model_import_queue.cpp.