ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
ucommon::autoshared< T > Class Template Reference

#include <access.h>

Inheritance diagram for ucommon::autoshared< T >:
[legend]
Collaboration diagram for ucommon::autoshared< T >:
[legend]

Public Member Functions

 autoshared (T *lock)
 

Private Member Functions

 __DELETE_DEFAULTS (autoshared)
 
- Private Member Functions inherited from ucommon::SharedProtocol::Locking
 Locking (SharedProtocol *object)
 Create an instance of an exclusive object reference. More...
 
 Locking (const Locking &copy)
 
Lockingoperator= (const Locking &copy)
 
 ~Locking ()
 Destroy reference to shared locked object, release lock. More...
 
bool operator! () const
 Test if the reference holds an active lock. More...
 
 operator bool () const
 Test if the reference holds an active lock. More...
 
void release (void)
 Release a held lock programmatically. More...
 
void exclusive (void)
 Call exclusive access on referenced objects protocol. More...
 
void share (void)
 Restore shared access on referenced objects protocol. More...
 

Detailed Description

template<class T>
class ucommon::autoshared< T >

Definition at line 293 of file access.h.

Constructor & Destructor Documentation

◆ autoshared()

template<class T >
ucommon::autoshared< T >::autoshared ( T *  lock)
inline

Definition at line 299 of file access.h.

Member Function Documentation

◆ __DELETE_DEFAULTS()

template<class T >
ucommon::autoshared< T >::__DELETE_DEFAULTS ( autoshared< T >  )
private

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