Class LimitedColorUpdateQueue
Represents the update-queue performing updates for a limited-color novation device.
Inheritance
LimitedColorUpdateQueue
Inherited Members
Namespace: RGB.NET.Devices.Novation
Assembly: RGB.NET.Devices.Novation.dll
Syntax
public sealed class LimitedColorUpdateQueue : MidiUpdateQueue, IUpdateQueue, IUpdateQueue<object, Color>, IReferenceCounting, IDisposable
Constructors
| Edit this page View SourceLimitedColorUpdateQueue(IDeviceUpdateTrigger, int)
Initializes a new instance of the LimitedColorUpdateQueue class.
Declaration
public LimitedColorUpdateQueue(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()