Class OutputFrameJoin
- Namespace
- easyar
Ausgabeframe-Joiner. Wird verwendet, um Ausgabeframes mehrerer Komponenten zu einem Ausgabeframe zusammenzuführen. Alle Member dieser Klasse sind threadsicher. Beachten Sie, dass das Verbinden und Trennen der mehreren Eingaben nicht erfolgen sollte, während Daten einfließen; andernfalls kann es in einem Zustand hängen bleiben, in dem keine Ausgabe möglich ist. (Es wird empfohlen, Datenflussverbindungen vor dem Start von Camera abzuschließen.)
Methoden
input
Eingabeport.
void easyar_OutputFrameJoin_input(easyar_OutputFrameJoin * This, int index, easyar_OutputFrameSink * * Return)
std::shared_ptr<OutputFrameSink> input(int index)
public @Nonnull OutputFrameSink input(int index)
fun input(index: Int): OutputFrameSink
- (easyar_OutputFrameSink *)input:(int)index
public func input(_ index: Int32) -> OutputFrameSink
public virtual OutputFrameSink input(int index)
Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| index | Int32 |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| OutputFrameSink |
output
Ausgabeport.
void easyar_OutputFrameJoin_output(easyar_OutputFrameJoin * This, easyar_OutputFrameSource * * Return)
std::shared_ptr<OutputFrameSource> output()
public @Nonnull OutputFrameSource output()
fun output(): OutputFrameSource
- (easyar_OutputFrameSource *)output
public func output() -> OutputFrameSource
public virtual OutputFrameSource output()
Rückgabewert
| Typ | Beschreibung |
|---|---|
| OutputFrameSource |
inputCount
Eingabeanzahl.
int easyar_OutputFrameJoin_inputCount(easyar_OutputFrameJoin * This)
int inputCount()
public int inputCount()
fun inputCount(): Int
- (int)inputCount
public func inputCount() -> Int32
public virtual int inputCount()
Rückgabewert
| Typ | Beschreibung |
|---|---|
| Int32 |
create
Erstellt mit der Standard-Join-Funktion, die den Eingabeframe der ersten Eingabe und das erste Ergebnis jeder Eingabe nimmt. Wenn für eine Eingabe kein Ergebnis vorhanden ist, wird ein leeres Ergebnis verwendet. Das erste Ergebnis jeder Eingabe wird am entsprechenden Eingabeindex in results des endgültigen Ausgabeframes platziert.
void easyar_OutputFrameJoin_create(int inputCount, easyar_OutputFrameJoin * * Return)
static std::shared_ptr<OutputFrameJoin> create(int inputCount)
public static @Nonnull OutputFrameJoin create(int inputCount)
companion object fun create(inputCount: Int): OutputFrameJoin
+ (easyar_OutputFrameJoin *)create:(int)inputCount
public static func create(_ inputCount: Int32) -> OutputFrameJoin
public static OutputFrameJoin create(int inputCount)
Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| inputCount | Int32 |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| OutputFrameJoin |
createWithJoiner
Erstellt mit einer benutzerdefinierten Join-Funktion.
void easyar_OutputFrameJoin_createWithJoiner(int inputCount, easyar_FunctorOfOutputFrameFromListOfOutputFrame joiner, easyar_OutputFrameJoin * * Return)
static std::shared_ptr<OutputFrameJoin> createWithJoiner(int inputCount, std::function<std::shared_ptr<OutputFrame>(std::vector<std::shared_ptr<OutputFrame>>)> joiner)
public static @Nonnull OutputFrameJoin createWithJoiner(int inputCount, @Nonnull FunctorOfOutputFrameFromListOfOutputFrame joiner)
companion object fun createWithJoiner(inputCount: Int, joiner: FunctorOfOutputFrameFromListOfOutputFrame): OutputFrameJoin
+ (easyar_OutputFrameJoin *)createWithJoiner:(int)inputCount joiner:(easyar_OutputFrame * (^)(NSArray<easyar_OutputFrame *> *))joiner
public static func createWithJoiner(_ inputCount: Int32, _ joiner: @escaping ([OutputFrame]) -> OutputFrame) -> OutputFrameJoin
public static OutputFrameJoin createWithJoiner(int inputCount, Func<List<OutputFrame>, OutputFrame> joiner)
Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| inputCount | Int32 | |
| joiner | Func<List<OutputFrame>,> |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| OutputFrameJoin |