Class IMediaOutputCollection<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaOutputCollection>
A media output collection.
Inheritance
System.Object
Collection<TIOutput, TMediaOutputCollection>
IMediaOutputCollection<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaOutputCollection>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class IMediaOutputCollection<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaOutputCollection> : Collection<TIOutput, TMediaOutputCollection> where TIOutput : IMediaOutput<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat> where TIInput : IMediaInput<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat> where TFrame : MediaFrame<TBuffer, TBufferCollection, TFormat, TFrame> where TBuffer : MediaBuffer<TFormat, TBuffer> where TBufferCollection : MediaBufferCollection<TBuffer, TBufferCollection, TFormat> where TFormat : MediaFormat<TFormat> where TMediaOutputCollection : IMediaOutputCollection<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaOutputCollection>
Type Parameters
Name | Description |
---|---|
TIOutput | The type of the output interface. |
TIInput | The type of the input interface. |
TFrame | The type of the frame. |
TBuffer | The type of the buffer. |
TBufferCollection | The type of the buffer collection. |
TFormat | The type of the format. |
TMediaOutputCollection | The type of the media output collection. |
Constructors
IMediaOutputCollection(TIInput)
Initializes a new instance of the IMediaInputCollection<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaInputCollection> class.
Declaration
public IMediaOutputCollection(TIInput input)
Parameters
Type | Name | Description |
---|---|---|
TIInput | input | The input. |
Properties
Input
Gets or sets the input.
Declaration
public TIInput Input { get; set; }
Property Value
Type | Description |
---|---|
TIInput |
Methods
AddSuccess(TIOutput)
Invoked after an element is added to the collection.
Declaration
protected override void AddSuccess(TIOutput value)
Parameters
Type | Name | Description |
---|---|---|
TIOutput | value | The value. |
Overrides
FM.LiveSwitch.Collection<TIOutput, TMediaOutputCollection>.AddSuccess(TIOutput)
AddSuccessNoLock(TIOutput)
Invoked after an element is added to the collection.
Declaration
protected override void AddSuccessNoLock(TIOutput value)
Parameters
Type | Name | Description |
---|---|---|
TIOutput | value | The value. |
Overrides
FM.LiveSwitch.Collection<TIOutput, TMediaOutputCollection>.AddSuccessNoLock(TIOutput)
Destroy()
Removes all items and sets the Input to null.
Declaration
public void Destroy()
RemoveSuccess(TIOutput)
Invoked after an element is removed from the collection.
Declaration
protected override void RemoveSuccess(TIOutput value)
Parameters
Type | Name | Description |
---|---|---|
TIOutput | value | The value. |
Overrides
FM.LiveSwitch.Collection<TIOutput, TMediaOutputCollection>.RemoveSuccess(TIOutput)
RemoveSuccessNoLock(TIOutput)
Invoked after an element is removed from the collection.
Declaration
protected override void RemoveSuccessNoLock(TIOutput value)
Parameters
Type | Name | Description |
---|---|---|
TIOutput | value | The value. |
Overrides
FM.LiveSwitch.Collection<TIOutput, TMediaOutputCollection>.RemoveSuccessNoLock(TIOutput)