TwiceAsNice  2019-02-18
Public Member Functions | Protected Attributes | Private Attributes | List of all members
Nice::AtomicReadWaitBase< T > Class Template Reference

#include <AtomicReadWait.hh>

Inheritance diagram for Nice::AtomicReadWaitBase< T >:
Inheritance graph
Collaboration diagram for Nice::AtomicReadWaitBase< T >:
Collaboration graph

Public Member Functions

 AtomicReadWaitBase ()
 
 ~AtomicReadWaitBase ()
 
void notify ()
 
void wait ()
 
bool timedWait (const Nice::Time &_time)
 
short readers ()
 
void terminate ()
 
short isTerminated ()
 
 AtomicReadWaitBase ()
 
 ~AtomicReadWaitBase ()
 
void notify ()
 
void wait ()
 
bool timedWait (const Nice::Time &_time)
 
short readers ()
 
void terminate ()
 
short isTerminated ()
 

Protected Attributes

Nice::Monitor m_monitor
 

Private Attributes

Nice::Atomic< short > m_waitingReaders
 
Nice::Atomic< boolm_terminated
 

Detailed Description

template<class T>
class Nice::AtomicReadWaitBase< T >


Constructor & Destructor Documentation

◆ AtomicReadWaitBase() [1/2]

template<class T >
Nice::AtomicReadWaitBase< T >::AtomicReadWaitBase ( )
inline

◆ ~AtomicReadWaitBase() [1/2]

template<class T >
Nice::AtomicReadWaitBase< T >::~AtomicReadWaitBase ( )
inline

◆ AtomicReadWaitBase() [2/2]

template<class T >
Nice::AtomicReadWaitBase< T >::AtomicReadWaitBase ( )
inline

◆ ~AtomicReadWaitBase() [2/2]

template<class T >
Nice::AtomicReadWaitBase< T >::~AtomicReadWaitBase ( )
inline

Member Function Documentation

◆ isTerminated() [1/2]

template<class T >
short Nice::AtomicReadWaitBase< T >::isTerminated ( )
inline

◆ isTerminated() [2/2]

template<class T >
short Nice::AtomicReadWaitBase< T >::isTerminated ( )
inline

◆ notify() [1/2]

template<class T >
void Nice::AtomicReadWaitBase< T >::notify ( )
inline

◆ notify() [2/2]

template<class T >
void Nice::AtomicReadWaitBase< T >::notify ( )
inline

◆ readers() [1/2]

template<class T >
short Nice::AtomicReadWaitBase< T >::readers ( )
inline

◆ readers() [2/2]

template<class T >
short Nice::AtomicReadWaitBase< T >::readers ( )
inline

◆ terminate() [1/2]

template<class T >
void Nice::AtomicReadWaitBase< T >::terminate ( )
inline

◆ terminate() [2/2]

template<class T >
void Nice::AtomicReadWaitBase< T >::terminate ( )
inline

◆ timedWait() [1/2]

template<class T >
bool Nice::AtomicReadWaitBase< T >::timedWait ( const Nice::Time _time)
inline

◆ timedWait() [2/2]

template<class T >
bool Nice::AtomicReadWaitBase< T >::timedWait ( const Nice::Time _time)
inline

◆ wait() [1/2]

template<class T >
void Nice::AtomicReadWaitBase< T >::wait ( )
inline

◆ wait() [2/2]

template<class T >
void Nice::AtomicReadWaitBase< T >::wait ( )
inline

Member Data Documentation

◆ m_monitor

template<class T >
Nice::Monitor Nice::AtomicReadWaitBase< T >::m_monitor
protected

◆ m_terminated

template<class T >
Nice::Atomic< bool > Nice::AtomicReadWaitBase< T >::m_terminated
private

◆ m_waitingReaders

template<class T >
Nice::Atomic< short > Nice::AtomicReadWaitBase< T >::m_waitingReaders
private

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