CybSDK C++  4.3
Static Public Member Functions
CybSDK::Virt Class Reference

Entry class of the Cyberith Virtualizer SDK. More...

#include <CVirt.h>

Static Public Member Functions

static uint16_t GetSDKVersion ()
 Returns the version number of the Virtualizer SDK. More...
 
static VirtDeviceFindDevice ()
 Finds a standard Virtualizer device object. More...
 
static VirtDeviceGetDevice (const VirtDeviceInfo &device)
 Returns a standard Virtualizer device described by the given device info. More...
 
static const VirtDeviceInfoFindDevices (unsigned &numDevices)
 Finds all Virtualizer devices and returns their info. More...
 
static VirtDeviceCreateDeviceMockupXInput ()
 Creates a virtualizer mockup for xInput controller. More...
 
static VirtDeviceCreateDeviceMockupKeyboard ()
 Creates a virtualizer mockup for Keyboard. More...
 

Detailed Description

Entry class of the Cyberith Virtualizer SDK.

Member Function Documentation

◆ GetSDKVersion()

static uint16_t CybSDK::Virt::GetSDKVersion ( )
static

Returns the version number of the Virtualizer SDK.

Returns
(MajorVersion << 8) + MinorVersion.

◆ FindDevice()

static VirtDevice* CybSDK::Virt::FindDevice ( )
static

Finds a standard Virtualizer device object.

Factory methods for a Virtualizer device object.

Returns
A valid VirtDevice, or nullptr if no Virtualizer device was found.
Remarks
To be freed using C++ delete by caller.

◆ GetDevice()

static VirtDevice* CybSDK::Virt::GetDevice ( const VirtDeviceInfo device)
static

Returns a standard Virtualizer device described by the given device info.

Parameters
deviceA device info struct returned by Virt::FindDevices.
Returns
A valid VirtDevice, or nullptr if the Virtualizer device was not found.
Remarks
To be freed using C++ delete by caller.

◆ FindDevices()

static const VirtDeviceInfo* CybSDK::Virt::FindDevices ( unsigned &  numDevices)
static

Finds all Virtualizer devices and returns their info.

Parameters
numDevicesNumber of devices found.
Returns
A VirtDeviceInfo array, or nullptr if no Virtualizer device was found.
Remarks
To be freed using C++ delete[] by caller.

◆ CreateDeviceMockupXInput()

static VirtDevice* CybSDK::Virt::CreateDeviceMockupXInput ( )
static

Creates a virtualizer mockup for xInput controller.

Returns
A virtual VirtDevice, driven by DirectX xInput.
Remarks
To be freed using C++ delete by caller.

◆ CreateDeviceMockupKeyboard()

static VirtDevice* CybSDK::Virt::CreateDeviceMockupKeyboard ( )
static

Creates a virtualizer mockup for Keyboard.

Returns
A virtual VirtDevice, driven by Keyboard input.
Remarks
To be freed using C++ delete by caller.

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