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

#include <corewrappers.h>

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

Public Types

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

Public Member Functions

 Semaphore (HANDLE h) throw ()
 
 Semaphore (_Inout_ Semaphore &&h) throw ()
 
Semaphoreoperator= (_Inout_ Semaphore &&h) throw ()
 
SyncLock Lock (DWORD milliseconds=INFINITE) throw ()
 
- Public Member Functions inherited from Microsoft::WRL::Wrappers::HandleT< HandleTraits::SemaphoreTraits >
 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::SemaphoreTraits >
virtual bool InternalClose () throw ()
 
- Protected Attributes inherited from Microsoft::WRL::Wrappers::HandleT< HandleTraits::SemaphoreTraits >
HandleTraits::Type handle_
 

Member Typedef Documentation

◆ SyncLock

Constructor & Destructor Documentation

◆ Semaphore() [1/2]

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

◆ Semaphore() [2/2]

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

Member Function Documentation

◆ Lock() [1/2]

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

◆ Lock() [2/2]

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

◆ operator=()

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

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