RLib  5.7
RLib - an opensource, lightweight and multi-platform framework for cpp programming
System::Threading::SafeObject< R, LOCKER > Class Template Reference

encapsulates a object whose access is guaranteed to be thread-safe More...

Inheritance diagram for System::Threading::SafeObject< R, LOCKER >:
System::Object< R >

Public Types

typedef R Type
 Gets the Type of the current instance More...
 
typedef LOCKER SyncType
 Gets the Type of the current locker More...
 

Public Member Functions

 SafeObject (R *ptr)
 
SafeObjectoperator= (R *ptr)
 
void Finalize ()
 
SafeObjectHelper< R, LOCKER > operator-> ()
 
LOCKER & GetSyncRoot ()
 Gets an object that can be used to synchronize access to the BitArray More...
 
 RLIB_PROPERTY_GET (LOCKER &SyncRoot, GetSyncRoot)
 Gets an object that can be used to synchronize access to the BitArray More...
 

Detailed Description

template<class R, class LOCKER = Threading::AtomicLock>
class System::Threading::SafeObject< R, LOCKER >

encapsulates a object whose access is guaranteed to be thread-safe

Member Typedef Documentation

template<class R , class LOCKER = Threading::AtomicLock>
typedef LOCKER System::Threading::SafeObject< R, LOCKER >::SyncType

Gets the Type of the current locker

template<class R , class LOCKER = Threading::AtomicLock>
typedef R System::Threading::SafeObject< R, LOCKER >::Type

Gets the Type of the current instance

Member Function Documentation

template<class R , class LOCKER = Threading::AtomicLock>
LOCKER& System::Threading::SafeObject< R, LOCKER >::GetSyncRoot ( )
inline

Gets an object that can be used to synchronize access to the BitArray

template<class R , class LOCKER = Threading::AtomicLock>
System::Threading::SafeObject< R, LOCKER >::RLIB_PROPERTY_GET ( LOCKER &  SyncRoot,
GetSyncRoot   
)

Gets an object that can be used to synchronize access to the BitArray


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