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

Class with a waiting read. More...

#include <AtomicReadWait.hh>

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

Public Member Functions

 AtomicReadWait ()
 
 AtomicReadWait (const T &_val)
 
 ~AtomicReadWait ()
 
operator= (const T &_v)
 
void set (const T &_value, bool _notify=true)
 
get ()
 
getBlocked ()
 
template<typename TypeMemFn >
void change (TypeMemFn _memfun)
 
template<typename TypeMemFn , typename TypeVal1 >
void change (TypeMemFn _memfun, const TypeVal1 &_val1)
 
template<typename TypeMemFn , typename TypeVal1 , typename TypeVal2 >
void change (TypeMemFn _memfun, const TypeVal1 &_val1, const TypeVal2 _val2)
 
 AtomicReadWait ()
 
 AtomicReadWait (const T &_val)
 
 ~AtomicReadWait ()
 
operator= (const T &_v)
 
void set (const T &_value, bool _notify=true)
 
get ()
 
getBlocked ()
 
template<typename TypeMemFn >
void change (TypeMemFn _memfun)
 
template<typename TypeMemFn , typename TypeVal1 >
void change (TypeMemFn _memfun, const TypeVal1 &_val1)
 
template<typename TypeMemFn , typename TypeVal1 , typename TypeVal2 >
void change (TypeMemFn _memfun, const TypeVal1 &_val1, const TypeVal2 _val2)
 
- Public Member Functions inherited from Nice::AtomicReadWaitBase< T >
 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 ()
 

Private Attributes

m_value
 

Additional Inherited Members

- Protected Attributes inherited from Nice::AtomicReadWaitBase< T >
Nice::Monitor m_monitor
 

Detailed Description

template<class T>
class Nice::AtomicReadWait< T >

Class with a waiting read.

Author
Florian Briegel
Version
11.02.04
Date
2012-08-10 11:04:58 AM

Constructor & Destructor Documentation

◆ AtomicReadWait() [1/4]

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

◆ AtomicReadWait() [2/4]

template<class T >
Nice::AtomicReadWait< T >::AtomicReadWait ( const T &  _val)
inline

◆ ~AtomicReadWait() [1/2]

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

◆ AtomicReadWait() [3/4]

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

◆ AtomicReadWait() [4/4]

template<class T >
Nice::AtomicReadWait< T >::AtomicReadWait ( const T &  _val)
inline

◆ ~AtomicReadWait() [2/2]

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

Member Function Documentation

◆ change() [1/6]

template<class T >
template<typename TypeMemFn >
void Nice::AtomicReadWait< T >::change ( TypeMemFn  _memfun)
inline

◆ change() [2/6]

template<class T >
template<typename TypeMemFn >
void Nice::AtomicReadWait< T >::change ( TypeMemFn  _memfun)
inline

◆ change() [3/6]

template<class T >
template<typename TypeMemFn , typename TypeVal1 >
void Nice::AtomicReadWait< T >::change ( TypeMemFn  _memfun,
const TypeVal1 &  _val1 
)
inline

◆ change() [4/6]

template<class T >
template<typename TypeMemFn , typename TypeVal1 >
void Nice::AtomicReadWait< T >::change ( TypeMemFn  _memfun,
const TypeVal1 &  _val1 
)
inline

◆ change() [5/6]

template<class T >
template<typename TypeMemFn , typename TypeVal1 , typename TypeVal2 >
void Nice::AtomicReadWait< T >::change ( TypeMemFn  _memfun,
const TypeVal1 &  _val1,
const TypeVal2  _val2 
)
inline

◆ change() [6/6]

template<class T >
template<typename TypeMemFn , typename TypeVal1 , typename TypeVal2 >
void Nice::AtomicReadWait< T >::change ( TypeMemFn  _memfun,
const TypeVal1 &  _val1,
const TypeVal2  _val2 
)
inline

◆ get() [1/2]

template<class T >
T Nice::AtomicReadWait< T >::get ( void  )
inline

◆ get() [2/2]

template<class T >
T Nice::AtomicReadWait< T >::get ( void  )
inline

◆ getBlocked() [1/2]

template<class T >
T Nice::AtomicReadWait< T >::getBlocked ( )
inline

◆ getBlocked() [2/2]

template<class T >
T Nice::AtomicReadWait< T >::getBlocked ( )
inline

◆ operator=() [1/2]

template<class T >
T Nice::AtomicReadWait< T >::operator= ( const T &  _v)
inline

◆ operator=() [2/2]

template<class T >
T Nice::AtomicReadWait< T >::operator= ( const T &  _v)
inline

◆ set() [1/2]

template<class T >
void Nice::AtomicReadWait< T >::set ( const T &  _value,
bool  _notify = true 
)
inline

◆ set() [2/2]

template<class T >
void Nice::AtomicReadWait< T >::set ( const T &  _value,
bool  _notify = true 
)
inline

Member Data Documentation

◆ m_value

template<class T >
T Nice::AtomicReadWait< T >::m_value
private

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