libmoost
|
#include <safe_shared_ptr.hpp>
Public Member Functions | |
scoped_lock (safe_shared_ptr< T > &p) | |
void | swap (boost::shared_ptr< T > &p) |
T & | operator* () const |
T * | operator-> () const |
T * | get () const |
bool | unique () const |
long | use_count () const |
operator bool () const | |
Private Attributes | |
boost::mutex::scoped_lock | lock_ |
boost::shared_ptr< T > & | p_ |
Definition at line 246 of file safe_shared_ptr.hpp.
moost::safe_shared_ptr< T >::scoped_lock::scoped_lock | ( | safe_shared_ptr< T > & | p | ) | [inline] |
Definition at line 255 of file safe_shared_ptr.hpp.
T* moost::safe_shared_ptr< T >::scoped_lock::get | ( | ) | const [inline] |
Definition at line 261 of file safe_shared_ptr.hpp.
moost::safe_shared_ptr< T >::scoped_lock::operator bool | ( | ) | const [inline] |
Definition at line 264 of file safe_shared_ptr.hpp.
T& moost::safe_shared_ptr< T >::scoped_lock::operator* | ( | ) | const [inline] |
Definition at line 259 of file safe_shared_ptr.hpp.
T* moost::safe_shared_ptr< T >::scoped_lock::operator-> | ( | ) | const [inline] |
Definition at line 260 of file safe_shared_ptr.hpp.
void moost::safe_shared_ptr< T >::scoped_lock::swap | ( | boost::shared_ptr< T > & | p | ) | [inline] |
Definition at line 257 of file safe_shared_ptr.hpp.
bool moost::safe_shared_ptr< T >::scoped_lock::unique | ( | ) | const [inline] |
Definition at line 262 of file safe_shared_ptr.hpp.
long moost::safe_shared_ptr< T >::scoped_lock::use_count | ( | ) | const [inline] |
Definition at line 263 of file safe_shared_ptr.hpp.
boost::mutex::scoped_lock moost::safe_shared_ptr< T >::scoped_lock::lock_ [private] |
Definition at line 250 of file safe_shared_ptr.hpp.
boost::shared_ptr<T>& moost::safe_shared_ptr< T >::scoped_lock::p_ [private] |
Definition at line 251 of file safe_shared_ptr.hpp.