#include <metadb_io_hintlist.h>
Definition at line 2 of file metadb_io_hintlist.h.
struct metadb_io_hintlist::t_entry |
void metadb_io_hintlist::add |
( |
metadb_handle_ptr const & |
p_handle, |
|
|
const file_info & |
p_info, |
|
|
t_filestats const & |
p_stats, |
|
|
bool |
p_fresh |
|
) |
| |
Definition at line 15 of file metadb_io_hintlist.cpp.
17 entry.m_handle = p_handle;
18 entry.m_info.new_t(p_info);
19 entry.m_stats = p_stats;
20 entry.m_fresh = p_fresh;
t_size metadb_io_hintlist::get_pending_count |
( |
| ) |
const |
|
inline |
Definition at line 24 of file metadb_io_hintlist.cpp.
26 const t_uint32 subsongcount = p_reader->get_subsong_count();
27 t_filestats stats = p_reader->get_file_stats(p_abort);
28 for(
t_uint32 subsong = 0; subsong < subsongcount; subsong++) {
29 t_uint32 subsong_id = p_reader->get_subsong(subsong);
32 if (handle->should_reload(stats,
true)) {
34 p_reader->get_info(subsong_id,temp,p_abort);
36 add(handle,temp,stats,
true);
Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...
void metadb_io_hintlist::run |
( |
| ) |
|
Definition at line 3 of file metadb_io_hintlist.cpp.
6 metadb_io_hintlist_wrapper_part1(
m_entries),
7 metadb_io_hintlist_wrapper_part2(
m_entries),
8 metadb_io_hintlist_wrapper_part3(
m_entries),
9 metadb_io_hintlist_wrapper_part4(
m_entries)
Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...
The documentation for this class was generated from the following files: