Questions?


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

Contact Us

eSDK Pro Server Class

This topic describes the Server class in the eSDK Pro API.


Server Class

Namespace: eSdkPro  Header: eSdkPro/server.h

Represents a server. Servers must be created through the System. Owns a list of cameras connected to the server.

DiscoverCameras()

std::vector<CameraDiscoveryInfo> eSdkPro::Server::DiscoverCameras()


Discovers cameras connected to this server.

Returns: The list of discovered cameras.

AddCamera()

Camera eSdkPro::Server::AddCamera(const CameraDiscoveryInfo& discoveryInfo)


Adds a camera to the server.

Parameter: discoveryInfo — The discovery info of the camera to add.

Returns: The added camera.

RemoveCamera()

void eSdkPro::Server::RemoveCamera(Camera& camera)


Removes a camera from the server. Any active references to the camera will be invalidated.

Parameter: camera — The camera to remove.

GetCameras()

std::vector<Camera> eSdkPro::Server::GetCameras() const


Returns:
The list of active cameras.

GetIp()

std::string eSdkPro::Server::GetIp() const


Returns:
The IP address of the server.

GetPort()

uint16_t eSdkPro::Server::GetPort() const


Returns:
The port of the server.


See Also

Updated on
November 7, 2025
Questions?


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

Contact Us