InputFrameSource Class¶
Description¶
Input frame output port.
It is used to expose output port for a component.
All members of this class is thread-safe.
setHandler¶
Sets data handler.
- C: void easyar_InputFrameSource_setHandler(easyar_InputFrameSource * This, easyar_OptionalOfFunctorOfVoidFromInputFrame handler)¶
- Traditional C++: void setHandler(OptionalOfFunctorOfVoidFromInputFrame handler)¶
- Java: public void setHandler(@Nullable FunctorOfVoidFromInputFrame handler)¶
- Kotlin: fun setHandler(handler: FunctorOfVoidFromInputFrame?): Unit¶
- Objective-C: - (void)setHandler:(void (^)(easyar_InputFrame *))handler¶
- Swift: public func setHandler(_ handler: ((InputFrame) -> Void)?) -> Void¶
- C#: public virtual void setHandler(Optional<Action<InputFrame>> handler)¶
connect¶
Connects to input port.
- C: void easyar_InputFrameSource_connect(easyar_InputFrameSource * This, easyar_InputFrameSink * sink)¶
- Traditional C++: void connect(InputFrameSink * sink)¶
- Java: public void connect(@Nonnull InputFrameSink sink)¶
- Kotlin: fun connect(sink: InputFrameSink): Unit¶
- Objective-C: - (void)connect:(easyar_InputFrameSink *)sink¶
- Swift: public func connect(_ sink: InputFrameSink) -> Void¶
- C#: public virtual void connect(InputFrameSink sink)¶
disconnect¶
Disconnects.
- C: void easyar_InputFrameSource_disconnect(easyar_InputFrameSource * This)¶
- C++17: void disconnect()¶
- Traditional C++: void disconnect()¶
- Java: public void disconnect()¶
- Kotlin: fun disconnect(): Unit¶
- Objective-C: - (void)disconnect¶
- Swift: public func disconnect() -> Void¶
- C#: public virtual void disconnect()¶