FeedbackFrameSource Class¶
Description¶
Feedback 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_FeedbackFrameSource_setHandler(easyar_FeedbackFrameSource * This, easyar_OptionalOfFunctorOfVoidFromFeedbackFrame handler)
- C++
void setHandler(std::optional<std::function<void(std::shared_ptr<FeedbackFrame>)>> 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)
connect¶
Connects to input port.
- C
void easyar_FeedbackFrameSource_connect(easyar_FeedbackFrameSource * This, easyar_FeedbackFrameSink * sink)
- C++
void connect(std::shared_ptr<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)
disconnect¶
Disconnects.
- C
void easyar_FeedbackFrameSource_disconnect(easyar_FeedbackFrameSource * This)
- 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()