#include "wire_Camera.hpp"
#include "../obapi_runtime.hpp"
#include <type_traits>
static_assert(static_cast<uint32_t>(::M_Camera::ScaleDirection::Increase) == 0u, "enum value M_Camera::ScaleDirection::Type::Increase differs from the data model");
static_assert(static_cast<uint32_t>(::M_Camera::ScaleDirection::Decrease) == 1u, "enum value M_Camera::ScaleDirection::Type::Decrease differs from the data model");
static_assert(static_cast<uint32_t>(::M_Camera::PolarityHotColor::White) == 0u, "enum value M_Camera::PolarityHotColor::Type::White differs from the data model");
static_assert(static_cast<uint32_t>(::M_Camera::PolarityHotColor::Black) == 1u, "enum value M_Camera::PolarityHotColor::Type::Black differs from the data model");
static_assert(static_cast<uint32_t>(::M_Camera::PolarityHotColor::Red) == 2u, "enum value M_Camera::PolarityHotColor::Type::Red differs from the data model");
static_assert(std::is_same<::M_Camera::PolarityHotColorOptionalType, std::vector<::M_Camera::PolarityHotColor::Type>>::value, "typedef M_Camera::PolarityHotColorOptionalType differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::SupportedPolarityHotColorType::IsWhiteSupported), bool>::value, "M_Camera::SupportedPolarityHotColorType field IsWhiteSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::SupportedPolarityHotColorType::IsBlackSupported), bool>::value, "M_Camera::SupportedPolarityHotColorType field IsBlackSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::SupportedPolarityHotColorType::IsRedSupported), bool>::value, "M_Camera::SupportedPolarityHotColorType field IsRedSupported differs from the data model");
static_assert(static_cast<uint32_t>(::M_Camera::AutoFocusKind::Stop) == 0u, "enum value M_Camera::AutoFocusKind::Type::Stop differs from the data model");
static_assert(static_cast<uint32_t>(::M_Camera::AutoFocusKind::Start) == 1u, "enum value M_Camera::AutoFocusKind::Type::Start differs from the data model");
static_assert(static_cast<uint32_t>(::M_Camera::AutoFocusKind::Hold) == 2u, "enum value M_Camera::AutoFocusKind::Type::Hold differs from the data model");
static_assert(static_cast<uint32_t>(::M_Camera::AutoFocusKind::Infinity) == 3u, "enum value M_Camera::AutoFocusKind::Type::Infinity differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::ZoomStateType::Level), double>::value, "M_Camera::ZoomStateType field Level differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::ZoomStateType::Fov), ::M_Common::DegreeRegionType>::value, "M_Camera::ZoomStateType field Fov differs from the data model");
static_assert(std::is_same<::M_Camera::ZoomStateListType, std::vector<::M_Camera::ZoomStateType>>::value, "typedef M_Camera::ZoomStateListType differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::RenderSettingsType::renderWidth), int32_t>::value, "M_Camera::RenderSettingsType field renderWidth differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::RenderSettingsType::renderHeight), int32_t>::value, "M_Camera::RenderSettingsType field renderHeight differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::RenderSettingsType::renderPosX), int32_t>::value, "M_Camera::RenderSettingsType field renderPosX differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::RenderSettingsType::renderPosY), int32_t>::value, "M_Camera::RenderSettingsType field renderPosY differs from the data model");
static_assert(std::is_same<::M_Camera::RenderSettingsOptionalType, std::vector<::M_Camera::RenderSettingsType>>::value, "typedef M_Camera::RenderSettingsOptionalType differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::ZoomStateList), std::vector<::M_Camera::ZoomStateType>>::value, "M_Camera::CameraSettingsType field ZoomStateList differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::FocusStepSize), double>::value, "M_Camera::CameraSettingsType field FocusStepSize differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::BrightnessStepSize), double>::value, "M_Camera::CameraSettingsType field BrightnessStepSize differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::ContrastStepSize), double>::value, "M_Camera::CameraSettingsType field ContrastStepSize differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::GainStepSize), double>::value, "M_Camera::CameraSettingsType field GainStepSize differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::AlphaBlendingStepSize), double>::value, "M_Camera::CameraSettingsType field AlphaBlendingStepSize differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::AvailableApertures), std::vector<double>>::value, "M_Camera::CameraSettingsType field AvailableApertures differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsAutoFocusSupported), bool>::value, "M_Camera::CameraSettingsType field IsAutoFocusSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsFocusSupported), bool>::value, "M_Camera::CameraSettingsType field IsFocusSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsFocusEngineSupported), bool>::value, "M_Camera::CameraSettingsType field IsFocusEngineSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsDigitalZoomSupported), bool>::value, "M_Camera::CameraSettingsType field IsDigitalZoomSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsZoomSupported), bool>::value, "M_Camera::CameraSettingsType field IsZoomSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsZoomEngineSupported), bool>::value, "M_Camera::CameraSettingsType field IsZoomEngineSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsAutoBrightnessSupported), bool>::value, "M_Camera::CameraSettingsType field IsAutoBrightnessSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsBrightnessSupported), bool>::value, "M_Camera::CameraSettingsType field IsBrightnessSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsAutoContrastSupported), bool>::value, "M_Camera::CameraSettingsType field IsAutoContrastSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsContrastSupported), bool>::value, "M_Camera::CameraSettingsType field IsContrastSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsPolaritySupported), bool>::value, "M_Camera::CameraSettingsType field IsPolaritySupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::SupportedHotColors), ::M_Camera::SupportedPolarityHotColorType>::value, "M_Camera::CameraSettingsType field SupportedHotColors differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsEconomyModeSupported), bool>::value, "M_Camera::CameraSettingsType field IsEconomyModeSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsCoolerSupported), bool>::value, "M_Camera::CameraSettingsType field IsCoolerSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsAutoGainSupported), bool>::value, "M_Camera::CameraSettingsType field IsAutoGainSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsGainSupported), bool>::value, "M_Camera::CameraSettingsType field IsGainSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsExposureSupported), bool>::value, "M_Camera::CameraSettingsType field IsExposureSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsAutoExposureSupported), bool>::value, "M_Camera::CameraSettingsType field IsAutoExposureSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsSetApertureSupported), bool>::value, "M_Camera::CameraSettingsType field IsSetApertureSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsExternalTriggerModeSupported), bool>::value, "M_Camera::CameraSettingsType field IsExternalTriggerModeSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsGrabbingSupported), bool>::value, "M_Camera::CameraSettingsType field IsGrabbingSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsRegionOfInterestSupported), bool>::value, "M_Camera::CameraSettingsType field IsRegionOfInterestSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsCalibrateNucSupported), bool>::value, "M_Camera::CameraSettingsType field IsCalibrateNucSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsAbortCalibrateNucSupported), bool>::value, "M_Camera::CameraSettingsType field IsAbortCalibrateNucSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsFalseColorSupported), bool>::value, "M_Camera::CameraSettingsType field IsFalseColorSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::SupportedFalseColorAlgorithms), std::vector<std::string>>::value, "M_Camera::CameraSettingsType field SupportedFalseColorAlgorithms differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsOperationModeSupported), bool>::value, "M_Camera::CameraSettingsType field IsOperationModeSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsAlphaBlendingSupported), bool>::value, "M_Camera::CameraSettingsType field IsAlphaBlendingSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsInfraredDynamicModeSupported), bool>::value, "M_Camera::CameraSettingsType field IsInfraredDynamicModeSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsFreezeImageSupported), bool>::value, "M_Camera::CameraSettingsType field IsFreezeImageSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::IsHdrSupported), bool>::value, "M_Camera::CameraSettingsType field IsHdrSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::SupportedCameraPresets), std::vector<std::string>>::value, "M_Camera::CameraSettingsType field SupportedCameraPresets differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::RenderSettings), std::vector<::M_Camera::RenderSettingsType>>::value, "M_Camera::CameraSettingsType field RenderSettings differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::Position), std::vector<::M_Common::PositionType>>::value, "M_Camera::CameraSettingsType field Position differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::Rotation), std::vector<::M_Common::EulerAttitudeType>>::value, "M_Camera::CameraSettingsType field Rotation differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraSettingsType::AdditionalInfo), std::vector<::M_Common::PropertyType>>::value, "M_Camera::CameraSettingsType field AdditionalInfo differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::OperationStatus), ::M_Common::OperationStatusType>::value, "M_Camera::CameraStatusType field OperationStatus differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsAutoFocusEnabled), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsAutoFocusEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsAutoFocusChangeInProgress), bool>::value, "M_Camera::CameraStatusType field IsAutoFocusChangeInProgress differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::FocusLevel), std::vector<double>>::value, "M_Camera::CameraStatusType field FocusLevel differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsFocusLevelChangeInProgress), bool>::value, "M_Camera::CameraStatusType field IsFocusLevelChangeInProgress differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsFocusEngineRunning), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsFocusEngineRunning differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsFocusEngineChangeInProgress), bool>::value, "M_Camera::CameraStatusType field IsFocusEngineChangeInProgress differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::ZoomState), ::M_Camera::ZoomStateType>::value, "M_Camera::CameraStatusType field ZoomState differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsDigitalZoomEnabled), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsDigitalZoomEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsDigitalZoomChangeInProgress), bool>::value, "M_Camera::CameraStatusType field IsDigitalZoomChangeInProgress differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsZoomLevelChangeInProgress), bool>::value, "M_Camera::CameraStatusType field IsZoomLevelChangeInProgress differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::PredefinedZoomFov), std::vector<uint16_t>>::value, "M_Camera::CameraStatusType field PredefinedZoomFov differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsPredefinedZoomFovChangeInProgress), bool>::value, "M_Camera::CameraStatusType field IsPredefinedZoomFovChangeInProgress differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsZoomFovRegionChangeInProgress), bool>::value, "M_Camera::CameraStatusType field IsZoomFovRegionChangeInProgress differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsZoomEngineRunning), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsZoomEngineRunning differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsZoomEngineChangeInProgress), bool>::value, "M_Camera::CameraStatusType field IsZoomEngineChangeInProgress differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsAutoBrightnessEnabled), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsAutoBrightnessEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::BrightnessLevel), std::vector<double>>::value, "M_Camera::CameraStatusType field BrightnessLevel differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsAutoContrastEnabled), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsAutoContrastEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::ContrastLevel), std::vector<double>>::value, "M_Camera::CameraStatusType field ContrastLevel differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::PolarityHotIs), std::vector<::M_Camera::PolarityHotColor::Type>>::value, "M_Camera::CameraStatusType field PolarityHotIs differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsEconomyModeEnabled), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsEconomyModeEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsCoolerEnabled), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsCoolerEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::Temperature), std::vector<double>>::value, "M_Camera::CameraStatusType field Temperature differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsCommunicationActive), bool>::value, "M_Camera::CameraStatusType field IsCommunicationActive differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsAutoGainEnabled), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsAutoGainEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::GainLevel), std::vector<double>>::value, "M_Camera::CameraStatusType field GainLevel differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsAutoExposureEnabled), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsAutoExposureEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::ShutterSpeedPerSec), std::vector<uint16_t>>::value, "M_Camera::CameraStatusType field ShutterSpeedPerSec differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::Aperture), std::vector<double>>::value, "M_Camera::CameraStatusType field Aperture differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsExternalTriggerModeEnabled), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsExternalTriggerModeEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsGrabbingRunning), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsGrabbingRunning differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::RegionOfInterest), std::vector<::M_Common::PixelRegionType>>::value, "M_Camera::CameraStatusType field RegionOfInterest differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::CoolerOperatingHoursCountTotal), std::vector<uint64_t>>::value, "M_Camera::CameraStatusType field CoolerOperatingHoursCountTotal differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::ElectronicOperatingHoursCountTotal), std::vector<uint64_t>>::value, "M_Camera::CameraStatusType field ElectronicOperatingHoursCountTotal differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::SensorResolution), std::vector<::M_Common::PixelRectSizeType>>::value, "M_Camera::CameraStatusType field SensorResolution differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsFalseColorEnabled), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsFalseColorEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::IsInfraredDynamicModeEnabled), std::vector<::M_Common::GeneralStatus::Type>>::value, "M_Camera::CameraStatusType field IsInfraredDynamicModeEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::HdrMode), int32_t>::value, "M_Camera::CameraStatusType field HdrMode differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::FalseColorAlgorithmName), std::string>::value, "M_Camera::CameraStatusType field FalseColorAlgorithmName differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::CameraStatusType::Preset), std::string>::value, "M_Camera::CameraStatusType field Preset differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::SafetyCodeType::StartBuffer), std::vector<uint16_t>>::value, "M_Camera::SafetyCodeType field StartBuffer differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::SafetyCodeType::SourceId), std::vector<uint8_t>>::value, "M_Camera::SafetyCodeType field SourceId differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::SafetyCodeType::TimeStamp), std::vector<uint16_t>>::value, "M_Camera::SafetyCodeType field TimeStamp differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::SafetyCodeType::Checksum), std::vector<uint16_t>>::value, "M_Camera::SafetyCodeType field Checksum differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::SafetyCodeType::DisplayMask), std::vector<uint8_t>>::value, "M_Camera::SafetyCodeType field DisplayMask differs from the data model");
static_assert(std::is_same<decltype(::M_Camera::SafetyCodeType::RegionOfInterest), std::vector<::M_Common::PixelRegionType>>::value, "M_Camera::SafetyCodeType field RegionOfInterest differs from the data model");
static_assert(std::is_same<::M_Camera::SafetyCodeListType, std::vector<::M_Camera::SafetyCodeType>>::value, "typedef M_Camera::SafetyCodeListType differs from the data model");
namespace M_Camera {
void obapi_put(::obapi::Writer& w, SupportedPolarityHotColorType const& v) {
::obapi::put(w, v.IsWhiteSupported);
::obapi::put(w, v.IsBlackSupported);
::obapi::put(w, v.IsRedSupported);
}
void obapi_get(::obapi::Reader& r, SupportedPolarityHotColorType& v) {
::obapi::get(r, v.IsWhiteSupported);
::obapi::get(r, v.IsBlackSupported);
::obapi::get(r, v.IsRedSupported);
}
void obapi_put(::obapi::Writer& w, ZoomStateType const& v) {
::obapi::put(w, v.Level);
::obapi::put(w, v.Fov);
}
void obapi_get(::obapi::Reader& r, ZoomStateType& v) {
::obapi::get(r, v.Level);
::obapi::get(r, v.Fov);
}
void obapi_put(::obapi::Writer& w, RenderSettingsType const& v) {
::obapi::put(w, v.renderWidth);
::obapi::put(w, v.renderHeight);
::obapi::put(w, v.renderPosX);
::obapi::put(w, v.renderPosY);
}
void obapi_get(::obapi::Reader& r, RenderSettingsType& v) {
::obapi::get(r, v.renderWidth);
::obapi::get(r, v.renderHeight);
::obapi::get(r, v.renderPosX);
::obapi::get(r, v.renderPosY);
}
void obapi_put(::obapi::Writer& w, CameraSettingsType const& v) {
::obapi::put(w, v.ZoomStateList);
::obapi::put(w, v.FocusStepSize);
::obapi::put(w, v.BrightnessStepSize);
::obapi::put(w, v.ContrastStepSize);
::obapi::put(w, v.GainStepSize);
::obapi::put(w, v.AlphaBlendingStepSize);
::obapi::put(w, v.AvailableApertures);
::obapi::put(w, v.IsAutoFocusSupported);
::obapi::put(w, v.IsFocusSupported);
::obapi::put(w, v.IsFocusEngineSupported);
::obapi::put(w, v.IsDigitalZoomSupported);
::obapi::put(w, v.IsZoomSupported);
::obapi::put(w, v.IsZoomEngineSupported);
::obapi::put(w, v.IsAutoBrightnessSupported);
::obapi::put(w, v.IsBrightnessSupported);
::obapi::put(w, v.IsAutoContrastSupported);
::obapi::put(w, v.IsContrastSupported);
::obapi::put(w, v.IsPolaritySupported);
::obapi::put(w, v.SupportedHotColors);
::obapi::put(w, v.IsEconomyModeSupported);
::obapi::put(w, v.IsCoolerSupported);
::obapi::put(w, v.IsAutoGainSupported);
::obapi::put(w, v.IsGainSupported);
::obapi::put(w, v.IsExposureSupported);
::obapi::put(w, v.IsAutoExposureSupported);
::obapi::put(w, v.IsSetApertureSupported);
::obapi::put(w, v.IsExternalTriggerModeSupported);
::obapi::put(w, v.IsGrabbingSupported);
::obapi::put(w, v.IsRegionOfInterestSupported);
::obapi::put(w, v.IsCalibrateNucSupported);
::obapi::put(w, v.IsAbortCalibrateNucSupported);
::obapi::put(w, v.IsFalseColorSupported);
::obapi::put(w, v.SupportedFalseColorAlgorithms);
::obapi::put(w, v.IsOperationModeSupported);
::obapi::put(w, v.IsAlphaBlendingSupported);
::obapi::put(w, v.IsInfraredDynamicModeSupported);
::obapi::put(w, v.IsFreezeImageSupported);
::obapi::put(w, v.IsHdrSupported);
::obapi::put(w, v.SupportedCameraPresets);
::obapi::put(w, v.RenderSettings);
::obapi::put(w, v.Position);
::obapi::put(w, v.Rotation);
::obapi::put(w, v.AdditionalInfo);
}
void obapi_get(::obapi::Reader& r, CameraSettingsType& v) {
::obapi::get(r, v.ZoomStateList);
::obapi::get(r, v.FocusStepSize);
::obapi::get(r, v.BrightnessStepSize);
::obapi::get(r, v.ContrastStepSize);
::obapi::get(r, v.GainStepSize);
::obapi::get(r, v.AlphaBlendingStepSize);
::obapi::get(r, v.AvailableApertures);
::obapi::get(r, v.IsAutoFocusSupported);
::obapi::get(r, v.IsFocusSupported);
::obapi::get(r, v.IsFocusEngineSupported);
::obapi::get(r, v.IsDigitalZoomSupported);
::obapi::get(r, v.IsZoomSupported);
::obapi::get(r, v.IsZoomEngineSupported);
::obapi::get(r, v.IsAutoBrightnessSupported);
::obapi::get(r, v.IsBrightnessSupported);
::obapi::get(r, v.IsAutoContrastSupported);
::obapi::get(r, v.IsContrastSupported);
::obapi::get(r, v.IsPolaritySupported);
::obapi::get(r, v.SupportedHotColors);
::obapi::get(r, v.IsEconomyModeSupported);
::obapi::get(r, v.IsCoolerSupported);
::obapi::get(r, v.IsAutoGainSupported);
::obapi::get(r, v.IsGainSupported);
::obapi::get(r, v.IsExposureSupported);
::obapi::get(r, v.IsAutoExposureSupported);
::obapi::get(r, v.IsSetApertureSupported);
::obapi::get(r, v.IsExternalTriggerModeSupported);
::obapi::get(r, v.IsGrabbingSupported);
::obapi::get(r, v.IsRegionOfInterestSupported);
::obapi::get(r, v.IsCalibrateNucSupported);
::obapi::get(r, v.IsAbortCalibrateNucSupported);
::obapi::get(r, v.IsFalseColorSupported);
::obapi::get(r, v.SupportedFalseColorAlgorithms);
::obapi::get(r, v.IsOperationModeSupported);
::obapi::get(r, v.IsAlphaBlendingSupported);
::obapi::get(r, v.IsInfraredDynamicModeSupported);
::obapi::get(r, v.IsFreezeImageSupported);
::obapi::get(r, v.IsHdrSupported);
::obapi::get(r, v.SupportedCameraPresets);
::obapi::get(r, v.RenderSettings);
::obapi::get(r, v.Position);
::obapi::get(r, v.Rotation);
::obapi::get(r, v.AdditionalInfo);
}
void obapi_put(::obapi::Writer& w, CameraStatusType const& v) {
::obapi::put(w, v.OperationStatus);
::obapi::put(w, v.IsAutoFocusEnabled);
::obapi::put(w, v.IsAutoFocusChangeInProgress);
::obapi::put(w, v.FocusLevel);
::obapi::put(w, v.IsFocusLevelChangeInProgress);
::obapi::put(w, v.IsFocusEngineRunning);
::obapi::put(w, v.IsFocusEngineChangeInProgress);
::obapi::put(w, v.ZoomState);
::obapi::put(w, v.IsDigitalZoomEnabled);
::obapi::put(w, v.IsDigitalZoomChangeInProgress);
::obapi::put(w, v.IsZoomLevelChangeInProgress);
::obapi::put(w, v.PredefinedZoomFov);
::obapi::put(w, v.IsPredefinedZoomFovChangeInProgress);
::obapi::put(w, v.IsZoomFovRegionChangeInProgress);
::obapi::put(w, v.IsZoomEngineRunning);
::obapi::put(w, v.IsZoomEngineChangeInProgress);
::obapi::put(w, v.IsAutoBrightnessEnabled);
::obapi::put(w, v.BrightnessLevel);
::obapi::put(w, v.IsAutoContrastEnabled);
::obapi::put(w, v.ContrastLevel);
::obapi::put(w, v.PolarityHotIs);
::obapi::put(w, v.IsEconomyModeEnabled);
::obapi::put(w, v.IsCoolerEnabled);
::obapi::put(w, v.Temperature);
::obapi::put(w, v.IsCommunicationActive);
::obapi::put(w, v.IsAutoGainEnabled);
::obapi::put(w, v.GainLevel);
::obapi::put(w, v.IsAutoExposureEnabled);
::obapi::put(w, v.ShutterSpeedPerSec);
::obapi::put(w, v.Aperture);
::obapi::put(w, v.IsExternalTriggerModeEnabled);
::obapi::put(w, v.IsGrabbingRunning);
::obapi::put(w, v.RegionOfInterest);
::obapi::put(w, v.CoolerOperatingHoursCountTotal);
::obapi::put(w, v.ElectronicOperatingHoursCountTotal);
::obapi::put(w, v.SensorResolution);
::obapi::put(w, v.IsFalseColorEnabled);
::obapi::put(w, v.IsInfraredDynamicModeEnabled);
::obapi::put(w, v.HdrMode);
::obapi::put(w, v.FalseColorAlgorithmName);
::obapi::put(w, v.Preset);
}
void obapi_get(::obapi::Reader& r, CameraStatusType& v) {
::obapi::get(r, v.OperationStatus);
::obapi::get(r, v.IsAutoFocusEnabled);
::obapi::get(r, v.IsAutoFocusChangeInProgress);
::obapi::get(r, v.FocusLevel);
::obapi::get(r, v.IsFocusLevelChangeInProgress);
::obapi::get(r, v.IsFocusEngineRunning);
::obapi::get(r, v.IsFocusEngineChangeInProgress);
::obapi::get(r, v.ZoomState);
::obapi::get(r, v.IsDigitalZoomEnabled);
::obapi::get(r, v.IsDigitalZoomChangeInProgress);
::obapi::get(r, v.IsZoomLevelChangeInProgress);
::obapi::get(r, v.PredefinedZoomFov);
::obapi::get(r, v.IsPredefinedZoomFovChangeInProgress);
::obapi::get(r, v.IsZoomFovRegionChangeInProgress);
::obapi::get(r, v.IsZoomEngineRunning);
::obapi::get(r, v.IsZoomEngineChangeInProgress);
::obapi::get(r, v.IsAutoBrightnessEnabled);
::obapi::get(r, v.BrightnessLevel);
::obapi::get(r, v.IsAutoContrastEnabled);
::obapi::get(r, v.ContrastLevel);
::obapi::get(r, v.PolarityHotIs);
::obapi::get(r, v.IsEconomyModeEnabled);
::obapi::get(r, v.IsCoolerEnabled);
::obapi::get(r, v.Temperature);
::obapi::get(r, v.IsCommunicationActive);
::obapi::get(r, v.IsAutoGainEnabled);
::obapi::get(r, v.GainLevel);
::obapi::get(r, v.IsAutoExposureEnabled);
::obapi::get(r, v.ShutterSpeedPerSec);
::obapi::get(r, v.Aperture);
::obapi::get(r, v.IsExternalTriggerModeEnabled);
::obapi::get(r, v.IsGrabbingRunning);
::obapi::get(r, v.RegionOfInterest);
::obapi::get(r, v.CoolerOperatingHoursCountTotal);
::obapi::get(r, v.ElectronicOperatingHoursCountTotal);
::obapi::get(r, v.SensorResolution);
::obapi::get(r, v.IsFalseColorEnabled);
::obapi::get(r, v.IsInfraredDynamicModeEnabled);
::obapi::get(r, v.HdrMode);
::obapi::get(r, v.FalseColorAlgorithmName);
::obapi::get(r, v.Preset);
}
void obapi_put(::obapi::Writer& w, SafetyCodeType const& v) {
::obapi::put(w, v.StartBuffer);
::obapi::put(w, v.SourceId);
::obapi::put(w, v.TimeStamp);
::obapi::put(w, v.Checksum);
::obapi::put(w, v.DisplayMask);
::obapi::put(w, v.RegionOfInterest);
}
void obapi_get(::obapi::Reader& r, SafetyCodeType& v) {
::obapi::get(r, v.StartBuffer);
::obapi::get(r, v.SourceId);
::obapi::get(r, v.TimeStamp);
::obapi::get(r, v.Checksum);
::obapi::get(r, v.DisplayMask);
::obapi::get(r, v.RegionOfInterest);
}
}
namespace {
struct ServiceCallbacks final : ::M_Camera::IService {
::obapi::Dispatcher dispatcher;
void ConfigOperationMode(::M_Common::OperationModeType const& Mode) override {
::obapi::Writer w;
::obapi::put(w, Mode);
dispatcher.dispatch(0u, w);
}
void ConfigAutoFocus(::M_Camera::AutoFocusKind::Type State) override {
::obapi::Writer w;
::obapi::put(w, State);
dispatcher.dispatch(1u, w);
}
void ConfigFocusLevel(::M_Common::PercentType Level) override {
::obapi::Writer w;
::obapi::put(w, Level);
dispatcher.dispatch(2u, w);
}
void CmdSetFocusByStep(int32_t Steps) override {
::obapi::Writer w;
::obapi::put(w, Steps);
dispatcher.dispatch(3u, w);
}
void ConfigDigitalZoom(bool Enable) override {
::obapi::Writer w;
::obapi::put(w, Enable);
dispatcher.dispatch(4u, w);
}
void ConfigZoomLevel(::M_Common::PercentType Level) override {
::obapi::Writer w;
::obapi::put(w, Level);
dispatcher.dispatch(5u, w);
}
void CmdSetZoomByStep(int32_t Steps) override {
::obapi::Writer w;
::obapi::put(w, Steps);
dispatcher.dispatch(6u, w);
}
void ConfigPredefinedZoomFov(uint16_t PredefinedLevel) override {
::obapi::Writer w;
::obapi::put(w, PredefinedLevel);
dispatcher.dispatch(7u, w);
}
void CmdSetPredefinedZoomFovByStep(int32_t Steps) override {
::obapi::Writer w;
::obapi::put(w, Steps);
dispatcher.dispatch(8u, w);
}
void ConfigAutoBrightness(bool Enable) override {
::obapi::Writer w;
::obapi::put(w, Enable);
dispatcher.dispatch(9u, w);
}
void ConfigBrightnessLevel(::M_Common::PercentType Level) override {
::obapi::Writer w;
::obapi::put(w, Level);
dispatcher.dispatch(10u, w);
}
void CmdSetBrightnessByStep(int32_t Steps) override {
::obapi::Writer w;
::obapi::put(w, Steps);
dispatcher.dispatch(11u, w);
}
void ConfigAutoContrast(bool Enable) override {
::obapi::Writer w;
::obapi::put(w, Enable);
dispatcher.dispatch(12u, w);
}
void ConfigContrastLevel(::M_Common::PercentType Level) override {
::obapi::Writer w;
::obapi::put(w, Level);
dispatcher.dispatch(13u, w);
}
void CmdSetContrastByStep(int32_t Steps) override {
::obapi::Writer w;
::obapi::put(w, Steps);
dispatcher.dispatch(14u, w);
}
void ConfigHdrMode(int32_t Mode) override {
::obapi::Writer w;
::obapi::put(w, Mode);
dispatcher.dispatch(15u, w);
}
void ConfigPolarity(::M_Camera::PolarityHotColor::Type HotIs) override {
::obapi::Writer w;
::obapi::put(w, HotIs);
dispatcher.dispatch(16u, w);
}
void ConfigEconomyMode(bool Enable) override {
::obapi::Writer w;
::obapi::put(w, Enable);
dispatcher.dispatch(17u, w);
}
void ConfigCooler(bool Enable) override {
::obapi::Writer w;
::obapi::put(w, Enable);
dispatcher.dispatch(18u, w);
}
void ConfigAutoGain(bool Enable) override {
::obapi::Writer w;
::obapi::put(w, Enable);
dispatcher.dispatch(19u, w);
}
void ConfigGainLevel(::M_Common::PercentType Level) override {
::obapi::Writer w;
::obapi::put(w, Level);
dispatcher.dispatch(20u, w);
}
void CmdSetGainByStep(int32_t Steps) override {
::obapi::Writer w;
::obapi::put(w, Steps);
dispatcher.dispatch(21u, w);
}
void ConfigExposureTime(uint16_t ShutterSpeedPerSec) override {
::obapi::Writer w;
::obapi::put(w, ShutterSpeedPerSec);
dispatcher.dispatch(22u, w);
}
void ConfigAutoExposure(bool Enable) override {
::obapi::Writer w;
::obapi::put(w, Enable);
dispatcher.dispatch(23u, w);
}
void ConfigAperture(::M_Common::ProportionalType Aperture) override {
::obapi::Writer w;
::obapi::put(w, Aperture);
dispatcher.dispatch(24u, w);
}
void CmdSetRegionOfInterest(::M_Common::PixelRegionType const& Rectangle) override {
::obapi::Writer w;
::obapi::put(w, Rectangle);
dispatcher.dispatch(25u, w);
}
void CmdClearRegionOfInterest() override {
::obapi::Writer w;
dispatcher.dispatch(26u, w);
}
void ConfigExternalTriggerMode(bool Enable) override {
::obapi::Writer w;
::obapi::put(w, Enable);
dispatcher.dispatch(27u, w);
}
void ConfigGrabbing(bool Enable) override {
::obapi::Writer w;
::obapi::put(w, Enable);
dispatcher.dispatch(28u, w);
}
void CmdCalibrateNuc(bool IsCalibrating) override {
::obapi::Writer w;
::obapi::put(w, IsCalibrating);
dispatcher.dispatch(29u, w);
}
void ConfigAutoCalibrateNuc(bool IsActive) override {
::obapi::Writer w;
::obapi::put(w, IsActive);
dispatcher.dispatch(30u, w);
}
void ConfigAlphaBlendingLevel(::M_Common::PercentType Level) override {
::obapi::Writer w;
::obapi::put(w, Level);
dispatcher.dispatch(31u, w);
}
void CmdSetFalseColour(bool Enable, std::string const& Name) override {
::obapi::Writer w;
::obapi::put(w, Enable);
::obapi::put(w, Name);
dispatcher.dispatch(32u, w);
}
void ConfigInfraredDynamicMode(bool Enable) override {
::obapi::Writer w;
::obapi::put(w, Enable);
dispatcher.dispatch(33u, w);
}
void ConfigSelectCameraPreset(std::string const& Name) override {
::obapi::Writer w;
::obapi::put(w, Name);
dispatcher.dispatch(34u, w);
}
void CmdStartFocusEngine(::M_Camera::ScaleDirection::Type Direction) override {
::obapi::Writer w;
::obapi::put(w, Direction);
dispatcher.dispatch(35u, w);
}
void CmdStopFocusEngine() override {
::obapi::Writer w;
dispatcher.dispatch(36u, w);
}
void CmdStartZoomEngine(::M_Camera::ScaleDirection::Type Direction) override {
::obapi::Writer w;
::obapi::put(w, Direction);
dispatcher.dispatch(37u, w);
}
void CmdStopZoomEngine() override {
::obapi::Writer w;
dispatcher.dispatch(38u, w);
}
void CmdFreezeImage() override {
::obapi::Writer w;
dispatcher.dispatch(39u, w);
}
};
struct ClientCallbacks final : ::M_Camera::IClient {
::obapi::Dispatcher dispatcher;
void ReportCameraSettings(::M_Camera::CameraSettingsType const& Settings) override {
::obapi::Writer w;
::obapi::put(w, Settings);
dispatcher.dispatch(0u, w);
}
void ReportCameraStatus(::M_Camera::CameraStatusType const& Status, bool IsRemoved) override {
::obapi::Writer w;
::obapi::put(w, Status);
::obapi::put(w, IsRemoved);
dispatcher.dispatch(1u, w);
}
void EventSafetyCode(::M_Camera::SafetyCodeListType const& SafetyCodeList) override {
::obapi::Writer w;
::obapi::put(w, SafetyCodeList);
dispatcher.dispatch(2u, w);
}
};
void service_send(::obapi::Holder<::M_Camera::Service, ServiceCallbacks>& h, uint32_t op, ::obapi::Reader& r) {
switch (op) {
case 0u: {
::M_Camera::CameraSettingsType Settings{};
::obapi::get(r, Settings);
r.finish();
h.endpoint->ReportCameraSettings(Settings);
return;
}
case 1u: {
::M_Camera::CameraStatusType Status{};
::obapi::get(r, Status);
bool IsRemoved{};
::obapi::get(r, IsRemoved);
r.finish();
h.endpoint->ReportCameraStatus(Status, IsRemoved);
return;
}
case 2u: {
::M_Camera::SafetyCodeListType SafetyCodeList{};
::obapi::get(r, SafetyCodeList);
r.finish();
h.endpoint->EventSafetyCode(SafetyCodeList);
return;
}
default: throw ::obapi::UnknownOp(op);
}
}
void client_send(::obapi::Holder<::M_Camera::Client, ClientCallbacks>& h, uint32_t op, ::obapi::Reader& r) {
switch (op) {
case 0u: {
::M_Common::OperationModeType Mode{};
::obapi::get(r, Mode);
r.finish();
h.endpoint->ConfigOperationMode(Mode);
return;
}
case 1u: {
::M_Camera::AutoFocusKind::Type State{};
::obapi::get(r, State);
r.finish();
h.endpoint->ConfigAutoFocus(State);
return;
}
case 2u: {
::M_Common::PercentType Level{};
::obapi::get(r, Level);
r.finish();
h.endpoint->ConfigFocusLevel(Level);
return;
}
case 3u: {
int32_t Steps{};
::obapi::get(r, Steps);
r.finish();
h.endpoint->CmdSetFocusByStep(Steps);
return;
}
case 4u: {
bool Enable{};
::obapi::get(r, Enable);
r.finish();
h.endpoint->ConfigDigitalZoom(Enable);
return;
}
case 5u: {
::M_Common::PercentType Level{};
::obapi::get(r, Level);
r.finish();
h.endpoint->ConfigZoomLevel(Level);
return;
}
case 6u: {
int32_t Steps{};
::obapi::get(r, Steps);
r.finish();
h.endpoint->CmdSetZoomByStep(Steps);
return;
}
case 7u: {
uint16_t PredefinedLevel{};
::obapi::get(r, PredefinedLevel);
r.finish();
h.endpoint->ConfigPredefinedZoomFov(PredefinedLevel);
return;
}
case 8u: {
int32_t Steps{};
::obapi::get(r, Steps);
r.finish();
h.endpoint->CmdSetPredefinedZoomFovByStep(Steps);
return;
}
case 9u: {
bool Enable{};
::obapi::get(r, Enable);
r.finish();
h.endpoint->ConfigAutoBrightness(Enable);
return;
}
case 10u: {
::M_Common::PercentType Level{};
::obapi::get(r, Level);
r.finish();
h.endpoint->ConfigBrightnessLevel(Level);
return;
}
case 11u: {
int32_t Steps{};
::obapi::get(r, Steps);
r.finish();
h.endpoint->CmdSetBrightnessByStep(Steps);
return;
}
case 12u: {
bool Enable{};
::obapi::get(r, Enable);
r.finish();
h.endpoint->ConfigAutoContrast(Enable);
return;
}
case 13u: {
::M_Common::PercentType Level{};
::obapi::get(r, Level);
r.finish();
h.endpoint->ConfigContrastLevel(Level);
return;
}
case 14u: {
int32_t Steps{};
::obapi::get(r, Steps);
r.finish();
h.endpoint->CmdSetContrastByStep(Steps);
return;
}
case 15u: {
int32_t Mode{};
::obapi::get(r, Mode);
r.finish();
h.endpoint->ConfigHdrMode(Mode);
return;
}
case 16u: {
::M_Camera::PolarityHotColor::Type HotIs{};
::obapi::get(r, HotIs);
r.finish();
h.endpoint->ConfigPolarity(HotIs);
return;
}
case 17u: {
bool Enable{};
::obapi::get(r, Enable);
r.finish();
h.endpoint->ConfigEconomyMode(Enable);
return;
}
case 18u: {
bool Enable{};
::obapi::get(r, Enable);
r.finish();
h.endpoint->ConfigCooler(Enable);
return;
}
case 19u: {
bool Enable{};
::obapi::get(r, Enable);
r.finish();
h.endpoint->ConfigAutoGain(Enable);
return;
}
case 20u: {
::M_Common::PercentType Level{};
::obapi::get(r, Level);
r.finish();
h.endpoint->ConfigGainLevel(Level);
return;
}
case 21u: {
int32_t Steps{};
::obapi::get(r, Steps);
r.finish();
h.endpoint->CmdSetGainByStep(Steps);
return;
}
case 22u: {
uint16_t ShutterSpeedPerSec{};
::obapi::get(r, ShutterSpeedPerSec);
r.finish();
h.endpoint->ConfigExposureTime(ShutterSpeedPerSec);
return;
}
case 23u: {
bool Enable{};
::obapi::get(r, Enable);
r.finish();
h.endpoint->ConfigAutoExposure(Enable);
return;
}
case 24u: {
::M_Common::ProportionalType Aperture{};
::obapi::get(r, Aperture);
r.finish();
h.endpoint->ConfigAperture(Aperture);
return;
}
case 25u: {
::M_Common::PixelRegionType Rectangle{};
::obapi::get(r, Rectangle);
r.finish();
h.endpoint->CmdSetRegionOfInterest(Rectangle);
return;
}
case 26u: {
r.finish();
h.endpoint->CmdClearRegionOfInterest();
return;
}
case 27u: {
bool Enable{};
::obapi::get(r, Enable);
r.finish();
h.endpoint->ConfigExternalTriggerMode(Enable);
return;
}
case 28u: {
bool Enable{};
::obapi::get(r, Enable);
r.finish();
h.endpoint->ConfigGrabbing(Enable);
return;
}
case 29u: {
bool IsCalibrating{};
::obapi::get(r, IsCalibrating);
r.finish();
h.endpoint->CmdCalibrateNuc(IsCalibrating);
return;
}
case 30u: {
bool IsActive{};
::obapi::get(r, IsActive);
r.finish();
h.endpoint->ConfigAutoCalibrateNuc(IsActive);
return;
}
case 31u: {
::M_Common::PercentType Level{};
::obapi::get(r, Level);
r.finish();
h.endpoint->ConfigAlphaBlendingLevel(Level);
return;
}
case 32u: {
bool Enable{};
::obapi::get(r, Enable);
std::string Name{};
::obapi::get(r, Name);
r.finish();
h.endpoint->CmdSetFalseColour(Enable, Name);
return;
}
case 33u: {
bool Enable{};
::obapi::get(r, Enable);
r.finish();
h.endpoint->ConfigInfraredDynamicMode(Enable);
return;
}
case 34u: {
std::string Name{};
::obapi::get(r, Name);
r.finish();
h.endpoint->ConfigSelectCameraPreset(Name);
return;
}
case 35u: {
::M_Camera::ScaleDirection::Type Direction{};
::obapi::get(r, Direction);
r.finish();
h.endpoint->CmdStartFocusEngine(Direction);
return;
}
case 36u: {
r.finish();
h.endpoint->CmdStopFocusEngine();
return;
}
case 37u: {
::M_Camera::ScaleDirection::Type Direction{};
::obapi::get(r, Direction);
r.finish();
h.endpoint->CmdStartZoomEngine(Direction);
return;
}
case 38u: {
r.finish();
h.endpoint->CmdStopZoomEngine();
return;
}
case 39u: {
r.finish();
h.endpoint->CmdFreezeImage();
return;
}
default: throw ::obapi::UnknownOp(op);
}
}
}
extern "C" const obapi_vtable obapi_Camera_service_vtable = ::obapi::Endpoint<::M_Camera::Service, ServiceCallbacks, &service_send, false>::vtable("M_Camera", "Service");
extern "C" const obapi_vtable obapi_Camera_client_vtable = ::obapi::Endpoint<::M_Camera::Client, ClientCallbacks, &client_send, true>::vtable("M_Camera", "Client");