Show / Hide Table of Contents

Class LimitedColorUpdateQueue

Represents the update-queue performing updates for a limited-color novation device.

Inheritance
object
AbstractReferenceCounting
UpdateQueue<object, Color>
UpdateQueue
MidiUpdateQueue
LimitedColorUpdateQueue
Implements
IUpdateQueue
IUpdateQueue<object, Color>
IReferenceCounting
IDisposable
Inherited Members
MidiUpdateQueue.Dispose()
UpdateQueue<object, Color>.RequiresFlush
UpdateQueue<object, Color>.SetData(ReadOnlySpan<(object, Color)>)
UpdateQueue<object, Color>.Reset()
UpdateQueue<object, Color>.Dispose()
AbstractReferenceCounting.ActiveReferenceCount
AbstractReferenceCounting.AddReferencingObject(object)
AbstractReferenceCounting.RemoveReferencingObject(object)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
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 Source

LimitedColorUpdateQueue(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 Source

CreateMessage(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
MidiUpdateQueue.CreateMessage(object, in Color)
| Edit this page View Source

Reset()

Resets the current data set.

Declaration
public override void Reset()
Overrides
UpdateQueue<object, Color>.Reset()

Implements

IUpdateQueue
IUpdateQueue<TIdentifier, TData>
IReferenceCounting
IDisposable

Extension Methods

ReferenceCountingExtension.HasActiveReferences(IReferenceCounting)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX