using System;
using System.Collections.Generic;
using RGB.NET.Core;
using RGB.NET.Devices.Razer.Native;
namespace RGB.NET.Devices.Razer
{
///
/// Represents a basic update-queue performing updates for razer devices.
///
public abstract class RazerUpdateQueue : UpdateQueue
{
#region Properties & Fields
private readonly Guid _deviceId;
private Guid? _lastEffect;
#endregion
#region Constructors
///
/// Initializes a new instance of the class.
///
/// The update trigger used to update this queue.
/// The id of the device updated by this queue.
protected RazerUpdateQueue(IDeviceUpdateTrigger updateTrigger, Guid deviceId)
: base(updateTrigger)
{
this._deviceId = deviceId;
}
#endregion
#region Methods
///
protected override void Update(Dictionary