cartobase  5.0.5
carto::MutexedObject Class Reference

#include <cartobase/smart/mutexrcptr.h>

Inheritance diagram for carto::MutexedObject:
Collaboration diagram for carto::MutexedObject:

Public Types

typedef carto::Mutex Mutex
 
- Public Types inherited from carto::RCObject
typedef int RefCounterType
 

Public Member Functions

 MutexedObject ()
 
 MutexedObject (const MutexedObject &)
 
virtual ~MutexedObject ()
 
MutexedObjectoperator= (const MutexedObject &)
 
Mutexmutex () const
 
- Public Member Functions inherited from carto::RCObject
 RCObject ()
 
 RCObject (const RCObject &)
 
RCObjectoperator= (const RCObject &)
 
virtual ~RCObject ()
 

Detailed Description

Definition at line 44 of file mutexrcptr.h.

Member Typedef Documentation

◆ Mutex

Definition at line 48 of file mutexrcptr.h.

Constructor & Destructor Documentation

◆ MutexedObject() [1/2]

carto::MutexedObject::MutexedObject ( )
inline

Definition at line 115 of file mutexrcptr.h.

◆ MutexedObject() [2/2]

carto::MutexedObject::MutexedObject ( const MutexedObject other)
inline

Definition at line 121 of file mutexrcptr.h.

◆ ~MutexedObject()

virtual carto::MutexedObject::~MutexedObject ( )
virtual

Member Function Documentation

◆ mutex()

MutexedObject::Mutex * carto::MutexedObject::mutex ( ) const
inline

Definition at line 139 of file mutexrcptr.h.

Referenced by carto::MutexRcPtr< T >::lock(), and carto::MutexRcPtr< T >::unlock().

◆ operator=()

MutexedObject & carto::MutexedObject::operator= ( const MutexedObject other)
inline

Definition at line 128 of file mutexrcptr.h.

References carto::RCObject::operator=().


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