CybSDK C++  4.3
CVirt.h
1 /************************************************************************************
2 Filename : CVirt.h
3 Content : Main entry point for all Virtualizer applications.
4  class Virt handles all common tasks for setting up a connection.
5 
6 Copyright 2019 Cyberith GmbH
7 Authors : Lukas Pfeifhofer, Jeroen Doggen, Stefan Radlwimmer <s.radlwimmer@cyberith.com>
8 Support : support@cyberith.com
9 *************************************************************************************/
10 
11 #ifndef CVirt_h
12 #define CVirt_h
13 
14 #include "CVirtExport.h"
15 
16 #include "CVirtDeviceInfo.h"
17 #include "CVirtDevice.h"
18 
19 namespace CybSDK
20 {
24  class CYBSDK_EXPORT Virt
25  {
26  public:
27 
32  static uint16_t GetSDKVersion();
33 
34 
35  //****************************************************************************************
36  //* Factories
37  //****************************************************************************************
38 
46  static VirtDevice* FindDevice();
47 
54  static VirtDevice* GetDevice(const VirtDeviceInfo& device);
55 
62  static const VirtDeviceInfo* FindDevices(unsigned& numDevices);
63 
69  static VirtDevice* CreateDeviceMockupXInput();
70 
76  static VirtDevice* CreateDeviceMockupKeyboard();
77  };
78 }
79 
80 #endif
Entry class of the Cyberith Virtualizer SDK.
Definition: CVirt.h:24
Struct containing all infos about a Virtualizer USB device.
Definition: CVirtDeviceInfo.h:22
Main interface all Virtualizer Devices have to implement.
Definition: CVirtDevice.h:22