onboardapi  9.10.0
by Rheinmetall
M_CameraManager::IClient Class Reference

Public Member Functions

virtual ~IClient ()
 
virtual void ReportCameraSettings (std::string const &KeyId, M_Camera::CameraSettingsType const &Settings, bool IsRemoved)
 
virtual void ReportCameraStatus (std::string const &KeyId, M_Camera::CameraStatusType const &Status, bool IsRemoved)
 

Detailed Description

CameraManager Client interface. Contains callback operations from the Camera Service to the Client.

Constructor & Destructor Documentation

◆ ~IClient()

M_CameraManager::IClient::~IClient ( )
virtual

Member Function Documentation

◆ ReportCameraSettings()

void M_CameraManager::IClient::ReportCameraSettings ( std::string const &  KeyId,
M_Camera::CameraSettingsType const &  Settings,
bool  IsRemoved 
)
virtual

Report with static camera settings of a specific camera with id. This should be provided at startup and in the event of degraded functionality, e.g. due to an internal failure.

Parameters
KeyIdThe id of the camera.
SettingsCamera settings data.
IsRemovedIndicates if the status is no longer available. Note: This will always be set to True when a Service has been shutdown. After this has been set to True the status will no longer be available to late joiners.

◆ ReportCameraStatus()

void M_CameraManager::IClient::ReportCameraStatus ( std::string const &  KeyId,
M_Camera::CameraStatusType const &  Status,
bool  IsRemoved 
)
virtual

Report with the current camera status of a specific camera with id. This will be continually updated every time a value is changed.

Parameters
KeyIdThe id of the camera.
StatusCurrent status data for Camera.
IsRemovedIndicates if the status is no longer available. Note: This will always be set to True when a Service has been shutdown. After this has been set to True the status will no longer be available to late joiners.