OutputFrameSource Class


Output frame output port.

It is used to expose output port for a component.

All members of this class is thread-safe.


Sets data handler.

C: void easyar_OutputFrameSource_setHandler(easyar_OutputFrameSource * This, easyar_OptionalOfFunctorOfVoidFromOutputFrame handler)
C++17: void setHandler(std::optional<std::function<void(std::shared_ptr<OutputFrame>)>> handler)
Traditional C++: void setHandler(OptionalOfFunctorOfVoidFromOutputFrame handler)
Java: public void setHandler(@Nullable FunctorOfVoidFromOutputFrame handler)
Kotlin: fun setHandler(handler: FunctorOfVoidFromOutputFrame?): Unit
Objective-C: - (void)setHandler:(void (^)(easyar_OutputFrame *))handler
Swift: public func setHandler(_ handler: ((OutputFrame) -> Void)?) -> Void
C#: public virtual void setHandler(Optional<Action<OutputFrame>> handler)


Connects to input port.

C: void easyar_OutputFrameSource_connect(easyar_OutputFrameSource * This, easyar_OutputFrameSink * sink)
C++17: void connect(std::shared_ptr<OutputFrameSink> sink)
Traditional C++: void connect(OutputFrameSink * sink)
Java: public void connect(@Nonnull OutputFrameSink sink)
Kotlin: fun connect(sink: OutputFrameSink): Unit
Objective-C: - (void)connect:(easyar_OutputFrameSink *)sink
Swift: public func connect(_ sink: OutputFrameSink) -> Void
C#: public virtual void connect(OutputFrameSink sink)



C: void easyar_OutputFrameSource_disconnect(easyar_OutputFrameSource * 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()