Scopira  20080306
scopira::tool::read_locker_ptr< T > Class Template Reference

#include <thread_pthreads.h>

Inheritance diagram for scopira::tool::read_locker_ptr< T >:
scopira::tool::const_area_ptr< T > scopira::tool::const_area_ptr< T >

Public Member Functions

 read_locker_ptr (const rw_area< T > &ref)
 ctor
 
 ~read_locker_ptr ()
 dtor
 
 read_locker_ptr (const rw_area< T > &ref)
 ctor
 
 ~read_locker_ptr ()
 dtor
 
- Public Member Functions inherited from scopira::tool::const_area_ptr< T >
 const_area_ptr (const shared_area< T > &ref)
 
 const_area_ptr (const rw_area< T > &ref)
 
const T * get (void)
 members
 
const T & operator* (void)
 pointer behaviour
 
const T * operator-> (void)
 pointer behaviour
 
void reset (void)
 
 const_area_ptr (const shared_area< T > &ref)
 
 const_area_ptr (const rw_area< T > &ref)
 
const T * get (void)
 members
 
const T & operator* (void)
 pointer behaviour
 
const T * operator-> (void)
 pointer behaviour
 
void reset (void)
 

Protected Attributes

scopira::tool::rwlockdm_rw
 
- Protected Attributes inherited from scopira::tool::const_area_ptr< T >
const T * dm_ptr
 

Additional Inherited Members

- Protected Member Functions inherited from scopira::tool::const_area_ptr< T >
 const_area_ptr (const volatile T &ref)
 
 const_area_ptr (const volatile T &ref)
 

Detailed Description

template<class T>
class scopira::tool::read_locker_ptr< T >

Similar to locker_ptr, this on does a read_lock on a rw_area

Author
Aleksander Demko

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