Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

ThreadIndexer Class Reference

#include <threadindexer.h>

List of all members.

Public Member Functions

 ThreadIndexer (MWindow *mwindow, Assets *assets)
 ~ThreadIndexer ()
int start_build ()
void run ()
int interrupt_build ()

Public Attributes

int interrupt_flag
MWindowmwindow
Assetsassets
Condition * interrupt_lock
IndexFileindexfile


Detailed Description

Definition at line 13 of file threadindexer.h.


Constructor & Destructor Documentation

ThreadIndexer::ThreadIndexer MWindow mwindow,
Assets assets
 

Definition at line 21 of file threadindexer.C.

References indexfile, and interrupt_lock.

ThreadIndexer::~ThreadIndexer  ) 
 

Definition at line 31 of file threadindexer.C.

References indexfile, and interrupt_lock.


Member Function Documentation

int ThreadIndexer::interrupt_build  ) 
 

Definition at line 141 of file threadindexer.C.

References indexfile, interrupt_flag, IndexFile::interrupt_index(), and interrupt_lock.

void ThreadIndexer::run  ) 
 

Definition at line 44 of file threadindexer.C.

References _, assets, Asset::audio_data, IndexFile::close_index(), MWindow::defaults, fclose(), fopen(), MWindow::gui, Asset::index_status, indexfile, interrupt_flag, interrupt_lock, mwindow, IndexFile::open_index(), Asset::path, and Assets::update_old_filename().

int ThreadIndexer::start_build  ) 
 

Definition at line 37 of file threadindexer.C.

References interrupt_flag.


Member Data Documentation

Assets* ThreadIndexer::assets
 

Definition at line 25 of file threadindexer.h.

Referenced by run().

IndexFile* ThreadIndexer::indexfile
 

Definition at line 27 of file threadindexer.h.

Referenced by interrupt_build(), run(), ThreadIndexer(), and ~ThreadIndexer().

int ThreadIndexer::interrupt_flag
 

Definition at line 23 of file threadindexer.h.

Referenced by interrupt_build(), run(), and start_build().

Condition* ThreadIndexer::interrupt_lock
 

Definition at line 26 of file threadindexer.h.

Referenced by interrupt_build(), run(), ThreadIndexer(), and ~ThreadIndexer().

MWindow* ThreadIndexer::mwindow
 

Definition at line 24 of file threadindexer.h.

Referenced by run().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:26 2006 for Cinelerra-svn by  doxygen 1.4.4