Basic Image AlgorithmS Library
2.8.0
|
#include <Base/Common/ProgressSemaphorePool.hh>
Public Member Functions | |
void | Clear () |
bool | Exists (const std::string &name) |
void | GetAllSemaphoreNames (std::vector< std::string > &names) |
float | GetOverallProgress () |
SharedPtr< ProgressSemaphore > | Register (const std::string &name) |
void | TerminateAll () |
~ProgressSemaphorePool () | |
destructor More... | |
Static Public Member Functions | |
static ProgressSemaphorePool * | GetInstance () |
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 ProgressSemaphorePool * | Instance_ |
Friends | |
class | Singleton< ProgressSemaphorePool > |
Definition at line 20 of file ProgressSemaphorePool.hh.
ProgressSemaphorePool::~ProgressSemaphorePool | ( | ) |
destructor
Definition at line 11 of file ProgressSemaphorePool.cpp.
|
protected |
Definition at line 7 of file ProgressSemaphorePool.cpp.
void ProgressSemaphorePool::Clear | ( | ) |
Definition at line 46 of file ProgressSemaphorePool.cpp.
References Semaphores_.
|
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 | ) |
Definition at line 34 of file ProgressSemaphorePool.cpp.
References Semaphores_.
|
staticinherited |
float ProgressSemaphorePool::GetOverallProgress | ( | ) |
Definition at line 63 of file ProgressSemaphorePool.cpp.
References Semaphores_.
|
staticprotectedinherited |
BIAS::SharedPtr< ProgressSemaphore > ProgressSemaphorePool::Register | ( | const std::string & | name | ) |
Definition at line 17 of file ProgressSemaphorePool.cpp.
void ProgressSemaphorePool::TerminateAll | ( | ) |
Definition at line 52 of file ProgressSemaphorePool.cpp.
References Semaphores_.
|
friend |
Definition at line 48 of file ProgressSemaphorePool.hh.
|
staticprotectedinherited |
static members
Definition at line 98 of file Singleton.hh.
|
protected |
Definition at line 55 of file ProgressSemaphorePool.hh.
Referenced by Clear(), Exists(), GetAllSemaphoreNames(), GetOverallProgress(), and TerminateAll().