Base Framework
|
Generic descriptor. More...
#include <base/io/Handle.h>
Inherits ReferenceCountedObject.
Inherited by FileDescriptor::Descriptor, and Process::ProcessHandle.
Public Member Functions | |
Handle () noexcept | |
Handle (OperatingSystem::Handle _handle) noexcept | |
OperatingSystem::Handle | getHandle () const noexcept |
bool | isValid () const noexcept |
virtual | ~Handle () |
![]() | |
ReferenceCountedObject () noexcept | |
ReferenceCountedObject (const ReferenceCountedObject ©) noexcept | |
ReferenceCountedObject (ReferenceCountedObject &&move) noexcept | |
ReferenceCountedObject & | operator= (const ReferenceCountedObject ©) noexcept |
ReferenceCountedObject & | operator= (ReferenceCountedObject &&move) noexcept |
MemorySize | getNumberOfReferences_INTERNAL () const noexcept |
virtual bool | useGarbageCollector () const noexcept |
![]() | |
DynamicObject () noexcept | |
bool | isValidObject () const noexcept |
virtual | ~DynamicObject () noexcept(false) |
_COM_AZURE_DEV__BASE__OVERRIDE_ALLOC () | |
Generic descriptor.
A generic descriptor which serves as a handle to a source or sink of bytes within the operatingsystem (e.g. file, socket and pipe). This class is normally not used directly by the application.
|
inlinenoexcept |
Initializes an invalid handle.
|
inlineexplicitnoexcept |
Initializes handle using the specified value.
|
virtual |
Destroys the handle.
|
inlinenoexcept |
Returns the handle.
|
inlinenoexcept |
Returns true if the handle is valid.