Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

RepositoryLoadThread.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2005 University of Massachusetts.  All Rights Reserved.
00003  *
00004  * Use of the Lemur Toolkit for Language Modeling and Information Retrieval
00005  * is subject to the terms of the software license set forth in the LICENSE
00006  * file included with this software, and also available at
00007  * http://www.lemurproject.org/license.html
00008  *
00009  *==========================================================================
00010 */
00011 
00012 //
00013 // RepositoryLoadThread
00014 //
00015 // 31 January 2005 -- tds
00016 //
00017 
00018 #ifndef INDRI_REPOSITORYLOADTHREAD_HPP
00019 #define INDRI_REPOSITORYLOADTHREAD_HPP
00020 
00021 #include "indri/UtilityThread.hpp"
00022 namespace indri
00023 {
00024   namespace collection
00025   {
00026     
00027     class RepositoryLoadThread : public indri::thread::UtilityThread {
00028     private:
00029       class Repository& _repository;
00030       UINT64 _memory;
00031 
00032     public:
00033       RepositoryLoadThread( class Repository& repository, UINT64 memory );
00034 
00035       UINT64 initialize();
00036       void deinitialize();
00037       UINT64 work();
00038       bool hasWork();
00039     };
00040   }
00041 }
00042 
00043 
00044 #endif // INDRI_REPOSITORYLOADTHREAD_HPP
00045 
00046 

Generated on Tue Jun 15 11:02:55 2010 for Lemur by doxygen 1.3.4