The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
mha_fifo_posix_threads_t Class Reference
Inheritance diagram for mha_fifo_posix_threads_t:
Inheritance graph

Public Member Functions

 mha_fifo_posix_threads_t ()
 
virtual void aquire_mutex ()
 
virtual void release_mutex ()
 
virtual void wait_for_decrease ()
 
virtual void wait_for_increase ()
 
virtual void increment ()
 
virtual void decrement ()
 
virtual ~mha_fifo_posix_threads_t ()
 
- Public Member Functions inherited from mha_fifo_thread_platform_t
virtual ~mha_fifo_thread_platform_t ()
 Make destructor virtual. More...
 
 mha_fifo_thread_platform_t ()
 Make default constructor accessible. More...
 

Private Attributes

pthread_mutex_t mutex
 
pthread_cond_t decrease_condition
 
pthread_cond_t increase_condition
 

Constructor & Destructor Documentation

◆ mha_fifo_posix_threads_t()

mha_fifo_posix_threads_t::mha_fifo_posix_threads_t ( )
inline

◆ ~mha_fifo_posix_threads_t()

virtual mha_fifo_posix_threads_t::~mha_fifo_posix_threads_t ( )
inlinevirtual

Member Function Documentation

◆ aquire_mutex()

virtual void mha_fifo_posix_threads_t::aquire_mutex ( )
inlinevirtual

◆ release_mutex()

virtual void mha_fifo_posix_threads_t::release_mutex ( )
inlinevirtual

◆ wait_for_decrease()

virtual void mha_fifo_posix_threads_t::wait_for_decrease ( )
inlinevirtual

◆ wait_for_increase()

virtual void mha_fifo_posix_threads_t::wait_for_increase ( )
inlinevirtual

◆ increment()

virtual void mha_fifo_posix_threads_t::increment ( )
inlinevirtual

◆ decrement()

virtual void mha_fifo_posix_threads_t::decrement ( )
inlinevirtual

Member Data Documentation

◆ mutex

pthread_mutex_t mha_fifo_posix_threads_t::mutex
private

◆ decrease_condition

pthread_cond_t mha_fifo_posix_threads_t::decrease_condition
private

◆ increase_condition

pthread_cond_t mha_fifo_posix_threads_t::increase_condition
private

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