![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "lib/debug.h"#include "lib/status.h"#include "lib/timer.h"#include <coroutine>#include <exception>#include <functional>#include <string>#include <utility>

Go to the source code of this file.
Classes | |
| class | PS::Loader::Task |
| Coroutine which performs the actual work. More... | |
| class | PS::Loader::Task::promise_type |
| class | PS::Loader::Task::promise_type::SuspendIf |
| struct | PS::Loader::ProgressiveLoadResult |
Namespaces | |
| namespace | PS |
| namespace | PS::Loader |
Typedefs | |
| using | PS::Loader::LoadFunc = std::function< PS::Loader::Task()> |
Functions | |
| void | PS::Loader::BeginRegistering () |
| void | PS::Loader::Register (LoadFunc func, std::wstring description, int estimatedDurationMs) |
| void | PS::Loader::EndRegistering () |
| void | PS::Loader::Cancel () |
| ProgressiveLoadResult | PS::Loader::ProgressiveLoad (double time_budget) |
Process as many of the queued tasks as possible within timeBudget [s]. More... | |
| Status | PS::Loader::NonprogressiveLoad () |