Nui
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Microsoft::WRL::Wrappers::Mutex Class Reference

#include <corewrappers.h>

Inheritance diagram for Microsoft::WRL::Wrappers::Mutex:
Inheritance graph
[legend]
Collaboration diagram for Microsoft::WRL::Wrappers::Mutex:
Collaboration graph
[legend]

Public Types

typedef Details::SyncLockWithStatusT< HandleTraits::MutexTraitsSyncLock
 
- Public Types inherited from Microsoft::WRL::Wrappers::HandleT< HandleTraits::MutexTraits >
typedef HandleTraits Traits
 

Public Member Functions

 Mutex (HANDLE h) throw ()
 
 Mutex (_Inout_ Mutex &&h) throw ()
 
Mutexoperator= (_Inout_ Mutex &&h) throw ()
 
SyncLock Lock (DWORD milliseconds=INFINITE) throw ()
 
- Public Member Functions inherited from Microsoft::WRL::Wrappers::HandleT< HandleTraits::MutexTraits >
 HandleT (typename HandleTraits::Type h=HandleTraits::GetInvalidValue()) throw ()
 
 HandleT (_Inout_ HandleT &&h) throw ()
 
virtual ~HandleT () throw ()
 
HandleToperator= (_Inout_ HandleT &&h) throw ()
 
void Attach (typename HandleTraits::Type h) throw ()
 
HandleTraits::Type Detach () throw ()
 
HandleTraits::Type Get () const throw ()
 
void Close () throw ()
 
bool IsValid () const throw ()
 
HandleTraits::Type * GetAddressOf () throw ()
 
HandleTraits::Type * ReleaseAndGetAddressOf () throw ()
 

Static Public Member Functions

static SyncLock Lock (HANDLE h, DWORD milliseconds=INFINITE) throw ()
 

Additional Inherited Members

- Protected Member Functions inherited from Microsoft::WRL::Wrappers::HandleT< HandleTraits::MutexTraits >
virtual bool InternalClose () throw ()
 
- Protected Attributes inherited from Microsoft::WRL::Wrappers::HandleT< HandleTraits::MutexTraits >
HandleTraits::Type handle_
 

Member Typedef Documentation

◆ SyncLock

Constructor & Destructor Documentation

◆ Mutex() [1/2]

Microsoft::WRL::Wrappers::Mutex::Mutex ( HANDLE  h)
throw (
)
inlineexplicit

◆ Mutex() [2/2]

Microsoft::WRL::Wrappers::Mutex::Mutex ( _Inout_ Mutex &&  h)
throw (
)
inline

Member Function Documentation

◆ Lock() [1/2]

SyncLock Microsoft::WRL::Wrappers::Mutex::Lock ( DWORD  milliseconds = INFINITE)
throw (
)
inline

◆ Lock() [2/2]

static SyncLock Microsoft::WRL::Wrappers::Mutex::Lock ( HANDLE  h,
DWORD  milliseconds = INFINITE 
)
throw (
)
inlinestatic

◆ operator=()

Mutex& Microsoft::WRL::Wrappers::Mutex::operator= ( _Inout_ Mutex &&  h)
throw (
)
inline

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