#include "wire_Mount.hpp"
#include "../obapi_runtime.hpp"
#include <type_traits>
static_assert(static_cast<uint32_t>(::M_Mount::ModeCommand::Motor_Off) == 0u, "enum value M_Mount::ModeCommand::Type::Motor_Off differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ModeCommand::Locked) == 1u, "enum value M_Mount::ModeCommand::Type::Locked differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ModeCommand::Select) == 2u, "enum value M_Mount::ModeCommand::Type::Select differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ModeCommand::Deselect) == 3u, "enum value M_Mount::ModeCommand::Type::Deselect differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ModeCommand::Unstab) == 4u, "enum value M_Mount::ModeCommand::Type::Unstab differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ModeCommand::Stab) == 5u, "enum value M_Mount::ModeCommand::Type::Stab differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ModeCommand::Horizontal_Stab) == 6u, "enum value M_Mount::ModeCommand::Type::Horizontal_Stab differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ModeCommand::Vertical_Stab) == 7u, "enum value M_Mount::ModeCommand::Type::Vertical_Stab differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ModeCommand::Target_Assignment) == 8u, "enum value M_Mount::ModeCommand::Type::Target_Assignment differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ModeCommand::Slaved_To_Leading_Device) == 9u, "enum value M_Mount::ModeCommand::Type::Slaved_To_Leading_Device differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ModeCommand::Wide_Area_Scan) == 10u, "enum value M_Mount::ModeCommand::Type::Wide_Area_Scan differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::StabState::Motor_Off) == 0u, "enum value M_Mount::StabState::Type::Motor_Off differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::StabState::Locked) == 1u, "enum value M_Mount::StabState::Type::Locked differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::StabState::Unstab) == 2u, "enum value M_Mount::StabState::Type::Unstab differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::StabState::Stab) == 3u, "enum value M_Mount::StabState::Type::Stab differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::StabState::Horizontal_Stab) == 4u, "enum value M_Mount::StabState::Type::Horizontal_Stab differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::StabState::Vertical_Stab) == 5u, "enum value M_Mount::StabState::Type::Vertical_Stab differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::StabState::Selecting) == 6u, "enum value M_Mount::StabState::Type::Selecting differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::StabState::Deselecting) == 7u, "enum value M_Mount::StabState::Type::Deselecting differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::StabState::Deselected) == 8u, "enum value M_Mount::StabState::Type::Deselected differs from the data model");
static_assert(std::is_same<::M_Mount::StabStateOptionalType, std::vector<::M_Mount::StabState::Type>>::value, "typedef M_Mount::StabStateOptionalType differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ControlState::Controlled_By_Rate) == 0u, "enum value M_Mount::ControlState::Type::Controlled_By_Rate differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ControlState::Controlled_By_Angle) == 1u, "enum value M_Mount::ControlState::Type::Controlled_By_Angle differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ControlState::Target_Assignment) == 2u, "enum value M_Mount::ControlState::Type::Target_Assignment differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ControlState::Slaved_To_Leading_Device) == 3u, "enum value M_Mount::ControlState::Type::Slaved_To_Leading_Device differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ControlState::Wide_Area_Scan) == 4u, "enum value M_Mount::ControlState::Type::Wide_Area_Scan differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ControlState::Controlled_By_Video_Tracker) == 5u, "enum value M_Mount::ControlState::Type::Controlled_By_Video_Tracker differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::ControlState::Controlled_By_Video_Tracker_Coasting) == 6u, "enum value M_Mount::ControlState::Type::Controlled_By_Video_Tracker_Coasting differs from the data model");
static_assert(std::is_same<::M_Mount::ControlStateOptionalType, std::vector<::M_Mount::ControlState::Type>>::value, "typedef M_Mount::ControlStateOptionalType differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::MovementState::Position_Reached) == 0u, "enum value M_Mount::MovementState::Type::Position_Reached differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::MovementState::Position_Not_Reached) == 1u, "enum value M_Mount::MovementState::Type::Position_Not_Reached differs from the data model");
static_assert(std::is_same<::M_Mount::MovementStateOptionalType, std::vector<::M_Mount::MovementState::Type>>::value, "typedef M_Mount::MovementStateOptionalType differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::DriftCompensationKind::None) == 0u, "enum value M_Mount::DriftCompensationKind::Type::None differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::DriftCompensationKind::Manual) == 1u, "enum value M_Mount::DriftCompensationKind::Type::Manual differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::DriftCompensationKind::Auto) == 2u, "enum value M_Mount::DriftCompensationKind::Type::Auto differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::DriftCompensationKind::Allowed) == 3u, "enum value M_Mount::DriftCompensationKind::Type::Allowed differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::DriftCompensationKind::Not_Allowed) == 4u, "enum value M_Mount::DriftCompensationKind::Type::Not_Allowed differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::DriftCompensationKind::Cancelled) == 5u, "enum value M_Mount::DriftCompensationKind::Type::Cancelled differs from the data model");
static_assert(std::is_same<::M_Mount::DriftCompensationKindOptionalType, std::vector<::M_Mount::DriftCompensationKind::Type>>::value, "typedef M_Mount::DriftCompensationKindOptionalType differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::RelativeToCoordSystem::Zero_Position) == 0u, "enum value M_Mount::RelativeToCoordSystem::Type::Zero_Position differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::RelativeToCoordSystem::Current_Position) == 1u, "enum value M_Mount::RelativeToCoordSystem::Type::Current_Position differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::RelativeToCoordSystem::Vehicle) == 2u, "enum value M_Mount::RelativeToCoordSystem::Type::Vehicle differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::RelativeToCoordSystem::Geographic) == 3u, "enum value M_Mount::RelativeToCoordSystem::Type::Geographic differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountAngleParamsType::RelativeTo), ::M_Mount::RelativeToCoordSystem::Type>::value, "M_Mount::MountAngleParamsType field RelativeTo differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountAngleParamsType::HorizontalDirection), std::vector<::M_Common::HorizontalDirection::Type>>::value, "M_Mount::MountAngleParamsType field HorizontalDirection differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountAngleParamsType::VerticalDirection), std::vector<::M_Common::VerticalDirection::Type>>::value, "M_Mount::MountAngleParamsType field VerticalDirection differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountAngleParamsType::TimeToPosition), std::vector<double>>::value, "M_Mount::MountAngleParamsType field TimeToPosition differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ScaledRateType::AzimuthScaledRate), double>::value, "M_Mount::ScaledRateType field AzimuthScaledRate differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ScaledRateType::ElevationScaledRate), double>::value, "M_Mount::ScaledRateType field ElevationScaledRate differs from the data model");
static_assert(std::is_same<::M_Mount::ScaledRateOptionalType, std::vector<::M_Mount::ScaledRateType>>::value, "typedef M_Mount::ScaledRateOptionalType differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::TgtAssignmentSearchCmdKind::Automatic_Search) == 0u, "enum value M_Mount::TgtAssignmentSearchCmdKind::Type::Automatic_Search differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::TgtAssignmentSearchCmdKind::Manual_Search) == 1u, "enum value M_Mount::TgtAssignmentSearchCmdKind::Type::Manual_Search differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::TgtAssignmentSearchCmdKind::Reset_Search) == 2u, "enum value M_Mount::TgtAssignmentSearchCmdKind::Type::Reset_Search differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::TgtAssignmentSearchStateKind::No_Search) == 0u, "enum value M_Mount::TgtAssignmentSearchStateKind::Type::No_Search differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::TgtAssignmentSearchStateKind::Init) == 1u, "enum value M_Mount::TgtAssignmentSearchStateKind::Type::Init differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::TgtAssignmentSearchStateKind::Manual_Search) == 2u, "enum value M_Mount::TgtAssignmentSearchStateKind::Type::Manual_Search differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::TgtAssignmentSearchStateKind::Automatic_Search) == 3u, "enum value M_Mount::TgtAssignmentSearchStateKind::Type::Automatic_Search differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::SearchPatternKind::Azimuth_Continuous_Elevation_Step) == 0u, "enum value M_Mount::SearchPatternKind::Type::Azimuth_Continuous_Elevation_Step differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::SearchPatternKind::Elevation_Continuous_Azimuth_Step) == 1u, "enum value M_Mount::SearchPatternKind::Type::Elevation_Continuous_Azimuth_Step differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::SearchPatternKind::Both_Continuous) == 2u, "enum value M_Mount::SearchPatternKind::Type::Both_Continuous differs from the data model");
static_assert(static_cast<uint32_t>(::M_Mount::SearchPatternKind::Both_Step) == 3u, "enum value M_Mount::SearchPatternKind::Type::Both_Step differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::TgtAssignmentSearchPatternType::TopLeft), ::M_Common::SphericalPositionType>::value, "M_Mount::TgtAssignmentSearchPatternType field TopLeft differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::TgtAssignmentSearchPatternType::BottomRight), ::M_Common::SphericalPositionType>::value, "M_Mount::TgtAssignmentSearchPatternType field BottomRight differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::TgtAssignmentSearchPatternType::StartPosition), ::M_Common::SphericalPositionType>::value, "M_Mount::TgtAssignmentSearchPatternType field StartPosition differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::TgtAssignmentSearchPatternType::StartDirectionHorizontal), ::M_Common::HorizontalDirection::Type>::value, "M_Mount::TgtAssignmentSearchPatternType field StartDirectionHorizontal differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::TgtAssignmentSearchPatternType::StartDirectionVertical), ::M_Common::VerticalDirection::Type>::value, "M_Mount::TgtAssignmentSearchPatternType field StartDirectionVertical differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::TgtAssignmentSearchPatternType::Pattern), ::M_Mount::SearchPatternKind::Type>::value, "M_Mount::TgtAssignmentSearchPatternType field Pattern differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::TgtAssignmentSearchPatternType::SearchReferenceHorizontal), ::M_Mount::RelativeToCoordSystem::Type>::value, "M_Mount::TgtAssignmentSearchPatternType field SearchReferenceHorizontal differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::TgtAssignmentSearchPatternType::SearchReferenceVertical), ::M_Mount::RelativeToCoordSystem::Type>::value, "M_Mount::TgtAssignmentSearchPatternType field SearchReferenceVertical differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::TgtAssignmentSearchPatternType::SearchSpeed), ::M_Common::SphericalPositionRateType>::value, "M_Mount::TgtAssignmentSearchPatternType field SearchSpeed differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::TgtAssignmentSearchPatternType::StepSize), double>::value, "M_Mount::TgtAssignmentSearchPatternType field StepSize differs from the data model");
static_assert(std::is_same<::M_Mount::TgtAssignmentSearchPatternOptionalType, std::vector<::M_Mount::TgtAssignmentSearchPatternType>>::value, "typedef M_Mount::TgtAssignmentSearchPatternOptionalType differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeAvailabilityType::GeneralControlModeAvailability), ::M_Common::Availability::Type>::value, "M_Mount::ModeAvailabilityType field GeneralControlModeAvailability differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeAvailabilityType::StateMotorOffAvailability), ::M_Common::Availability::Type>::value, "M_Mount::ModeAvailabilityType field StateMotorOffAvailability differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeAvailabilityType::StateLockedAvailability), ::M_Common::Availability::Type>::value, "M_Mount::ModeAvailabilityType field StateLockedAvailability differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeAvailabilityType::StateStabAvailability), ::M_Common::Availability::Type>::value, "M_Mount::ModeAvailabilityType field StateStabAvailability differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeAvailabilityType::StateUnstabAvailability), ::M_Common::Availability::Type>::value, "M_Mount::ModeAvailabilityType field StateUnstabAvailability differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeAvailabilityType::StateHorizontalStabAvailability), ::M_Common::Availability::Type>::value, "M_Mount::ModeAvailabilityType field StateHorizontalStabAvailability differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeAvailabilityType::StateVerticalStabAvailability), ::M_Common::Availability::Type>::value, "M_Mount::ModeAvailabilityType field StateVerticalStabAvailability differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeAvailabilityType::StateTargetAssignmentAvailability), ::M_Common::Availability::Type>::value, "M_Mount::ModeAvailabilityType field StateTargetAssignmentAvailability differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeAvailabilityType::StateSlavedToLeadingDeviceAvailability), ::M_Common::Availability::Type>::value, "M_Mount::ModeAvailabilityType field StateSlavedToLeadingDeviceAvailability differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeAvailabilityType::StateWideAreaScanAvailability), ::M_Common::Availability::Type>::value, "M_Mount::ModeAvailabilityType field StateWideAreaScanAvailability differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeSupportedType::IsMotorOffSupported), bool>::value, "M_Mount::ModeSupportedType field IsMotorOffSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeSupportedType::IsLockedSupported), bool>::value, "M_Mount::ModeSupportedType field IsLockedSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeSupportedType::IsUnstabSupported), bool>::value, "M_Mount::ModeSupportedType field IsUnstabSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeSupportedType::IsStabSupported), bool>::value, "M_Mount::ModeSupportedType field IsStabSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeSupportedType::IsHorizontalStabSupported), bool>::value, "M_Mount::ModeSupportedType field IsHorizontalStabSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeSupportedType::IsVerticalStabSupported), bool>::value, "M_Mount::ModeSupportedType field IsVerticalStabSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeSupportedType::IsTargetAssignmentSupported), bool>::value, "M_Mount::ModeSupportedType field IsTargetAssignmentSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeSupportedType::IsSlavedToLeadingDeviceSupported), bool>::value, "M_Mount::ModeSupportedType field IsSlavedToLeadingDeviceSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::ModeSupportedType::IsWideAreaScanSupported), bool>::value, "M_Mount::ModeSupportedType field IsWideAreaScanSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::SearchActionSupportedType::IsManualSearchSupported), bool>::value, "M_Mount::SearchActionSupportedType field IsManualSearchSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::SearchActionSupportedType::IsAutomatichSearchSupported), bool>::value, "M_Mount::SearchActionSupportedType field IsAutomatichSearchSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::SearchActionSupportedType::IsResetSearchSupported), bool>::value, "M_Mount::SearchActionSupportedType field IsResetSearchSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::RelativeToCoordSystemSupportedType::IsCurrentPositionSupported), bool>::value, "M_Mount::RelativeToCoordSystemSupportedType field IsCurrentPositionSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::RelativeToCoordSystemSupportedType::IsVehicleSupported), bool>::value, "M_Mount::RelativeToCoordSystemSupportedType field IsVehicleSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::RelativeToCoordSystemSupportedType::IsGeographicSupported), bool>::value, "M_Mount::RelativeToCoordSystemSupportedType field IsGeographicSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::AngularLimitType::MinimumAzimuth), std::vector<double>>::value, "M_Mount::AngularLimitType field MinimumAzimuth differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::AngularLimitType::MaximumAzimuth), std::vector<double>>::value, "M_Mount::AngularLimitType field MaximumAzimuth differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::AngularLimitType::MinimumElevation), std::vector<double>>::value, "M_Mount::AngularLimitType field MinimumElevation differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::AngularLimitType::MaximumElevation), std::vector<double>>::value, "M_Mount::AngularLimitType field MaximumElevation differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::StoredPositionType::Id), std::string>::value, "M_Mount::StoredPositionType field Id differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::StoredPositionType::Azimuth), double>::value, "M_Mount::StoredPositionType field Azimuth differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::StoredPositionType::Elevation), double>::value, "M_Mount::StoredPositionType field Elevation differs from the data model");
static_assert(std::is_same<::M_Mount::StoredPositionListType, std::vector<::M_Mount::StoredPositionType>>::value, "typedef M_Mount::StoredPositionListType differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::SupportedModes), ::M_Mount::ModeSupportedType>::value, "M_Mount::MountSettingsType field SupportedModes differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsCmdModeSupported), bool>::value, "M_Mount::MountSettingsType field IsCmdModeSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsConfigInputSourceSupported), bool>::value, "M_Mount::MountSettingsType field IsConfigInputSourceSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsConfigTgtAssignmentInputSourceSupported), bool>::value, "M_Mount::MountSettingsType field IsConfigTgtAssignmentInputSourceSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsConfigTgtAssignmentSearchInputSourceSupported), bool>::value, "M_Mount::MountSettingsType field IsConfigTgtAssignmentSearchInputSourceSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsConfigTgtAssignmentSearchPatternSupported), bool>::value, "M_Mount::MountSettingsType field IsConfigTgtAssignmentSearchPatternSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsConfigSlewLimitsSupported), bool>::value, "M_Mount::MountSettingsType field IsConfigSlewLimitsSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsConfigStorePositionSupported), bool>::value, "M_Mount::MountSettingsType field IsConfigStorePositionSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsCmdMoveToStoredPositionSupported), bool>::value, "M_Mount::MountSettingsType field IsCmdMoveToStoredPositionSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsNotifyAngleSupported), bool>::value, "M_Mount::MountSettingsType field IsNotifyAngleSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsNotifyTgtAssignmentCartSupported), bool>::value, "M_Mount::MountSettingsType field IsNotifyTgtAssignmentCartSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsNotifyTgtAssignmentSphereSupported), bool>::value, "M_Mount::MountSettingsType field IsNotifyTgtAssignmentSphereSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::SupportedRelativeTo), ::M_Mount::RelativeToCoordSystemSupportedType>::value, "M_Mount::MountSettingsType field SupportedRelativeTo differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsParamVerticalDirectionSupported), bool>::value, "M_Mount::MountSettingsType field IsParamVerticalDirectionSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsParamHorizontalDirectionSupported), bool>::value, "M_Mount::MountSettingsType field IsParamHorizontalDirectionSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsParamTimeToPositionSupported), bool>::value, "M_Mount::MountSettingsType field IsParamTimeToPositionSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsCmdTgtAssignmentSearchActionSupported), bool>::value, "M_Mount::MountSettingsType field IsCmdTgtAssignmentSearchActionSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::SupportedSearchActions), ::M_Mount::SearchActionSupportedType>::value, "M_Mount::MountSettingsType field SupportedSearchActions differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsCmdAutoDriftCompensationSupported), bool>::value, "M_Mount::MountSettingsType field IsCmdAutoDriftCompensationSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsCmdManualDriftCompensationSupported), bool>::value, "M_Mount::MountSettingsType field IsCmdManualDriftCompensationSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsCmdAllowExternalDriftCompensationSupported), bool>::value, "M_Mount::MountSettingsType field IsCmdAllowExternalDriftCompensationSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsCmdHorizontalAimingSupported), bool>::value, "M_Mount::MountSettingsType field IsCmdHorizontalAimingSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsSetOperationalModeRateAidSupported), bool>::value, "M_Mount::MountSettingsType field IsSetOperationalModeRateAidSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsConfigMaximumRateSupported), bool>::value, "M_Mount::MountSettingsType field IsConfigMaximumRateSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsNotifyRateAbsoluteSupported), bool>::value, "M_Mount::MountSettingsType field IsNotifyRateAbsoluteSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsNotifyRateScaledSupported), bool>::value, "M_Mount::MountSettingsType field IsNotifyRateScaledSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsConfigLeadingDeviceSupported), bool>::value, "M_Mount::MountSettingsType field IsConfigLeadingDeviceSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::IsConfigSlavedDeviceSupported), bool>::value, "M_Mount::MountSettingsType field IsConfigSlavedDeviceSupported differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::HardLimits), ::M_Mount::AngularLimitType>::value, "M_Mount::MountSettingsType field HardLimits differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::OperatingStartTime), std::vector<::M_Common::TimeType>>::value, "M_Mount::MountSettingsType field OperatingStartTime differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::EquipmentPosition), ::M_Common::CoordinateTransformationType>::value, "M_Mount::MountSettingsType field EquipmentPosition differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountSettingsType::AdditionalInfo), std::vector<::M_Common::PropertyType>>::value, "M_Mount::MountSettingsType field AdditionalInfo differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::InputSourceClientId), std::string>::value, "M_Mount::MountStatusType field InputSourceClientId differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::TgtAssignmentInputSourceClientId), std::string>::value, "M_Mount::MountStatusType field TgtAssignmentInputSourceClientId differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::TgtAssignmentSearchInputSourceClientId), std::string>::value, "M_Mount::MountStatusType field TgtAssignmentSearchInputSourceClientId differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::StabState), std::vector<::M_Mount::StabState::Type>>::value, "M_Mount::MountStatusType field StabState differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::CtrlState), std::vector<::M_Mount::ControlState::Type>>::value, "M_Mount::MountStatusType field CtrlState differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::MaximumAzimuthRate), std::vector<double>>::value, "M_Mount::MountStatusType field MaximumAzimuthRate differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::MaximumElevationRate), std::vector<double>>::value, "M_Mount::MountStatusType field MaximumElevationRate differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::DriftCompensationMode), std::vector<::M_Mount::DriftCompensationKind::Type>>::value, "M_Mount::MountStatusType field DriftCompensationMode differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::IsExternalDriftCompensationAllowed), bool>::value, "M_Mount::MountStatusType field IsExternalDriftCompensationAllowed differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::DriftCompensationOffsetAzimuthRate), std::vector<double>>::value, "M_Mount::MountStatusType field DriftCompensationOffsetAzimuthRate differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::DriftCompensationOffsetElevationRate), std::vector<double>>::value, "M_Mount::MountStatusType field DriftCompensationOffsetElevationRate differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::RateAidState), ::M_Common::Availability::Type>::value, "M_Mount::MountStatusType field RateAidState differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::IsModeRateAidActive), bool>::value, "M_Mount::MountStatusType field IsModeRateAidActive differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::PositionState), std::vector<::M_Mount::MovementState::Type>>::value, "M_Mount::MountStatusType field PositionState differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::NumberOfSearchCycles), std::vector<uint16_t>>::value, "M_Mount::MountStatusType field NumberOfSearchCycles differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::TgtAssignmentSearchState), ::M_Mount::TgtAssignmentSearchStateKind::Type>::value, "M_Mount::MountStatusType field TgtAssignmentSearchState differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::TgtAssignmentSearchPattern), std::vector<::M_Mount::TgtAssignmentSearchPatternType>>::value, "M_Mount::MountStatusType field TgtAssignmentSearchPattern differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::LeadingDeviceId), std::vector<int32_t>>::value, "M_Mount::MountStatusType field LeadingDeviceId differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::SlavedDeviceId), std::vector<int32_t>>::value, "M_Mount::MountStatusType field SlavedDeviceId differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::OperationStageName), std::string>::value, "M_Mount::MountStatusType field OperationStageName differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::OverTemperature), ::M_Common::OperationFaultType>::value, "M_Mount::MountStatusType field OverTemperature differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::SlewLimits), ::M_Mount::AngularLimitType>::value, "M_Mount::MountStatusType field SlewLimits differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::ModeAvailability), ::M_Mount::ModeAvailabilityType>::value, "M_Mount::MountStatusType field ModeAvailability differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::HorizontalAimingState), ::M_Common::Availability::Type>::value, "M_Mount::MountStatusType field HorizontalAimingState differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::IsHorizontalAimingEnabled), bool>::value, "M_Mount::MountStatusType field IsHorizontalAimingEnabled differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::StoredPositionList), std::vector<::M_Mount::StoredPositionType>>::value, "M_Mount::MountStatusType field StoredPositionList differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::AvailableInputSources), std::vector<std::string>>::value, "M_Mount::MountStatusType field AvailableInputSources differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountStatusType::AvailableTgtAssignmentInputSources), std::vector<std::string>>::value, "M_Mount::MountStatusType field AvailableTgtAssignmentInputSources differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountPositionType::Azimuth), std::vector<double>>::value, "M_Mount::MountPositionType field Azimuth differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountPositionType::Elevation), std::vector<double>>::value, "M_Mount::MountPositionType field Elevation differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountPositionType::AzimuthNorth), std::vector<double>>::value, "M_Mount::MountPositionType field AzimuthNorth differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountPositionType::ElevationHorizon), std::vector<double>>::value, "M_Mount::MountPositionType field ElevationHorizon differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountPositionType::AzimuthRate), std::vector<double>>::value, "M_Mount::MountPositionType field AzimuthRate differs from the data model");
static_assert(std::is_same<decltype(::M_Mount::MountPositionType::ElevationRate), std::vector<double>>::value, "M_Mount::MountPositionType field ElevationRate differs from the data model");
namespace M_Mount {
void obapi_put(::obapi::Writer& w, MountAngleParamsType const& v) {
::obapi::put(w, v.RelativeTo);
::obapi::put(w, v.HorizontalDirection);
::obapi::put(w, v.VerticalDirection);
::obapi::put(w, v.TimeToPosition);
}
void obapi_get(::obapi::Reader& r, MountAngleParamsType& v) {
::obapi::get(r, v.RelativeTo);
::obapi::get(r, v.HorizontalDirection);
::obapi::get(r, v.VerticalDirection);
::obapi::get(r, v.TimeToPosition);
}
void obapi_put(::obapi::Writer& w, ScaledRateType const& v) {
::obapi::put(w, v.AzimuthScaledRate);
::obapi::put(w, v.ElevationScaledRate);
}
void obapi_get(::obapi::Reader& r, ScaledRateType& v) {
::obapi::get(r, v.AzimuthScaledRate);
::obapi::get(r, v.ElevationScaledRate);
}
void obapi_put(::obapi::Writer& w, TgtAssignmentSearchPatternType const& v) {
::obapi::put(w, v.TopLeft);
::obapi::put(w, v.BottomRight);
::obapi::put(w, v.StartPosition);
::obapi::put(w, v.StartDirectionHorizontal);
::obapi::put(w, v.StartDirectionVertical);
::obapi::put(w, v.Pattern);
::obapi::put(w, v.SearchReferenceHorizontal);
::obapi::put(w, v.SearchReferenceVertical);
::obapi::put(w, v.SearchSpeed);
::obapi::put(w, v.StepSize);
}
void obapi_get(::obapi::Reader& r, TgtAssignmentSearchPatternType& v) {
::obapi::get(r, v.TopLeft);
::obapi::get(r, v.BottomRight);
::obapi::get(r, v.StartPosition);
::obapi::get(r, v.StartDirectionHorizontal);
::obapi::get(r, v.StartDirectionVertical);
::obapi::get(r, v.Pattern);
::obapi::get(r, v.SearchReferenceHorizontal);
::obapi::get(r, v.SearchReferenceVertical);
::obapi::get(r, v.SearchSpeed);
::obapi::get(r, v.StepSize);
}
void obapi_put(::obapi::Writer& w, ModeAvailabilityType const& v) {
::obapi::put(w, v.GeneralControlModeAvailability);
::obapi::put(w, v.StateMotorOffAvailability);
::obapi::put(w, v.StateLockedAvailability);
::obapi::put(w, v.StateStabAvailability);
::obapi::put(w, v.StateUnstabAvailability);
::obapi::put(w, v.StateHorizontalStabAvailability);
::obapi::put(w, v.StateVerticalStabAvailability);
::obapi::put(w, v.StateTargetAssignmentAvailability);
::obapi::put(w, v.StateSlavedToLeadingDeviceAvailability);
::obapi::put(w, v.StateWideAreaScanAvailability);
}
void obapi_get(::obapi::Reader& r, ModeAvailabilityType& v) {
::obapi::get(r, v.GeneralControlModeAvailability);
::obapi::get(r, v.StateMotorOffAvailability);
::obapi::get(r, v.StateLockedAvailability);
::obapi::get(r, v.StateStabAvailability);
::obapi::get(r, v.StateUnstabAvailability);
::obapi::get(r, v.StateHorizontalStabAvailability);
::obapi::get(r, v.StateVerticalStabAvailability);
::obapi::get(r, v.StateTargetAssignmentAvailability);
::obapi::get(r, v.StateSlavedToLeadingDeviceAvailability);
::obapi::get(r, v.StateWideAreaScanAvailability);
}
void obapi_put(::obapi::Writer& w, ModeSupportedType const& v) {
::obapi::put(w, v.IsMotorOffSupported);
::obapi::put(w, v.IsLockedSupported);
::obapi::put(w, v.IsUnstabSupported);
::obapi::put(w, v.IsStabSupported);
::obapi::put(w, v.IsHorizontalStabSupported);
::obapi::put(w, v.IsVerticalStabSupported);
::obapi::put(w, v.IsTargetAssignmentSupported);
::obapi::put(w, v.IsSlavedToLeadingDeviceSupported);
::obapi::put(w, v.IsWideAreaScanSupported);
}
void obapi_get(::obapi::Reader& r, ModeSupportedType& v) {
::obapi::get(r, v.IsMotorOffSupported);
::obapi::get(r, v.IsLockedSupported);
::obapi::get(r, v.IsUnstabSupported);
::obapi::get(r, v.IsStabSupported);
::obapi::get(r, v.IsHorizontalStabSupported);
::obapi::get(r, v.IsVerticalStabSupported);
::obapi::get(r, v.IsTargetAssignmentSupported);
::obapi::get(r, v.IsSlavedToLeadingDeviceSupported);
::obapi::get(r, v.IsWideAreaScanSupported);
}
void obapi_put(::obapi::Writer& w, SearchActionSupportedType const& v) {
::obapi::put(w, v.IsManualSearchSupported);
::obapi::put(w, v.IsAutomatichSearchSupported);
::obapi::put(w, v.IsResetSearchSupported);
}
void obapi_get(::obapi::Reader& r, SearchActionSupportedType& v) {
::obapi::get(r, v.IsManualSearchSupported);
::obapi::get(r, v.IsAutomatichSearchSupported);
::obapi::get(r, v.IsResetSearchSupported);
}
void obapi_put(::obapi::Writer& w, RelativeToCoordSystemSupportedType const& v) {
::obapi::put(w, v.IsCurrentPositionSupported);
::obapi::put(w, v.IsVehicleSupported);
::obapi::put(w, v.IsGeographicSupported);
}
void obapi_get(::obapi::Reader& r, RelativeToCoordSystemSupportedType& v) {
::obapi::get(r, v.IsCurrentPositionSupported);
::obapi::get(r, v.IsVehicleSupported);
::obapi::get(r, v.IsGeographicSupported);
}
void obapi_put(::obapi::Writer& w, AngularLimitType const& v) {
::obapi::put(w, v.MinimumAzimuth);
::obapi::put(w, v.MaximumAzimuth);
::obapi::put(w, v.MinimumElevation);
::obapi::put(w, v.MaximumElevation);
}
void obapi_get(::obapi::Reader& r, AngularLimitType& v) {
::obapi::get(r, v.MinimumAzimuth);
::obapi::get(r, v.MaximumAzimuth);
::obapi::get(r, v.MinimumElevation);
::obapi::get(r, v.MaximumElevation);
}
void obapi_put(::obapi::Writer& w, StoredPositionType const& v) {
::obapi::put(w, v.Id);
::obapi::put(w, v.Azimuth);
::obapi::put(w, v.Elevation);
}
void obapi_get(::obapi::Reader& r, StoredPositionType& v) {
::obapi::get(r, v.Id);
::obapi::get(r, v.Azimuth);
::obapi::get(r, v.Elevation);
}
void obapi_put(::obapi::Writer& w, MountSettingsType const& v) {
::obapi::put(w, v.SupportedModes);
::obapi::put(w, v.IsCmdModeSupported);
::obapi::put(w, v.IsConfigInputSourceSupported);
::obapi::put(w, v.IsConfigTgtAssignmentInputSourceSupported);
::obapi::put(w, v.IsConfigTgtAssignmentSearchInputSourceSupported);
::obapi::put(w, v.IsConfigTgtAssignmentSearchPatternSupported);
::obapi::put(w, v.IsConfigSlewLimitsSupported);
::obapi::put(w, v.IsConfigStorePositionSupported);
::obapi::put(w, v.IsCmdMoveToStoredPositionSupported);
::obapi::put(w, v.IsNotifyAngleSupported);
::obapi::put(w, v.IsNotifyTgtAssignmentCartSupported);
::obapi::put(w, v.IsNotifyTgtAssignmentSphereSupported);
::obapi::put(w, v.SupportedRelativeTo);
::obapi::put(w, v.IsParamVerticalDirectionSupported);
::obapi::put(w, v.IsParamHorizontalDirectionSupported);
::obapi::put(w, v.IsParamTimeToPositionSupported);
::obapi::put(w, v.IsCmdTgtAssignmentSearchActionSupported);
::obapi::put(w, v.SupportedSearchActions);
::obapi::put(w, v.IsCmdAutoDriftCompensationSupported);
::obapi::put(w, v.IsCmdManualDriftCompensationSupported);
::obapi::put(w, v.IsCmdAllowExternalDriftCompensationSupported);
::obapi::put(w, v.IsCmdHorizontalAimingSupported);
::obapi::put(w, v.IsSetOperationalModeRateAidSupported);
::obapi::put(w, v.IsConfigMaximumRateSupported);
::obapi::put(w, v.IsNotifyRateAbsoluteSupported);
::obapi::put(w, v.IsNotifyRateScaledSupported);
::obapi::put(w, v.IsConfigLeadingDeviceSupported);
::obapi::put(w, v.IsConfigSlavedDeviceSupported);
::obapi::put(w, v.HardLimits);
::obapi::put(w, v.OperatingStartTime);
::obapi::put(w, v.EquipmentPosition);
::obapi::put(w, v.AdditionalInfo);
}
void obapi_get(::obapi::Reader& r, MountSettingsType& v) {
::obapi::get(r, v.SupportedModes);
::obapi::get(r, v.IsCmdModeSupported);
::obapi::get(r, v.IsConfigInputSourceSupported);
::obapi::get(r, v.IsConfigTgtAssignmentInputSourceSupported);
::obapi::get(r, v.IsConfigTgtAssignmentSearchInputSourceSupported);
::obapi::get(r, v.IsConfigTgtAssignmentSearchPatternSupported);
::obapi::get(r, v.IsConfigSlewLimitsSupported);
::obapi::get(r, v.IsConfigStorePositionSupported);
::obapi::get(r, v.IsCmdMoveToStoredPositionSupported);
::obapi::get(r, v.IsNotifyAngleSupported);
::obapi::get(r, v.IsNotifyTgtAssignmentCartSupported);
::obapi::get(r, v.IsNotifyTgtAssignmentSphereSupported);
::obapi::get(r, v.SupportedRelativeTo);
::obapi::get(r, v.IsParamVerticalDirectionSupported);
::obapi::get(r, v.IsParamHorizontalDirectionSupported);
::obapi::get(r, v.IsParamTimeToPositionSupported);
::obapi::get(r, v.IsCmdTgtAssignmentSearchActionSupported);
::obapi::get(r, v.SupportedSearchActions);
::obapi::get(r, v.IsCmdAutoDriftCompensationSupported);
::obapi::get(r, v.IsCmdManualDriftCompensationSupported);
::obapi::get(r, v.IsCmdAllowExternalDriftCompensationSupported);
::obapi::get(r, v.IsCmdHorizontalAimingSupported);
::obapi::get(r, v.IsSetOperationalModeRateAidSupported);
::obapi::get(r, v.IsConfigMaximumRateSupported);
::obapi::get(r, v.IsNotifyRateAbsoluteSupported);
::obapi::get(r, v.IsNotifyRateScaledSupported);
::obapi::get(r, v.IsConfigLeadingDeviceSupported);
::obapi::get(r, v.IsConfigSlavedDeviceSupported);
::obapi::get(r, v.HardLimits);
::obapi::get(r, v.OperatingStartTime);
::obapi::get(r, v.EquipmentPosition);
::obapi::get(r, v.AdditionalInfo);
}
void obapi_put(::obapi::Writer& w, MountStatusType const& v) {
::obapi::put(w, v.InputSourceClientId);
::obapi::put(w, v.TgtAssignmentInputSourceClientId);
::obapi::put(w, v.TgtAssignmentSearchInputSourceClientId);
::obapi::put(w, v.StabState);
::obapi::put(w, v.CtrlState);
::obapi::put(w, v.MaximumAzimuthRate);
::obapi::put(w, v.MaximumElevationRate);
::obapi::put(w, v.DriftCompensationMode);
::obapi::put(w, v.IsExternalDriftCompensationAllowed);
::obapi::put(w, v.DriftCompensationOffsetAzimuthRate);
::obapi::put(w, v.DriftCompensationOffsetElevationRate);
::obapi::put(w, v.RateAidState);
::obapi::put(w, v.IsModeRateAidActive);
::obapi::put(w, v.PositionState);
::obapi::put(w, v.NumberOfSearchCycles);
::obapi::put(w, v.TgtAssignmentSearchState);
::obapi::put(w, v.TgtAssignmentSearchPattern);
::obapi::put(w, v.LeadingDeviceId);
::obapi::put(w, v.SlavedDeviceId);
::obapi::put(w, v.OperationStageName);
::obapi::put(w, v.OverTemperature);
::obapi::put(w, v.SlewLimits);
::obapi::put(w, v.ModeAvailability);
::obapi::put(w, v.HorizontalAimingState);
::obapi::put(w, v.IsHorizontalAimingEnabled);
::obapi::put(w, v.StoredPositionList);
::obapi::put(w, v.AvailableInputSources);
::obapi::put(w, v.AvailableTgtAssignmentInputSources);
}
void obapi_get(::obapi::Reader& r, MountStatusType& v) {
::obapi::get(r, v.InputSourceClientId);
::obapi::get(r, v.TgtAssignmentInputSourceClientId);
::obapi::get(r, v.TgtAssignmentSearchInputSourceClientId);
::obapi::get(r, v.StabState);
::obapi::get(r, v.CtrlState);
::obapi::get(r, v.MaximumAzimuthRate);
::obapi::get(r, v.MaximumElevationRate);
::obapi::get(r, v.DriftCompensationMode);
::obapi::get(r, v.IsExternalDriftCompensationAllowed);
::obapi::get(r, v.DriftCompensationOffsetAzimuthRate);
::obapi::get(r, v.DriftCompensationOffsetElevationRate);
::obapi::get(r, v.RateAidState);
::obapi::get(r, v.IsModeRateAidActive);
::obapi::get(r, v.PositionState);
::obapi::get(r, v.NumberOfSearchCycles);
::obapi::get(r, v.TgtAssignmentSearchState);
::obapi::get(r, v.TgtAssignmentSearchPattern);
::obapi::get(r, v.LeadingDeviceId);
::obapi::get(r, v.SlavedDeviceId);
::obapi::get(r, v.OperationStageName);
::obapi::get(r, v.OverTemperature);
::obapi::get(r, v.SlewLimits);
::obapi::get(r, v.ModeAvailability);
::obapi::get(r, v.HorizontalAimingState);
::obapi::get(r, v.IsHorizontalAimingEnabled);
::obapi::get(r, v.StoredPositionList);
::obapi::get(r, v.AvailableInputSources);
::obapi::get(r, v.AvailableTgtAssignmentInputSources);
}
void obapi_put(::obapi::Writer& w, MountPositionType const& v) {
::obapi::put(w, v.Azimuth);
::obapi::put(w, v.Elevation);
::obapi::put(w, v.AzimuthNorth);
::obapi::put(w, v.ElevationHorizon);
::obapi::put(w, v.AzimuthRate);
::obapi::put(w, v.ElevationRate);
}
void obapi_get(::obapi::Reader& r, MountPositionType& v) {
::obapi::get(r, v.Azimuth);
::obapi::get(r, v.Elevation);
::obapi::get(r, v.AzimuthNorth);
::obapi::get(r, v.ElevationHorizon);
::obapi::get(r, v.AzimuthRate);
::obapi::get(r, v.ElevationRate);
}
}
namespace {
struct ServiceCallbacks final : ::M_Mount::IService {
::obapi::Dispatcher dispatcher;
void ConfigMaximumRate(::M_Common::AngleRateDegreesPerSecOptionalType const& AzimuthRate, ::M_Common::AngleRateDegreesPerSecOptionalType const& ElevationRate) override {
::obapi::Writer w;
::obapi::put(w, AzimuthRate);
::obapi::put(w, ElevationRate);
dispatcher.dispatch(0u, w);
}
void ConfigInputSource(bool IsClientIdFilterEnabled, ::M_Common::StringListType const& ClientIds) override {
::obapi::Writer w;
::obapi::put(w, IsClientIdFilterEnabled);
::obapi::put(w, ClientIds);
dispatcher.dispatch(1u, w);
}
void ConfigTgtAssignmentInputSource(bool IsTgtAssignmentClientIdFilterEnabled, ::M_Common::StringListType const& TgtAssignmentClientIds) override {
::obapi::Writer w;
::obapi::put(w, IsTgtAssignmentClientIdFilterEnabled);
::obapi::put(w, TgtAssignmentClientIds);
dispatcher.dispatch(2u, w);
}
void ConfigTgtAssignmentSearchInputSource(bool IsTgtAssignmentSearchClientIdFilterEnabled, ::M_Common::StringListType const& TgtAssignmentSearchClientIds) override {
::obapi::Writer w;
::obapi::put(w, IsTgtAssignmentSearchClientIdFilterEnabled);
::obapi::put(w, TgtAssignmentSearchClientIds);
dispatcher.dispatch(3u, w);
}
void ConfigTgtAssignmentSearchPattern(::M_Mount::TgtAssignmentSearchPatternType const& SearchPatternParams) override {
::obapi::Writer w;
::obapi::put(w, SearchPatternParams);
dispatcher.dispatch(4u, w);
}
void ConfigLeadingDevice(::M_Common::LongOptionalType const& DeviceId) override {
::obapi::Writer w;
::obapi::put(w, DeviceId);
dispatcher.dispatch(5u, w);
}
void ConfigSlavedDevice(::M_Common::LongOptionalType const& DeviceId) override {
::obapi::Writer w;
::obapi::put(w, DeviceId);
dispatcher.dispatch(6u, w);
}
void ConfigSlewLimits(::M_Mount::AngularLimitType const& SlewLimits) override {
::obapi::Writer w;
::obapi::put(w, SlewLimits);
dispatcher.dispatch(7u, w);
}
void ConfigStorePosition(std::string const& KeyId, ::M_Common::AngleDegreesType Azimuth, ::M_Common::AngleDegreesType Elevation, bool IsRemoved) override {
::obapi::Writer w;
::obapi::put(w, KeyId);
::obapi::put(w, Azimuth);
::obapi::put(w, Elevation);
::obapi::put(w, IsRemoved);
dispatcher.dispatch(8u, w);
}
void CmdMoveToStoredPosition(std::string const& Id) override {
::obapi::Writer w;
::obapi::put(w, Id);
dispatcher.dispatch(9u, w);
}
void CmdMode(::M_Mount::ModeCommand::Type Mode) override {
::obapi::Writer w;
::obapi::put(w, Mode);
dispatcher.dispatch(10u, w);
}
void CmdTgtAssignmentSearchAction(::M_Mount::TgtAssignmentSearchCmdKind::Type Action) override {
::obapi::Writer w;
::obapi::put(w, Action);
dispatcher.dispatch(11u, w);
}
void CmdAutoDriftCompensation(bool IsEnabled) override {
::obapi::Writer w;
::obapi::put(w, IsEnabled);
dispatcher.dispatch(12u, w);
}
void CmdManualDriftCompensation(::M_Common::AngleRateDegreesPerSecType OffsetAzimuthRate, ::M_Common::AngleRateDegreesPerSecType OffsetElevationRate, bool IsRelative) override {
::obapi::Writer w;
::obapi::put(w, OffsetAzimuthRate);
::obapi::put(w, OffsetElevationRate);
::obapi::put(w, IsRelative);
dispatcher.dispatch(13u, w);
}
void CmdAllowExternalDriftCompensation(bool IsAllowed) override {
::obapi::Writer w;
::obapi::put(w, IsAllowed);
dispatcher.dispatch(14u, w);
}
void CmdHorizontalAiming(bool IsEnabled) override {
::obapi::Writer w;
::obapi::put(w, IsEnabled);
dispatcher.dispatch(15u, w);
}
void CmdSetOperationalModeRateAid(bool Activate) override {
::obapi::Writer w;
::obapi::put(w, Activate);
dispatcher.dispatch(16u, w);
}
void NotifyAngle(std::string const& InputSourceClientId, ::M_Common::AngleDegreesType Azimuth, ::M_Common::AngleDegreesType Elevation, ::M_Mount::MountAngleParamsType const& AngleParams) override {
::obapi::Writer w;
::obapi::put(w, InputSourceClientId);
::obapi::put(w, Azimuth);
::obapi::put(w, Elevation);
::obapi::put(w, AngleParams);
dispatcher.dispatch(17u, w);
}
void NotifyTgtAssignment(std::string const& InputSourceClientId, ::M_Common::PositionType const& Position, ::M_Common::LinearVelocityOptionalType const& Velocity, ::M_Common::TimeType const& Timestamp, ::M_Mount::MountAngleParamsType const& AngleParams) override {
::obapi::Writer w;
::obapi::put(w, InputSourceClientId);
::obapi::put(w, Position);
::obapi::put(w, Velocity);
::obapi::put(w, Timestamp);
::obapi::put(w, AngleParams);
dispatcher.dispatch(18u, w);
}
void NotifyRateRelative(std::string const& InputSourceClientId, ::M_Common::AngleRateDegreesPerSecType AzimuthRate, ::M_Common::AngleRateDegreesPerSecType ElevationRate) override {
::obapi::Writer w;
::obapi::put(w, InputSourceClientId);
::obapi::put(w, AzimuthRate);
::obapi::put(w, ElevationRate);
dispatcher.dispatch(19u, w);
}
void NotifyRateAbsolute(std::string const& InputSourceClientId, ::M_Common::AngleRateDegreesPerSecType AzimuthRate, ::M_Common::AngleRateDegreesPerSecType ElevationRate) override {
::obapi::Writer w;
::obapi::put(w, InputSourceClientId);
::obapi::put(w, AzimuthRate);
::obapi::put(w, ElevationRate);
dispatcher.dispatch(20u, w);
}
void NotifyRateScaled(std::string const& InputSourceClientId, ::M_Mount::ScaledRateOptionalType const& ScaledRate) override {
::obapi::Writer w;
::obapi::put(w, InputSourceClientId);
::obapi::put(w, ScaledRate);
dispatcher.dispatch(21u, w);
}
};
struct ClientCallbacks final : ::M_Mount::IClient {
::obapi::Dispatcher dispatcher;
void ReportMountSettings(::M_Mount::MountSettingsType const& Settings) override {
::obapi::Writer w;
::obapi::put(w, Settings);
dispatcher.dispatch(0u, w);
}
void ReportMountStatus(::M_Mount::MountStatusType const& Status, bool IsRemoved) override {
::obapi::Writer w;
::obapi::put(w, Status);
::obapi::put(w, IsRemoved);
dispatcher.dispatch(1u, w);
}
void ReportMountPosition(::M_Mount::MountPositionType const& Pos) override {
::obapi::Writer w;
::obapi::put(w, Pos);
dispatcher.dispatch(2u, w);
}
void ReportTgtAssignmentSearchOffset(::M_Common::SphericalPositionType const& Offset) override {
::obapi::Writer w;
::obapi::put(w, Offset);
dispatcher.dispatch(3u, w);
}
void ReportTgtAssignmentPosition(::M_Common::PositionType const& Position) override {
::obapi::Writer w;
::obapi::put(w, Position);
dispatcher.dispatch(4u, w);
}
void ReportTgtAssignmentVelocity(::M_Common::LinearVelocityOptionalType const& Velocity) override {
::obapi::Writer w;
::obapi::put(w, Velocity);
dispatcher.dispatch(5u, w);
}
};
void service_send(::obapi::Holder<::M_Mount::Service, ServiceCallbacks>& h, uint32_t op, ::obapi::Reader& r) {
switch (op) {
case 0u: {
::M_Mount::MountSettingsType Settings{};
::obapi::get(r, Settings);
r.finish();
h.endpoint->ReportMountSettings(Settings);
return;
}
case 1u: {
::M_Mount::MountStatusType Status{};
::obapi::get(r, Status);
bool IsRemoved{};
::obapi::get(r, IsRemoved);
r.finish();
h.endpoint->ReportMountStatus(Status, IsRemoved);
return;
}
case 2u: {
::M_Mount::MountPositionType Pos{};
::obapi::get(r, Pos);
r.finish();
h.endpoint->ReportMountPosition(Pos);
return;
}
case 3u: {
::M_Common::SphericalPositionType Offset{};
::obapi::get(r, Offset);
r.finish();
h.endpoint->ReportTgtAssignmentSearchOffset(Offset);
return;
}
case 4u: {
::M_Common::PositionType Position{};
::obapi::get(r, Position);
r.finish();
h.endpoint->ReportTgtAssignmentPosition(Position);
return;
}
case 5u: {
::M_Common::LinearVelocityOptionalType Velocity{};
::obapi::get(r, Velocity);
r.finish();
h.endpoint->ReportTgtAssignmentVelocity(Velocity);
return;
}
default: throw ::obapi::UnknownOp(op);
}
}
void client_send(::obapi::Holder<::M_Mount::Client, ClientCallbacks>& h, uint32_t op, ::obapi::Reader& r) {
switch (op) {
case 0u: {
::M_Common::AngleRateDegreesPerSecOptionalType AzimuthRate{};
::obapi::get(r, AzimuthRate);
::M_Common::AngleRateDegreesPerSecOptionalType ElevationRate{};
::obapi::get(r, ElevationRate);
r.finish();
h.endpoint->ConfigMaximumRate(AzimuthRate, ElevationRate);
return;
}
case 1u: {
bool IsClientIdFilterEnabled{};
::obapi::get(r, IsClientIdFilterEnabled);
::M_Common::StringListType ClientIds{};
::obapi::get(r, ClientIds);
r.finish();
h.endpoint->ConfigInputSource(IsClientIdFilterEnabled, ClientIds);
return;
}
case 2u: {
bool IsTgtAssignmentClientIdFilterEnabled{};
::obapi::get(r, IsTgtAssignmentClientIdFilterEnabled);
::M_Common::StringListType TgtAssignmentClientIds{};
::obapi::get(r, TgtAssignmentClientIds);
r.finish();
h.endpoint->ConfigTgtAssignmentInputSource(IsTgtAssignmentClientIdFilterEnabled, TgtAssignmentClientIds);
return;
}
case 3u: {
bool IsTgtAssignmentSearchClientIdFilterEnabled{};
::obapi::get(r, IsTgtAssignmentSearchClientIdFilterEnabled);
::M_Common::StringListType TgtAssignmentSearchClientIds{};
::obapi::get(r, TgtAssignmentSearchClientIds);
r.finish();
h.endpoint->ConfigTgtAssignmentSearchInputSource(IsTgtAssignmentSearchClientIdFilterEnabled, TgtAssignmentSearchClientIds);
return;
}
case 4u: {
::M_Mount::TgtAssignmentSearchPatternType SearchPatternParams{};
::obapi::get(r, SearchPatternParams);
r.finish();
h.endpoint->ConfigTgtAssignmentSearchPattern(SearchPatternParams);
return;
}
case 5u: {
::M_Common::LongOptionalType DeviceId{};
::obapi::get(r, DeviceId);
r.finish();
h.endpoint->ConfigLeadingDevice(DeviceId);
return;
}
case 6u: {
::M_Common::LongOptionalType DeviceId{};
::obapi::get(r, DeviceId);
r.finish();
h.endpoint->ConfigSlavedDevice(DeviceId);
return;
}
case 7u: {
::M_Mount::AngularLimitType SlewLimits{};
::obapi::get(r, SlewLimits);
r.finish();
h.endpoint->ConfigSlewLimits(SlewLimits);
return;
}
case 8u: {
std::string KeyId{};
::obapi::get(r, KeyId);
::M_Common::AngleDegreesType Azimuth{};
::obapi::get(r, Azimuth);
::M_Common::AngleDegreesType Elevation{};
::obapi::get(r, Elevation);
bool IsRemoved{};
::obapi::get(r, IsRemoved);
r.finish();
h.endpoint->ConfigStorePosition(KeyId, Azimuth, Elevation, IsRemoved);
return;
}
case 9u: {
std::string Id{};
::obapi::get(r, Id);
r.finish();
h.endpoint->CmdMoveToStoredPosition(Id);
return;
}
case 10u: {
::M_Mount::ModeCommand::Type Mode{};
::obapi::get(r, Mode);
r.finish();
h.endpoint->CmdMode(Mode);
return;
}
case 11u: {
::M_Mount::TgtAssignmentSearchCmdKind::Type Action{};
::obapi::get(r, Action);
r.finish();
h.endpoint->CmdTgtAssignmentSearchAction(Action);
return;
}
case 12u: {
bool IsEnabled{};
::obapi::get(r, IsEnabled);
r.finish();
h.endpoint->CmdAutoDriftCompensation(IsEnabled);
return;
}
case 13u: {
::M_Common::AngleRateDegreesPerSecType OffsetAzimuthRate{};
::obapi::get(r, OffsetAzimuthRate);
::M_Common::AngleRateDegreesPerSecType OffsetElevationRate{};
::obapi::get(r, OffsetElevationRate);
bool IsRelative{};
::obapi::get(r, IsRelative);
r.finish();
h.endpoint->CmdManualDriftCompensation(OffsetAzimuthRate, OffsetElevationRate, IsRelative);
return;
}
case 14u: {
bool IsAllowed{};
::obapi::get(r, IsAllowed);
r.finish();
h.endpoint->CmdAllowExternalDriftCompensation(IsAllowed);
return;
}
case 15u: {
bool IsEnabled{};
::obapi::get(r, IsEnabled);
r.finish();
h.endpoint->CmdHorizontalAiming(IsEnabled);
return;
}
case 16u: {
bool Activate{};
::obapi::get(r, Activate);
r.finish();
h.endpoint->CmdSetOperationalModeRateAid(Activate);
return;
}
case 17u: {
std::string InputSourceClientId{};
::obapi::get(r, InputSourceClientId);
::M_Common::AngleDegreesType Azimuth{};
::obapi::get(r, Azimuth);
::M_Common::AngleDegreesType Elevation{};
::obapi::get(r, Elevation);
::M_Mount::MountAngleParamsType AngleParams{};
::obapi::get(r, AngleParams);
r.finish();
h.endpoint->NotifyAngle(InputSourceClientId, Azimuth, Elevation, AngleParams);
return;
}
case 18u: {
std::string InputSourceClientId{};
::obapi::get(r, InputSourceClientId);
::M_Common::PositionType Position{};
::obapi::get(r, Position);
::M_Common::LinearVelocityOptionalType Velocity{};
::obapi::get(r, Velocity);
::M_Common::TimeType Timestamp{};
::obapi::get(r, Timestamp);
::M_Mount::MountAngleParamsType AngleParams{};
::obapi::get(r, AngleParams);
r.finish();
h.endpoint->NotifyTgtAssignment(InputSourceClientId, Position, Velocity, Timestamp, AngleParams);
return;
}
case 19u: {
std::string InputSourceClientId{};
::obapi::get(r, InputSourceClientId);
::M_Common::AngleRateDegreesPerSecType AzimuthRate{};
::obapi::get(r, AzimuthRate);
::M_Common::AngleRateDegreesPerSecType ElevationRate{};
::obapi::get(r, ElevationRate);
r.finish();
h.endpoint->NotifyRateRelative(InputSourceClientId, AzimuthRate, ElevationRate);
return;
}
case 20u: {
std::string InputSourceClientId{};
::obapi::get(r, InputSourceClientId);
::M_Common::AngleRateDegreesPerSecType AzimuthRate{};
::obapi::get(r, AzimuthRate);
::M_Common::AngleRateDegreesPerSecType ElevationRate{};
::obapi::get(r, ElevationRate);
r.finish();
h.endpoint->NotifyRateAbsolute(InputSourceClientId, AzimuthRate, ElevationRate);
return;
}
case 21u: {
std::string InputSourceClientId{};
::obapi::get(r, InputSourceClientId);
::M_Mount::ScaledRateOptionalType ScaledRate{};
::obapi::get(r, ScaledRate);
r.finish();
h.endpoint->NotifyRateScaled(InputSourceClientId, ScaledRate);
return;
}
default: throw ::obapi::UnknownOp(op);
}
}
}
extern "C" const obapi_vtable obapi_Mount_service_vtable = ::obapi::Endpoint<::M_Mount::Service, ServiceCallbacks, &service_send, false>::vtable("M_Mount", "Service");
extern "C" const obapi_vtable obapi_Mount_client_vtable = ::obapi::Endpoint<::M_Mount::Client, ClientCallbacks, &client_send, true>::vtable("M_Mount", "Client");