Questions?


Get in touch with us today and our team of imaging professionals will be pleased to assist you.

Contact Us

eSDK Pro Plugin Input Classes

This topic describes the Input class and the FrameInput class derived from it in the eSDK Pro Plugin API:

  • Input class — Represents a generic input port that receives data from another task within the plugin pipeline.
  • FrameInput class — Specialized input port for receiving image frames, supporting both synchronous and asynchronous frame access.


Plugin Input Class

Namespace: eSdkPro::Plugin

Header: eSdkPro/plugin/port.h

An input port used to receive data from a task.

GetName()

std::string eSdkPro::Plugin::Input::GetName() const


Returns:
The name of the input.

GetType()

PortType eSdkPro::Plugin::Input::GetType() const


Returns:
The type of the input.

GetPlatform()

HWPlatform eSdkPro::Plugin::Input::GetPlatform() const


Returns:
The hardware platform of the input.


Plugin FrameInput Class

Namespace: eSdkPro::Plugin  

Header: eSdkPro/plugin/port.h

An input port for frames.

GetFrame()

Frame eSdkPro::Plugin::FrameInput::GetFrame()


Returns the input frame. The frame's data becomes invalid and must not be used after Process() returns.

Returns: The input frame.

GetFrameAsync()

Frame eSdkPro::Plugin::FrameInput::GetFrameAsync()


Returns the input frame. The frame's data stays valid after Process() returns until a matching call to ReleaseAsyncFrame().

Returns: The input frame.

ReleaseAsyncFrame()

void eSdkPro::Plugin::FrameInput::ReleaseAsyncFrame(const Frame& frame)


Releases the frame returned by GetFrameAsync(). Must be called to release the frame or the frame will be leaked.

Parameter: frame — The frame that has been previously returned by GetFrameAsync().


See Also

Updated on
November 9, 2025
Questions?


Get in touch with us today and our team of imaging professionals will be pleased to assist you.

Contact Us