#include <threadindexer.h>
Inherits Thread.

Public Member Functions | |
| ThreadIndexer (MWindow *mwindow, Assets *assets) | |
| ~ThreadIndexer () | |
| int | start_build () |
| void | run () |
| int | interrupt_build () |
Data Fields | |
| int | interrupt_flag |
| MWindow * | mwindow |
| Assets * | assets |
| Condition * | interrupt_lock |
| IndexFile * | indexfile |
Definition at line 13 of file threadindexer.h.
Definition at line 21 of file threadindexer.C.
References indexfile, interrupt_lock, and Thread::set_synchronous().

| ThreadIndexer::~ThreadIndexer | ( | ) |
| int ThreadIndexer::start_build | ( | ) |
Definition at line 37 of file threadindexer.C.
References interrupt_flag, and Thread::start().

| void ThreadIndexer::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 44 of file threadindexer.C.
References _, assets, Asset::audio_data, IndexFile::close_index(), BC_FileBox::create_objects(), MWindow::defaults, FileSystem::extract_name(), fclose(), List< TYPE >::first, fopen(), BC_Hash::get(), BC_WindowBase::get_abs_cursor_x(), BC_WindowBase::get_abs_cursor_y(), BC_FileBox::get_submitted_path(), MWindow::gui, Asset::index_status, indexfile, interrupt_flag, interrupt_lock, BC_ProgressBox::is_cancelled(), mwindow, ListItem< TYPE >::next, IndexFile::open_index(), Asset::path, BC_WindowBase::run_window(), Thread::start(), BC_ProgressBox::stop_progress(), Condition::unlock(), BC_Hash::update(), Assets::update_old_filename(), and window.

| int ThreadIndexer::interrupt_build | ( | ) |
Definition at line 141 of file threadindexer.C.
References indexfile, interrupt_flag, IndexFile::interrupt_index(), interrupt_lock, Condition::lock(), and Condition::unlock().

Definition at line 23 of file threadindexer.h.
Referenced by interrupt_build(), run(), and start_build().
Definition at line 26 of file threadindexer.h.
Referenced by interrupt_build(), run(), ThreadIndexer(), and ~ThreadIndexer().
Definition at line 27 of file threadindexer.h.
Referenced by interrupt_build(), run(), ThreadIndexer(), and ~ThreadIndexer().
1.5.5