libvirtualhid 19
Cross-platform C++ library for virtual HID devices.
lvh::KeyboardCreationResult Struct Reference

Result returned by keyboard creation. More...

#include <src/include/libvirtualhid/runtime.hpp>

Collaboration diagram for lvh::KeyboardCreationResult:
[legend]

Public Member Functions

 operator bool () const
 Check whether creation succeeded and produced a handle.
 

Public Attributes

std::unique_ptr< Keyboardkeyboard
 Created keyboard handle when creation succeeds.
 
OperationStatus status
 Creation status.
 

Detailed Description

Result returned by keyboard creation.

Member Function Documentation

◆ operator bool()

lvh::KeyboardCreationResult::operator bool ( ) const
inlineexplicit

Check whether creation succeeded and produced a handle.

Returns
true when creation succeeded.

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