dxd - dynax driver framework 2.1.0d62
cross platform open source driver development framework
|
Windows handle class bill wasn't sure wether an invalid handle is a nullptr or -1. Hence the invalid_t template parameter. (Usually its -1, but i.e. for file mappings its nullptr, etc.) More...
#include <dx_sync.h>
Public Member Functions | |
void | free () noexcept |
operator const os_event () const noexcept | |
operator os_event () noexcept | |
operator::HANDLE () const noexcept | |
resource & | operator= (const resource &resource) |
virtual | ~resource () noexcept |
the device class destructor | |
Protected Member Functions | |
resource ()=default | |
Protected Attributes | |
::HANDLE | handle = invalid_t |
::HANDLE | process = ::GetCurrentProcess() |
Windows handle class bill wasn't sure wether an invalid handle is a nullptr or -1. Hence the invalid_t template parameter. (Usually its -1, but i.e. for file mappings its nullptr, etc.)
|
protecteddefault |
|
inlinevirtualnoexcept |
the device class destructor
the underlaying windows APIs is CloseHandle(). for detailed information see http://msdn.microsoft.com/en-us/library/ms724211(VS.85).aspx
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
protected |
|
protected |
(c) copyright 2009 dynamic acoustics e.U. | generated on Thu May 9 2024 |