Show / Hide Table of Contents

Class CoolerMasterUpdateQueue

Represents a generic UpdateQueue<TIdentifier, TData> using an object as the key and a color as the value.

Inheritance
object
AbstractReferenceCounting
UpdateQueue<object, Color>
UpdateQueue
CoolerMasterUpdateQueue
Implements
IUpdateQueue
IUpdateQueue<object, Color>
IReferenceCounting
IDisposable
Inherited Members
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.CoolerMaster
Assembly: RGB.NET.Devices.CoolerMaster.dll
Syntax
public sealed class CoolerMasterUpdateQueue : UpdateQueue, IUpdateQueue, IUpdateQueue<object, Color>, IReferenceCounting, IDisposable

Constructors

| Edit this page View Source

CoolerMasterUpdateQueue(IDeviceUpdateTrigger, CoolerMasterDevicesIndexes)

Initializes a new instance of the CoolerMasterUpdateQueue class.

Declaration
public CoolerMasterUpdateQueue(IDeviceUpdateTrigger updateTrigger, CoolerMasterDevicesIndexes deviceIndex)
Parameters
Type Name Description
IDeviceUpdateTrigger updateTrigger

The update trigger used by this queue.

CoolerMasterDevicesIndexes deviceIndex

The CoolerMasterDevicesIndexes of the device this queue performs updates for.

Methods

| Edit this page View Source

Update(in ReadOnlySpan<(object key, Color color)>)

Performs the update this queue is responsible for.

Declaration
protected override bool Update(in ReadOnlySpan<(object key, Color color)> dataSet)
Parameters
Type Name Description
ReadOnlySpan<(object key, Color color)> dataSet

The set of data that needs to be updated.

Returns
Type Description
bool
Overrides
UpdateQueue<object, Color>.Update(in ReadOnlySpan<(object key, Color color)>)

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