Table of Contents

Class InputFrameThrottler

名前空間
easyar

入力フレームスロットル。 入力フレーム入力ポートと入力フレーム出力ポートを持ち、アルゴリズムコンポーネントが前フレームの処理を完了していない場合に新しい入力フレームの流入を阻止する。 InputFrameThrottlerは1つのカメラバッファを占有する。カメラのsetBufferCapacityを使用して、全コンポーネントが占有するバッファ数以上に設定すべきである。 本クラスの全メンバーはスレッドセーフである。 signalInputの接続・切断はデータ流入中に行うべきではない。そうしないと出力不能状態に陥る可能性がある。(カメラ起動前にデータフロー接続を完了することを推奨。)

InputFrameThrottler

メソッド

input

入力ポート。

void easyar_InputFrameThrottler_input(easyar_InputFrameThrottler * This, easyar_InputFrameSink * * Return)
std::shared_ptr<InputFrameSink> input()
public @Nonnull InputFrameSink input()
fun input(): InputFrameSink
- (easyar_InputFrameSink *)input
public func input() -> InputFrameSink
public virtual InputFrameSink input()

戻り値

説明
InputFrameSink

bufferRequirement

現在のコンポーネントが占有するカメラバッファ数。

int easyar_InputFrameThrottler_bufferRequirement(easyar_InputFrameThrottler * This)
int bufferRequirement()
public int bufferRequirement()
fun bufferRequirement(): Int
- (int)bufferRequirement
public func bufferRequirement() -> Int32
public virtual int bufferRequirement()

戻り値

説明
Int32

output

出力ポート。

void easyar_InputFrameThrottler_output(easyar_InputFrameThrottler * This, easyar_InputFrameSource * * Return)
std::shared_ptr<InputFrameSource> output()
public @Nonnull InputFrameSource output()
fun output(): InputFrameSource
- (easyar_InputFrameSource *)output
public func output() -> InputFrameSource
public virtual InputFrameSource output()

戻り値

説明
InputFrameSource

signalInput

通過許可信号入力ポート。

void easyar_InputFrameThrottler_signalInput(easyar_InputFrameThrottler * This, easyar_SignalSink * * Return)
std::shared_ptr<SignalSink> signalInput()
public @Nonnull SignalSink signalInput()
fun signalInput(): SignalSink
- (easyar_SignalSink *)signalInput
public func signalInput() -> SignalSink
public virtual SignalSink signalInput()

戻り値

説明
SignalSink

create

作成。

void easyar_InputFrameThrottler_create(easyar_InputFrameThrottler * * Return)
static std::shared_ptr<InputFrameThrottler> create()
public static @Nonnull InputFrameThrottler create()
companion object fun create(): InputFrameThrottler
+ (easyar_InputFrameThrottler *)create
public static func create() -> InputFrameThrottler
public static InputFrameThrottler create()

戻り値

説明
InputFrameThrottler