The C++ framework for developing highly scalable, high performance servers on Windows platforms.

TLockableObjectOwner Class Template Reference
[Win32 Synchronization primitivesRAII - Resource Acquisition Is Initialization]

Collaboration diagram for TLockableObjectOwner:

List of all members.

Detailed Description

template<typename T>
class JetByteTools::Core::TLockableObjectOwner< T >

A class that takes ownership of a lockable object. That is it calls Lock() in the constructor and Unlock() in the destructor and can therefore be used to support scope based locking and unlocking of instances of the object.

Public Member Functions

 TLockableObjectOwner (T &lock)
 TLockableObjectOwner (const TLockableObjectOwner &rhs)
 ~TLockableObjectOwner ()
TLockableObjectOwneroperator= (const TLockableObjectOwner &rhs)

Constructor & Destructor Documentation

TLockableObjectOwner ( T &  lock  )  [inline, explicit]

TLockableObjectOwner ( const TLockableObjectOwner< T > &  rhs  ) 

~TLockableObjectOwner (  )  [inline]

Member Function Documentation

TLockableObjectOwner& operator= ( const TLockableObjectOwner< T > &  rhs  ) 

Generated on Sun Sep 12 19:08:41 2021 for The Server Framework - v7.4 by doxygen 1.5.3