Class IMediaInputCollection<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaInputCollection>
A media input collection.
Inheritance
System.Object
Collection<TIInput, TMediaInputCollection>
IMediaInputCollection<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaInputCollection>
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class IMediaInputCollection<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaInputCollection> : Collection<TIInput, TMediaInputCollection> 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 TMediaInputCollection : IMediaInputCollection<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaInputCollection>
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. |
TMediaInputCollection | The type of the media input collection. |
Constructors
IMediaInputCollection(TIOutput)
Initializes a new instance of the IMediaInputCollection<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat, TMediaInputCollection> class.
Declaration
public IMediaInputCollection(TIOutput output)
Parameters
Type | Name | Description |
---|---|---|
TIOutput | output | The output. |
Properties
Output
Gets or sets the output.
Declaration
public TIOutput Output { get; set; }
Property Value
Type | Description |
---|---|
TIOutput |
Methods
AddSuccess(TIInput)
Invoked after an element is added to the collection.
Declaration
protected override void AddSuccess(TIInput value)
Parameters
Type | Name | Description |
---|---|---|
TIInput | value | The value. |
Overrides
FM.LiveSwitch.Collection<TIInput, TMediaInputCollection>.AddSuccess(TIInput)
AddSuccessNoLock(TIInput)
Invoked after an element is added to the collection.
Declaration
protected override void AddSuccessNoLock(TIInput value)
Parameters
Type | Name | Description |
---|---|---|
TIInput | value | The value. |
Overrides
FM.LiveSwitch.Collection<TIInput, TMediaInputCollection>.AddSuccessNoLock(TIInput)
Destroy()
Removes all items and sets the Output to null.
Declaration
public void Destroy()
RemoveSuccess(TIInput)
Invoked after an element is removed from the collection.
Declaration
protected override void RemoveSuccess(TIInput value)
Parameters
Type | Name | Description |
---|---|---|
TIInput | value | The value. |
Overrides
FM.LiveSwitch.Collection<TIInput, TMediaInputCollection>.RemoveSuccess(TIInput)
RemoveSuccessNoLock(TIInput)
Invoked after an element is removed from the collection.
Declaration
protected override void RemoveSuccessNoLock(TIInput value)
Parameters
Type | Name | Description |
---|---|---|
TIInput | value | The value. |
Overrides
FM.LiveSwitch.Collection<TIInput, TMediaInputCollection>.RemoveSuccessNoLock(TIInput)