mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
28 lines
940 B
C#
28 lines
940 B
C#
using System.Collections.Generic;
|
|
|
|
namespace PepperDash.Essentials.Core.Routing
|
|
{
|
|
/// <summary>
|
|
/// Defines the contract for IMatrixRouting
|
|
/// </summary>
|
|
public interface IMatrixRouting
|
|
{
|
|
/// <summary>
|
|
/// Gets the input slots
|
|
/// </summary>
|
|
Dictionary<string, IRoutingInputSlot> InputSlots { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the output slots
|
|
/// </summary>
|
|
Dictionary<string, IRoutingOutputSlot> OutputSlots { get; }
|
|
|
|
/// <summary>
|
|
/// Routes the specified input slot to the specified output slot for the specified signal type
|
|
/// </summary>
|
|
/// <param name="inputSlotKey">key of the input slot</param>
|
|
/// <param name="outputSlotKey">key of the output slot</param>
|
|
/// <param name="type">signal type</param>
|
|
void Route(string inputSlotKey, string outputSlotKey, eRoutingSignalType type);
|
|
}
|
|
}
|