FeedbackFrameSource Class


Feedback 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_FeedbackFrameSource_setHandler(easyar_FeedbackFrameSource * This, easyar_OptionalOfFunctorOfVoidFromFeedbackFrame handler)
C++17: void setHandler(std::optional<std::function<void(std::shared_ptr<FeedbackFrame>)>> handler)
Traditional C++: void setHandler(OptionalOfFunctorOfVoidFromFeedbackFrame handler)
Java: public void setHandler(@Nullable FunctorOfVoidFromFeedbackFrame handler)
Kotlin: fun setHandler(handler: FunctorOfVoidFromFeedbackFrame?): Unit
Objective-C: - (void)setHandler:(void (^)(easyar_FeedbackFrame *))handler
Swift: public func setHandler(_ handler: ((FeedbackFrame) -> Void)?) -> Void
C#: public virtual void setHandler(Optional<Action<FeedbackFrame>> handler)


Connects to input port.

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



C: void easyar_FeedbackFrameSource_disconnect(easyar_FeedbackFrameSource * 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()