21#ifndef MODEL_IMPORT_QUEUE_H
22#define MODEL_IMPORT_QUEUE_H
void Cancel()
Abandon the pending and running requests without stopping the worker.
std::function< void(std::uint64_t aGeneration, MODEL_IMPORT_RESULT aResult)> COMPLETION
MODEL_IMPORT_QUEUE & operator=(const MODEL_IMPORT_QUEUE &)=delete
void Shutdown()
Abandon everything and join the worker.
std::uint64_t Submit(std::string aFileName, const MODEL_IMPORT_OPTIONS &aOptions, COMPLETION aCompletion)
Supersede any pending or running request with aFileName.
MODEL_IMPORT_QUEUE(const MODEL_IMPORT_QUEUE &)=delete
std::uint64_t CurrentGeneration() const
The generation of the most recent Submit(), for hosts that track staleness themselves.
std::shared_ptr< STATE > m_state
#define KICAD_3D_IMPORT_API