-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
624 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using Cavern.Channels; | ||
using Cavern.Format.ConfigurationFile; | ||
|
||
namespace Cavern.Filters { | ||
/// <summary> | ||
/// Marks an input channel on a parsed <see cref="ConfigurationFile"/> graph. | ||
/// </summary> | ||
/// <remarks>This filter is part of the Cavern.QuickEQ.Format library and is not available in the Cavern library's Filters namespace, | ||
/// because it shall only be created by <see cref="ConfigurationFile"/>s.</remarks> | ||
public class InputChannel : BypassFilter { | ||
/// <summary> | ||
/// The channel for which this filter marks the beginning of the filter pipeline. | ||
/// </summary> | ||
public ReferenceChannel Channel { get; } | ||
|
||
/// <summary> | ||
/// Marks an input channel on a parsed <see cref="ConfigurationFile"/> graph. | ||
/// </summary> | ||
/// <param name="channel">The channel for which this filter marks the beginning of the filter pipeline</param> | ||
protected internal InputChannel(ReferenceChannel channel) : base(channel.GetShortName() + " input") => Channel = channel; | ||
|
||
/// <summary> | ||
/// Marks an input channel on a parsed <see cref="ConfigurationFile"/> graph. | ||
/// </summary> | ||
/// <param name="channel">The channel for which this filter marks the beginning of the filter pipeline</param> | ||
protected internal InputChannel(string channel) : | ||
base(ReferenceChannelExtensions.FromStandardName(channel).GetShortName() + " input") => | ||
Channel = ReferenceChannelExtensions.FromStandardName(channel); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using Cavern.Channels; | ||
using Cavern.Format.ConfigurationFile; | ||
|
||
namespace Cavern.Filters { | ||
/// <summary> | ||
/// Marks an output channel on a parsed <see cref="ConfigurationFile"/> graph. | ||
/// </summary> | ||
/// <remarks>This filter is part of the Cavern.QuickEQ.Format library and is not available in the Cavern library's Filters namespace, | ||
/// because it shall only be created by <see cref="ConfigurationFile"/>s.</remarks> | ||
public class OutputChannel : BypassFilter { | ||
/// <summary> | ||
/// The channel for which this filter marks the end of the filter pipeline. | ||
/// </summary> | ||
public ReferenceChannel Channel { get; } | ||
|
||
/// <summary> | ||
/// Marks an output channel on a parsed <see cref="ConfigurationFile"/> graph. | ||
/// </summary> | ||
/// <param name="channel">The channel for which this filter marks the end of the filter pipeline</param> | ||
protected internal OutputChannel(ReferenceChannel channel) : base(channel.GetShortName() + " output") => Channel = channel; | ||
|
||
/// <summary> | ||
/// Marks an output channel on a parsed <see cref="ConfigurationFile"/> graph. | ||
/// </summary> | ||
/// <param name="channel">The channel for which this filter marks the end of the filter pipeline</param> | ||
protected internal OutputChannel(string channel) : | ||
base(ReferenceChannelExtensions.FromStandardName(channel).GetShortName() + " output") => | ||
Channel = ReferenceChannelExtensions.FromStandardName(channel); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.