casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casa::async::Semaphore Class Reference

#include <AsynchronousTools.h>

Public Member Functions

 Semaphore (int initialValue=0)
 
 ~Semaphore ()
 
casacore::Int getValue ()
 
void post ()
 
casacore::Bool trywait ()
 
void wait ()
 
casacore::Bool wait (int milliseconds)
 

Private Member Functions

 Semaphore (const Semaphore &other)
 
Semaphore operator= (const Semaphore &other)
 

Private Attributes

SemaphoreImpl * impl_p
 
casacore::String name_p
 

Detailed Description

Definition at line 141 of file AsynchronousTools.h.

Constructor & Destructor Documentation

casa::async::Semaphore::Semaphore ( int  initialValue = 0)
casa::async::Semaphore::~Semaphore ( )
casa::async::Semaphore::Semaphore ( const Semaphore other)
private

Member Function Documentation

casacore::Int casa::async::Semaphore::getValue ( )
Semaphore casa::async::Semaphore::operator= ( const Semaphore other)
private
void casa::async::Semaphore::post ( )
casacore::Bool casa::async::Semaphore::trywait ( )
void casa::async::Semaphore::wait ( )
casacore::Bool casa::async::Semaphore::wait ( int  milliseconds)

Member Data Documentation

SemaphoreImpl* casa::async::Semaphore::impl_p
private

Definition at line 156 of file AsynchronousTools.h.

casacore::String casa::async::Semaphore::name_p
private

Definition at line 157 of file AsynchronousTools.h.


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