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.

AddMulticastSlaveCamera()

Camera eSdkPro::Server::AddMulticastSlaveCamera(const CameraDiscoveryInfo& discoveryInfo, const Camera& master)


Adds a multicast slave camera to the server.

Parameters:

  • discoveryInfo — The discovery information for the camera to add.
  • master — The master camera that this slave camera follows. The master camera must already be open as a multicast master.

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
April 16, 2026
Questions?


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

Contact Us