ThreadIndexer Class Reference

#include <threadindexer.h>

Inherits Thread.

Collaboration diagram for ThreadIndexer:

Collaboration graph
[legend]

Public Member Functions

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

Data Fields

int interrupt_flag
MWindowmwindow
Assetsassets
Conditioninterrupt_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, interrupt_lock, and Thread::set_synchronous().

Here is the call graph for this function:

ThreadIndexer::~ThreadIndexer (  ) 

Definition at line 31 of file threadindexer.C.

References indexfile, and interrupt_lock.


Member Function Documentation

int ThreadIndexer::start_build (  ) 

Definition at line 37 of file threadindexer.C.

References interrupt_flag, and Thread::start().

Here is the call graph for this function:

void ThreadIndexer::run (  )  [virtual]

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().

Here is the call graph for this function:


Field Documentation

Definition at line 23 of file threadindexer.h.

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

Definition at line 24 of file threadindexer.h.

Referenced by run().

Definition at line 25 of file threadindexer.h.

Referenced by run().

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().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:45:06 2008 for Cinelerra by  doxygen 1.5.5