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

threadindexer.h

Go to the documentation of this file.
00001 #ifndef THREADINDEXER_H
00002 #define THREADINDEXER_H
00003 
00004 
00005 #include "asset.inc"
00006 #include "condition.inc"
00007 #include "mwindow.inc"
00008 #include "thread.h"
00009 
00010 // ================================= builds the indexes as a thread
00011 // Runs through all the assets and starts an index file building for each asset.
00012 
00013 class ThreadIndexer : public Thread
00014 {
00015 public:
00016         ThreadIndexer(MWindow *mwindow, Assets *assets);
00017         ~ThreadIndexer();
00018 
00019         int start_build();
00020         void run();
00021         int interrupt_build();
00022 
00023         int interrupt_flag;
00024         MWindow *mwindow;
00025         Assets *assets;
00026         Condition *interrupt_lock;    // Force blocking until thread is finished
00027         IndexFile *indexfile;
00028 };
00029 
00030 #endif

Generated on Sun Jan 8 13:39:00 2006 for Cinelerra-svn by  doxygen 1.4.4