Show / Hide Table of Contents

Class WootingDeviceProvider

Represents the abstract base implementation for a IRGBDeviceProvider.

Inheritance
object
AbstractRGBDeviceProvider
WootingDeviceProvider
Implements
IRGBDeviceProvider
IDisposable
Inherited Members
AbstractRGBDeviceProvider.IsInitialized
AbstractRGBDeviceProvider.ThrowsExceptions
AbstractRGBDeviceProvider.Devices
AbstractRGBDeviceProvider.UpdateTriggers
AbstractRGBDeviceProvider.Exception
AbstractRGBDeviceProvider.DevicesChanged
AbstractRGBDeviceProvider.Initialize(RGBDeviceType, bool)
AbstractRGBDeviceProvider.Throw(Exception, bool)
AbstractRGBDeviceProvider.Dispose()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: RGB.NET.Devices.Wooting
Assembly: RGB.NET.Devices.Wooting.dll
Syntax
public sealed class WootingDeviceProvider : AbstractRGBDeviceProvider, IRGBDeviceProvider, IDisposable

Constructors

| Edit this page View Source

WootingDeviceProvider()

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 Source

Instance

Gets the singleton WootingDeviceProvider instance.

Declaration
public static WootingDeviceProvider Instance { get; }
Property Value
Type Description
WootingDeviceProvider
| Edit this page View Source

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>
| Edit this page View Source

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>
| Edit this page View Source

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>
| Edit this page View Source

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 Source

Dispose(bool)

Disposes the object and frees all resources.

Declaration
protected override void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing

true if explicitely called through the Dispose-Method, false if called by the destructor.

Overrides
AbstractRGBDeviceProvider.Dispose(bool)
| Edit this page View Source

InitializeSDK()

Initializes the underlying SDK.

Declaration
protected override void InitializeSDK()
Overrides
AbstractRGBDeviceProvider.InitializeSDK()
| Edit this page View Source

LoadDevices()

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
AbstractRGBDeviceProvider.LoadDevices()
Remarks

Filtering happens in GetLoadedDevices(RGBDeviceType).

Implements

IRGBDeviceProvider
IDisposable
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX