Nui
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Microsoft::WRL::Wrappers::Details::SyncLockShared Class Reference

#include <corewrappers.h>

Public Member Functions

 SyncLockShared (_Inout_ SyncLockShared &&other) throw ()
 
_Releases_shared_lock_ sync_ ~SyncLockShared () throw ()
 
_Releases_shared_lock_ sync_ void Unlock () throw ()
 
bool IsLocked () const throw ()
 

Protected Member Functions

 SyncLockShared (SRWLOCK *sync=HandleTraits::SRWLockSharedTraits::GetInvalidValue()) throw ()
 

Protected Attributes

SRWLOCK * sync_
 

Friends

class Wrappers::SRWLock
 

Constructor & Destructor Documentation

◆ SyncLockShared() [1/2]

Microsoft::WRL::Wrappers::Details::SyncLockShared::SyncLockShared ( _Inout_ SyncLockShared &&  other)
throw (
)
inline

◆ ~SyncLockShared()

_Releases_shared_lock_ sync_ Microsoft::WRL::Wrappers::Details::SyncLockShared::~SyncLockShared ( )
throw (
)
inline

◆ SyncLockShared() [2/2]

Microsoft::WRL::Wrappers::Details::SyncLockShared::SyncLockShared ( SRWLOCK *  sync = HandleTraits::SRWLockSharedTraits::GetInvalidValue())
throw (
)
inlineexplicitprotected

Member Function Documentation

◆ IsLocked()

bool Microsoft::WRL::Wrappers::Details::SyncLockShared::IsLocked ( ) const
throw (
)
inline

◆ Unlock()

_Releases_shared_lock_ sync_ void Microsoft::WRL::Wrappers::Details::SyncLockShared::Unlock ( )
throw (
)
inline

Friends And Related Function Documentation

◆ Wrappers::SRWLock

friend class Wrappers::SRWLock
friend

Member Data Documentation

◆ sync_

SRWLOCK* Microsoft::WRL::Wrappers::Details::SyncLockShared::sync_
protected

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