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

#include <thread_pthreads.h>

Inheritance diagram for scopira::tool::locker_ptr< T >:
scopira::tool::area_ptr< T > scopira::tool::area_ptr< T > scopira::tool::event_ptr< T > scopira::tool::event_ptr< T >

Public Member Functions

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

Protected Attributes

scopira::tool::mutexdm_mut
 
- Protected Attributes inherited from scopira::tool::area_ptr< T >
T * dm_ptr
 

Additional Inherited Members

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

Detailed Description

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

similar to locker, but this also a "ptr" like class wrapper around the given object. it removes the volatile modifier from the given class for the duration of it's existance

Author
Aleksander Demko

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