dxd - dynax driver framework 2.1.0d49
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::object< invalid_t > Class Template Reference

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>

+ Inheritance diagram for dx::object< invalid_t >:

Public Member Functions

void free () noexcept
 
 operator const os_event () const noexcept
 
 operator os_event () noexcept
 
 operator::HANDLE () const noexcept
 
objectoperator= (const object &object)
 
virtual ~object () noexcept
 the device class destructor
 

Protected Member Functions

 object ()=default
 

Protected Attributes

::HANDLE handle = invalid_t
 
::HANDLE process = ::GetCurrentProcess()
 

Detailed Description

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
class dx::object< invalid_t >

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.)

Constructor & Destructor Documentation

◆ object()

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
dx::object< invalid_t >::object ( )
protecteddefault

◆ ~object()

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
virtual dx::object< invalid_t >::~object ( )
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

+ Here is the call graph for this function:

Member Function Documentation

◆ free()

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
void dx::object< invalid_t >::free ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ operator const os_event()

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
dx::object< invalid_t >::operator const os_event ( ) const
inlinenoexcept

◆ operator os_event()

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
dx::object< invalid_t >::operator os_event ( )
inlinenoexcept

◆ operator::HANDLE()

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
dx::object< invalid_t >::operator::HANDLE ( ) const
inlinenoexcept

◆ operator=()

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
object & dx::object< invalid_t >::operator= ( const object< invalid_t > & object)
inline

Member Data Documentation

◆ handle

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
::HANDLE dx::object< invalid_t >::handle = invalid_t
protected

◆ process

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
::HANDLE dx::object< invalid_t >::process = ::GetCurrentProcess()
protected

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

(c) copyright 2009 dynamic acoustics e.U. generated on Sat Mar 2 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.