Class RGBColorUpdateQueue
Represents the update-queue performing updates for a RGB-color novation device.
Inheritance
RGBColorUpdateQueue
Inherited Members
Namespace: RGB.NET.Devices.Novation
Assembly: RGB.NET.Devices.Novation.dll
Syntax
public sealed class RGBColorUpdateQueue : MidiUpdateQueue, IUpdateQueue, IUpdateQueue<object, Color>, IReferenceCounting, IDisposable
Constructors
| Edit this page View SourceRGBColorUpdateQueue(IDeviceUpdateTrigger, int)
Initializes a new instance of the RGBColorUpdateQueue class.
Declaration
public RGBColorUpdateQueue(IDeviceUpdateTrigger updateTrigger, int deviceId)
Parameters
Type | Name | Description |
---|---|---|
IDeviceUpdateTrigger | updateTrigger | The update trigger used by this queue. |
int | deviceId | The device-id of the device this queue is performing updates for. |
Methods
| Edit this page View SourceCreateMessage(object, in Color)
Creates a update-message out of a specified data set.
Declaration
protected override ShortMessage? CreateMessage(object key, in Color color)
Parameters
Type | Name | Description |
---|---|---|
object | key | The key used to identify the LED to update. |
Color | color | The color to send. |
Returns
Type | Description |
---|---|
ShortMessage | The message created out of the data set. |
Overrides
| Edit this page View SourceReset()
Resets the current data set.
Declaration
public override void Reset()