casa::ThreadCoordinatorBase Class Reference

#include <ThreadCoordinator.h>

Inheritance diagram for casa::ThreadCoordinatorBase:
casa::ThreadCoordinator< T >

List of all members.

Public Member Functions

virtual ~ThreadCoordinatorBase ()
void waitForWorkersToFinishTask ()

Protected Member Functions

 ThreadCoordinatorBase (Int nThreads, bool logStates)
void dispatchWork ()
void getToWork ()
virtual void installWorkInfo ()=0
bool waitForWork (const async::Thread *thisThread)
void waitForWorkersToReport ()

Protected Attributes

Int nThreads_p

Private Member Functions

void logState (const String &tag) const

Private Attributes

Barrier * barrier_p
bool logStates_p
async::Mutexmutex_p
volatile Int nThreadsAtBarrier_p
volatile Int nThreadsDispatched_p
volatile Bool readyForWork_p
async::ConditionstateChanged_p
const VisBuffervb_p
volatile bool workCompleted_p
volatile bool workToBeDone_p

Detailed Description

Definition at line 79 of file ThreadCoordinator.h.


Constructor & Destructor Documentation

virtual casa::ThreadCoordinatorBase::~ThreadCoordinatorBase (  )  [virtual]
casa::ThreadCoordinatorBase::ThreadCoordinatorBase ( Int  nThreads,
bool  logStates 
) [protected]

Member Function Documentation

void casa::ThreadCoordinatorBase::dispatchWork (  )  [protected]
void casa::ThreadCoordinatorBase::getToWork (  )  [protected]
virtual void casa::ThreadCoordinatorBase::installWorkInfo (  )  [protected, pure virtual]
void casa::ThreadCoordinatorBase::logState ( const String &  tag  )  const [private]
bool casa::ThreadCoordinatorBase::waitForWork ( const async::Thread thisThread  )  [protected]

Reimplemented in casa::ThreadCoordinator< T >.

void casa::ThreadCoordinatorBase::waitForWorkersToFinishTask (  ) 
void casa::ThreadCoordinatorBase::waitForWorkersToReport (  )  [protected]

Member Data Documentation

Definition at line 102 of file ThreadCoordinator.h.

Definition at line 103 of file ThreadCoordinator.h.

Definition at line 104 of file ThreadCoordinator.h.

Definition at line 105 of file ThreadCoordinator.h.

Definition at line 106 of file ThreadCoordinator.h.

Definition at line 107 of file ThreadCoordinator.h.

Definition at line 108 of file ThreadCoordinator.h.

Definition at line 109 of file ThreadCoordinator.h.

Definition at line 110 of file ThreadCoordinator.h.

Definition at line 111 of file ThreadCoordinator.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1