Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
BIAS::ProgressSemaphorePool Class Reference

#include <Base/Common/ProgressSemaphorePool.hh>

+ Inheritance diagram for BIAS::ProgressSemaphorePool:
+ Collaboration diagram for BIAS::ProgressSemaphorePool:

Public Member Functions

void Clear ()
 
bool Exists (const std::string &name)
 
void GetAllSemaphoreNames (std::vector< std::string > &names)
 
float GetOverallProgress ()
 
SharedPtr< ProgressSemaphoreRegister (const std::string &name)
 
void TerminateAll ()
 
 ~ProgressSemaphorePool ()
 destructor More...
 

Static Public Member Functions

static ProgressSemaphorePoolGetInstance ()
 

Protected Member Functions

 ProgressSemaphorePool ()
 

Static Protected Member Functions

static void DeleteInstance_ ()
 
static pthread_mutex_t * Mutex_ ()
 

Protected Attributes

std::map< std::string,
SharedPtr< ProgressSemaphore > > 
Semaphores_
 

Static Protected Attributes

static ProgressSemaphorePoolInstance_
 

Friends

class Singleton< ProgressSemaphorePool >
 

Detailed Description

Author
evers 03/2008
Examples:
ExampleProgressSemaphore.cpp.

Definition at line 20 of file ProgressSemaphorePool.hh.

Constructor & Destructor Documentation

ProgressSemaphorePool::~ProgressSemaphorePool ( )

destructor

Definition at line 11 of file ProgressSemaphorePool.cpp.

ProgressSemaphorePool::ProgressSemaphorePool ( )
protected

Definition at line 7 of file ProgressSemaphorePool.cpp.

Member Function Documentation

void ProgressSemaphorePool::Clear ( )

Definition at line 46 of file ProgressSemaphorePool.cpp.

References Semaphores_.

static void BIAS::Singleton< ProgressSemaphorePool >::DeleteInstance_ ( )
staticprotectedinherited
bool ProgressSemaphorePool::Exists ( const std::string &  name)

Definition at line 85 of file ProgressSemaphorePool.cpp.

References Semaphores_.

void ProgressSemaphorePool::GetAllSemaphoreNames ( std::vector< std::string > &  names)
Examples:
ExampleProgressSemaphore.cpp.

Definition at line 34 of file ProgressSemaphorePool.cpp.

References Semaphores_.

static ProgressSemaphorePool * BIAS::Singleton< ProgressSemaphorePool >::GetInstance ( )
staticinherited
float ProgressSemaphorePool::GetOverallProgress ( )

Definition at line 63 of file ProgressSemaphorePool.cpp.

References Semaphores_.

static pthread_mutex_t* BIAS::Singleton< ProgressSemaphorePool >::Mutex_ ( )
staticprotectedinherited
BIAS::SharedPtr< ProgressSemaphore > ProgressSemaphorePool::Register ( const std::string &  name)
Examples:
ExampleProgressSemaphore.cpp.

Definition at line 17 of file ProgressSemaphorePool.cpp.

void ProgressSemaphorePool::TerminateAll ( )

Definition at line 52 of file ProgressSemaphorePool.cpp.

References Semaphores_.

Friends And Related Function Documentation

friend class Singleton< ProgressSemaphorePool >
friend

Definition at line 48 of file ProgressSemaphorePool.hh.

Member Data Documentation

ProgressSemaphorePool * BIAS::Singleton< ProgressSemaphorePool >::Instance_
staticprotectedinherited

static members

Definition at line 98 of file Singleton.hh.

std::map<std::string, SharedPtr<ProgressSemaphore> > BIAS::ProgressSemaphorePool::Semaphores_
protected

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