Class WootingDeviceProvider
Represents the abstract base implementation for a IRGBDeviceProvider.
Inherited Members
Namespace: RGB.NET.Devices.Wooting
Assembly: RGB.NET.Devices.Wooting.dll
Syntax
public sealed class WootingDeviceProvider : AbstractRGBDeviceProvider, IRGBDeviceProvider, IDisposable
Constructors
| Edit this page View SourceWootingDeviceProvider()
Initializes a new instance of the WootingDeviceProvider class.
Declaration
public WootingDeviceProvider()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if this constructor is called even if there is already an instance of this class. |
Properties
| Edit this page View SourceInstance
Gets the singleton WootingDeviceProvider instance.
Declaration
public static WootingDeviceProvider Instance { get; }
Property Value
Type | Description |
---|---|
WootingDeviceProvider |
PossibleNativePathsLinux
Gets a modifiable list of paths used to find the native SDK-dlls for x64 linux applications. The first match will be used.
Declaration
public static List<string> PossibleNativePathsLinux { get; }
Property Value
Type | Description |
---|---|
List<string> |
PossibleNativePathsMacOS
Gets a modifiable list of paths used to find the native SDK-dlls for x64 MacOS applications. The first match will be used.
Declaration
public static List<string> PossibleNativePathsMacOS { get; }
Property Value
Type | Description |
---|---|
List<string> |
PossibleX64NativePathsWindows
Gets a modifiable list of paths used to find the native SDK-dlls for x64 windows applications. The first match will be used.
Declaration
public static List<string> PossibleX64NativePathsWindows { get; }
Property Value
Type | Description |
---|---|
List<string> |
PossibleX86NativePathsWindows
Gets a modifiable list of paths used to find the native SDK-dlls for x86 windows applications. The first match will be used.
Declaration
public static List<string> PossibleX86NativePathsWindows { get; }
Property Value
Type | Description |
---|---|
List<string> |
Methods
| Edit this page View SourceDispose(bool)
Disposes the object and frees all resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
|
Overrides
| Edit this page View SourceInitializeSDK()
Initializes the underlying SDK.
Declaration
protected override void InitializeSDK()
Overrides
| Edit this page View SourceLoadDevices()
Loads all devices this device provider is capable of loading.
Declaration
protected override IEnumerable<IRGBDevice> LoadDevices()
Returns
Type | Description |
---|---|
IEnumerable<IRGBDevice> | A collection of loaded devices. |
Overrides
Remarks
Filtering happens in GetLoadedDevices(RGBDeviceType).