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

indri::thread::UtilityThread Class Reference

#include <UtilityThread.hpp>

Inheritance diagram for indri::thread::UtilityThread:

indri::collection::RepositoryLoadThread indri::collection::RepositoryMaintenanceThread lemur::file::FileMergeThread QueryThread List of all members.

Public Member Functions

 UtilityThread ()
virtual ~UtilityThread ()
virtual bool hasWork ()=0
virtual UINT64 work ()=0
virtual UINT64 initialize ()=0
virtual void deinitialize ()=0
virtual void run ()
virtual void start ()
virtual void signal ()
virtual void join ()

Private Attributes

Thread_thread
Mutex _lock
ConditionVariable _quit
volatile bool _runThread

Constructor & Destructor Documentation

indri::thread::UtilityThread::UtilityThread  ) 
 

virtual indri::thread::UtilityThread::~UtilityThread  )  [inline, virtual]
 


Member Function Documentation

virtual void indri::thread::UtilityThread::deinitialize  )  [pure virtual]
 

Implemented in QueryThread, indri::collection::RepositoryLoadThread, indri::collection::RepositoryMaintenanceThread, and lemur::file::FileMergeThread.

virtual bool indri::thread::UtilityThread::hasWork  )  [pure virtual]
 

Implemented in QueryThread, indri::collection::RepositoryLoadThread, indri::collection::RepositoryMaintenanceThread, and lemur::file::FileMergeThread.

virtual UINT64 indri::thread::UtilityThread::initialize  )  [pure virtual]
 

Implemented in QueryThread, indri::collection::RepositoryLoadThread, indri::collection::RepositoryMaintenanceThread, and lemur::file::FileMergeThread.

void indri::thread::UtilityThread::join  )  [virtual]
 

void indri::thread::UtilityThread::run  )  [virtual]
 

void indri::thread::UtilityThread::signal  )  [virtual]
 

void indri::thread::UtilityThread::start  )  [virtual]
 

virtual UINT64 indri::thread::UtilityThread::work  )  [pure virtual]
 

Implemented in QueryThread, indri::collection::RepositoryLoadThread, indri::collection::RepositoryMaintenanceThread, and lemur::file::FileMergeThread.


Member Data Documentation

Mutex indri::thread::UtilityThread::_lock [private]
 

ConditionVariable indri::thread::UtilityThread::_quit [private]
 

volatile bool indri::thread::UtilityThread::_runThread [private]
 

Thread* indri::thread::UtilityThread::_thread [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:03 2010 for Lemur by doxygen 1.3.4