plugify 1.2.6
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
plugify::Assembly::Handle Struct Reference

Represents a system handle. More...

#include <assembly.hpp>

Public Member Functions

 Handle (void *systemHandle)
 Constructor to initialize the handle.
 
 operator bool () const noexcept
 Checks if the handle is valid.
 
 operator void * () const noexcept
 Converts the handle to a void pointer.
 

Public Attributes

void * handle {}
 The system handle.
 

Detailed Description

Represents a system handle.

Definition at line 51 of file assembly.hpp.

Constructor & Destructor Documentation

◆ Handle()

plugify::Assembly::Handle::Handle ( void *  systemHandle)
inline

Constructor to initialize the handle.

Parameters
systemHandleThe handle value to initialize with.

Definition at line 56 of file assembly.hpp.

Member Function Documentation

◆ operator bool()

plugify::Assembly::Handle::operator bool ( ) const
inlinenoexcept

Checks if the handle is valid.

Returns
True if the handle is valid, false otherwise.

Definition at line 62 of file assembly.hpp.

◆ operator void *()

plugify::Assembly::Handle::operator void * ( ) const
inlinenoexcept

Converts the handle to a void pointer.

Returns
The internal handle as a void pointer.

Definition at line 68 of file assembly.hpp.

Member Data Documentation

◆ handle

void* plugify::Assembly::Handle::handle {}

The system handle.

Definition at line 70 of file assembly.hpp.


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