Loads resources gradually, so that progress can be displayed.
More...
#include <resource_loader.h>
|
| | resource_loader () |
| |
| constexpr int | get_n_items () const noexcept |
| | The number of resource groups that need to be loaded.
|
| |
| std::string | get_current () const noexcept |
| | Describe the current progress.
|
| |
| int | get_index () const noexcept |
| | Get the index of the current progress.
|
| |
| bool | is_done () const noexcept |
| | Are all resources loaded?
|
| |
| void | process_next () |
| |
Loads resources gradually, so that progress can be displayed.
◆ resource_loader()
| resource_loader::resource_loader |
( |
| ) |
|
◆ get_current()
| std::string resource_loader::get_current |
( |
| ) |
const |
|
inlinenoexcept |
Describe the current progress.
◆ get_index()
| int resource_loader::get_index |
( |
| ) |
const |
|
inlinenoexcept |
Get the index of the current progress.
◆ get_n_items()
| constexpr int resource_loader::get_n_items |
( |
| ) |
const |
|
inlineconstexprnoexcept |
The number of resource groups that need to be loaded.
This value is tested to be correct. The failed assert will give a helpful error message.
◆ is_done()
| bool resource_loader::is_done |
( |
| ) |
const |
|
noexcept |
Are all resources loaded?
◆ process_next()
| void resource_loader::process_next |
( |
| ) |
|
The documentation for this class was generated from the following files: