|
dxd - dynax driver framework 3.0.2
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 | |
| virtual void | free() noexcept |
| operator const os_event() const noexcept | |
| operator os_event() noexcept | |
| operator ::HANDLE() const noexcept | |
| resource& | operator =(const resource& resource) |
| virtual | ~resource() |
| 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 |
|
inlinevirtual |
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
|
inlinevirtualnoexcept |
Reimplemented in dx::coreaudio::pod::stream< device_t, circular_t >, dx::service::manager::promoted, dx::service::platform::connection, dx::service::platform::pipe, dx::shared::memory< buffer_t >, dx::shared::memory< buffer_t >, dx::shared::memory< circular_t >, dx::shared::memory< circular_t >, dx::shared::memory< dx::circular >, dx::shared::memory< dx::stream::clock::monitor >, dx::shared::memory< dx::stream::clock::monitor >, dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >, dx::stream::shared::stream< device_t, circular_t >, dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >, and dx::stream::shared::stream< device_t, dx::circular >.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
protected |
|
protected |