#include "wire_ObjectManager.hpp"
#include "../obapi_runtime.hpp"
#include <type_traits>
static_assert(static_cast<uint32_t>(::M_ObjectManager::OperatorAcknowledgeKind::Unknown) == 0u, "enum value M_ObjectManager::OperatorAcknowledgeKind::Type::Unknown differs from the data model");
static_assert(static_cast<uint32_t>(::M_ObjectManager::OperatorAcknowledgeKind::NotAcknowledged) == 1u, "enum value M_ObjectManager::OperatorAcknowledgeKind::Type::NotAcknowledged differs from the data model");
static_assert(static_cast<uint32_t>(::M_ObjectManager::OperatorAcknowledgeKind::Acknowledged) == 2u, "enum value M_ObjectManager::OperatorAcknowledgeKind::Type::Acknowledged differs from the data model");
static_assert(static_cast<uint32_t>(::M_ObjectManager::OperatorAcknowledgeKind::Acknowledged_IsNotOfInterest) == 3u, "enum value M_ObjectManager::OperatorAcknowledgeKind::Type::Acknowledged_IsNotOfInterest differs from the data model");
static_assert(static_cast<uint32_t>(::M_ObjectManager::OperatorAcknowledgeKind::Acknowledged_IsOfInterest) == 4u, "enum value M_ObjectManager::OperatorAcknowledgeKind::Type::Acknowledged_IsOfInterest differs from the data model");
static_assert(static_cast<uint32_t>(::M_ObjectManager::OperatorAcknowledgeKind::Escalate) == 5u, "enum value M_ObjectManager::OperatorAcknowledgeKind::Type::Escalate differs from the data model");
static_assert(std::is_same<::M_ObjectManager::OperatorAcknowledgeKindOptionalType, std::vector<::M_ObjectManager::OperatorAcknowledgeKind::Type>>::value, "typedef M_ObjectManager::OperatorAcknowledgeKindOptionalType differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::AssignType::Name), std::string>::value, "M_ObjectManager::AssignType field Name differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::AssignType::UnitName), std::string>::value, "M_ObjectManager::AssignType field UnitName differs from the data model");
static_assert(std::is_same<::M_ObjectManager::AssignListType, std::vector<::M_ObjectManager::AssignType>>::value, "typedef M_ObjectManager::AssignListType differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::FusionInfoType::AssociatedClusteredObjects), std::vector<std::string>>::value, "M_ObjectManager::FusionInfoType field AssociatedClusteredObjects differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::FusionInfoType::ComprisedRawObjects), std::vector<std::string>>::value, "M_ObjectManager::FusionInfoType field ComprisedRawObjects differs from the data model");
static_assert(std::is_same<::M_ObjectManager::FusionInfoOptionalType, std::vector<::M_ObjectManager::FusionInfoType>>::value, "typedef M_ObjectManager::FusionInfoOptionalType differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::OwnInfoType::Position), ::M_Common::PositionType>::value, "M_ObjectManager::OwnInfoType field Position differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::OwnInfoType::Attitude), ::M_Common::AttitudeType>::value, "M_ObjectManager::OwnInfoType field Attitude differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::OwnInfoType::LinearVelocity), std::vector<::M_Common::LinearVelocityType>>::value, "M_ObjectManager::OwnInfoType field LinearVelocity differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::OwnInfoType::AngularVelocity), std::vector<::M_Common::AngularVelocityType>>::value, "M_ObjectManager::OwnInfoType field AngularVelocity differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::OwnInfoType::UnitName), std::string>::value, "M_ObjectManager::OwnInfoType field UnitName differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::OwnInfoType::UnitId), std::vector<std::string>>::value, "M_ObjectManager::OwnInfoType field UnitId differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::SensorRawDetectionType::DetectingSensorName), std::string>::value, "M_ObjectManager::SensorRawDetectionType field DetectingSensorName differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::SensorRawDetectionType::TypeOfDetectingSensor), uint32_t>::value, "M_ObjectManager::SensorRawDetectionType field TypeOfDetectingSensor differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::SensorRawDetectionType::Classification), std::vector<::M_Common::ObjectClassificationType>>::value, "M_ObjectManager::SensorRawDetectionType field Classification differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::SensorRawDetectionType::ObjectPositionList), std::vector<::M_Common::PositionType>>::value, "M_ObjectManager::SensorRawDetectionType field ObjectPositionList differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::SensorRawDetectionType::ObjectVelocityList), std::vector<::M_Common::LinearVelocityType>>::value, "M_ObjectManager::SensorRawDetectionType field ObjectVelocityList differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::SensorRawDetectionType::ObjectDimensions), std::vector<::M_Common::ObjectDimensionsType>>::value, "M_ObjectManager::SensorRawDetectionType field ObjectDimensions differs from the data model");
static_assert(std::is_same<::M_ObjectManager::SensorRawDetectionListType, std::vector<::M_ObjectManager::SensorRawDetectionType>>::value, "typedef M_ObjectManager::SensorRawDetectionListType differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ReportingUnitType::Id), std::string>::value, "M_ObjectManager::ReportingUnitType field Id differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ReportingUnitType::Name), std::string>::value, "M_ObjectManager::ReportingUnitType field Name differs from the data model");
static_assert(std::is_same<::M_ObjectManager::ReportingUnitOptionalType, std::vector<::M_ObjectManager::ReportingUnitType>>::value, "typedef M_ObjectManager::ReportingUnitOptionalType differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::Identity), uint32_t>::value, "M_ObjectManager::PointObjectType field Identity differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::Classification), std::vector<::M_Common::ObjectClassificationType>>::value, "M_ObjectManager::PointObjectType field Classification differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::TypeOfReportingInstance), uint32_t>::value, "M_ObjectManager::PointObjectType field TypeOfReportingInstance differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::ThreatLevel), int32_t>::value, "M_ObjectManager::PointObjectType field ThreatLevel differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::Label), std::string>::value, "M_ObjectManager::PointObjectType field Label differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::Description), std::string>::value, "M_ObjectManager::PointObjectType field Description differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::CreationTime), ::M_Common::TimeType>::value, "M_ObjectManager::PointObjectType field CreationTime differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::LastUpdateTime), ::M_Common::TimeType>::value, "M_ObjectManager::PointObjectType field LastUpdateTime differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::InvariantPositionCoordinateFrame), std::string>::value, "M_ObjectManager::PointObjectType field InvariantPositionCoordinateFrame differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::SourcePosition), ::M_Common::PositionType>::value, "M_ObjectManager::PointObjectType field SourcePosition differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::PositionList), std::vector<::M_Common::PositionType>>::value, "M_ObjectManager::PointObjectType field PositionList differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::SourceVelocity), std::vector<::M_Common::LinearVelocityType>>::value, "M_ObjectManager::PointObjectType field SourceVelocity differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::VelocityList), std::vector<::M_Common::LinearVelocityType>>::value, "M_ObjectManager::PointObjectType field VelocityList differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::ObjectDimensions), std::vector<::M_Common::ObjectDimensionsType>>::value, "M_ObjectManager::PointObjectType field ObjectDimensions differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::ObjectDimensionsExtension), std::vector<::M_Common::ObjectDimensionsType>>::value, "M_ObjectManager::PointObjectType field ObjectDimensionsExtension differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::SensorDetectionList), std::vector<::M_ObjectManager::SensorRawDetectionType>>::value, "M_ObjectManager::PointObjectType field SensorDetectionList differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::FusionInfo), std::vector<::M_ObjectManager::FusionInfoType>>::value, "M_ObjectManager::PointObjectType field FusionInfo differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::AssignedTo), std::vector<::M_ObjectManager::AssignType>>::value, "M_ObjectManager::PointObjectType field AssignedTo differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::ReportingUnit), std::vector<::M_ObjectManager::ReportingUnitType>>::value, "M_ObjectManager::PointObjectType field ReportingUnit differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::AdditionalInfo), std::vector<::M_Common::PropertyType>>::value, "M_ObjectManager::PointObjectType field AdditionalInfo differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::Snapshot), std::vector<::M_Common::ImageType>>::value, "M_ObjectManager::PointObjectType field Snapshot differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::OperatorAcknowledge), ::M_ObjectManager::OperatorAcknowledgeKind::Type>::value, "M_ObjectManager::PointObjectType field OperatorAcknowledge differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::PointObjectType::Relations), std::vector<::M_Common::ObjectRelationType>>::value, "M_ObjectManager::PointObjectType field Relations differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::Identity), uint32_t>::value, "M_ObjectManager::MultiPointObjectType field Identity differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::Classification), std::vector<::M_Common::ObjectClassificationType>>::value, "M_ObjectManager::MultiPointObjectType field Classification differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::TypeOfReportingInstance), uint32_t>::value, "M_ObjectManager::MultiPointObjectType field TypeOfReportingInstance differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::ThreatLevel), int32_t>::value, "M_ObjectManager::MultiPointObjectType field ThreatLevel differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::Label), std::string>::value, "M_ObjectManager::MultiPointObjectType field Label differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::Description), std::string>::value, "M_ObjectManager::MultiPointObjectType field Description differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::CreationTime), ::M_Common::TimeType>::value, "M_ObjectManager::MultiPointObjectType field CreationTime differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::LastUpdateTime), ::M_Common::TimeType>::value, "M_ObjectManager::MultiPointObjectType field LastUpdateTime differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::InvariantPositionCoordinateFrame), std::string>::value, "M_ObjectManager::MultiPointObjectType field InvariantPositionCoordinateFrame differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::SourceMultiPosition), ::M_Common::MultiPositionType>::value, "M_ObjectManager::MultiPointObjectType field SourceMultiPosition differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::MultiPositionList), std::vector<::M_Common::MultiPositionType>>::value, "M_ObjectManager::MultiPointObjectType field MultiPositionList differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::IsClosed), bool>::value, "M_ObjectManager::MultiPointObjectType field IsClosed differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::AssignedTo), std::vector<::M_ObjectManager::AssignType>>::value, "M_ObjectManager::MultiPointObjectType field AssignedTo differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::ReportingUnit), std::vector<::M_ObjectManager::ReportingUnitType>>::value, "M_ObjectManager::MultiPointObjectType field ReportingUnit differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::AdditionalInfo), std::vector<::M_Common::PropertyType>>::value, "M_ObjectManager::MultiPointObjectType field AdditionalInfo differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::Snapshot), std::vector<::M_Common::ImageType>>::value, "M_ObjectManager::MultiPointObjectType field Snapshot differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::OperatorAcknowledge), ::M_ObjectManager::OperatorAcknowledgeKind::Type>::value, "M_ObjectManager::MultiPointObjectType field OperatorAcknowledge differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::MultiPointObjectType::Relations), std::vector<::M_Common::ObjectRelationType>>::value, "M_ObjectManager::MultiPointObjectType field Relations differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::Identity), std::vector<uint32_t>>::value, "M_ObjectManager::ModifyObjectType field Identity differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::Classification), std::vector<::M_Common::ObjectClassificationType>>::value, "M_ObjectManager::ModifyObjectType field Classification differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::ClearClassification), bool>::value, "M_ObjectManager::ModifyObjectType field ClearClassification differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::TypeOfReportingInstance), std::vector<uint32_t>>::value, "M_ObjectManager::ModifyObjectType field TypeOfReportingInstance differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::ThreatLevel), std::vector<int32_t>>::value, "M_ObjectManager::ModifyObjectType field ThreatLevel differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::Description), std::vector<std::string>>::value, "M_ObjectManager::ModifyObjectType field Description differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::InvariantPositionCoordinateFrame), std::vector<std::string>>::value, "M_ObjectManager::ModifyObjectType field InvariantPositionCoordinateFrame differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::ReportingUnit), std::vector<::M_ObjectManager::ReportingUnitType>>::value, "M_ObjectManager::ModifyObjectType field ReportingUnit differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::ClearReportingUnit), bool>::value, "M_ObjectManager::ModifyObjectType field ClearReportingUnit differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::AssignedTo), std::vector<::M_ObjectManager::AssignType>>::value, "M_ObjectManager::ModifyObjectType field AssignedTo differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::ClearAssignedTo), bool>::value, "M_ObjectManager::ModifyObjectType field ClearAssignedTo differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::AdditionalInfo), std::vector<::M_Common::PropertyType>>::value, "M_ObjectManager::ModifyObjectType field AdditionalInfo differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::Snapshot), std::vector<::M_Common::ImageType>>::value, "M_ObjectManager::ModifyObjectType field Snapshot differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyObjectType::OperatorAcknowledge), std::vector<::M_ObjectManager::OperatorAcknowledgeKind::Type>>::value, "M_ObjectManager::ModifyObjectType field OperatorAcknowledge differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyPointType::Data), ::M_ObjectManager::ModifyObjectType>::value, "M_ObjectManager::ModifyPointType field Data differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyPointType::SourcePosition), std::vector<::M_Common::PositionType>>::value, "M_ObjectManager::ModifyPointType field SourcePosition differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyPointType::SourceVelocity), std::vector<::M_Common::LinearVelocityType>>::value, "M_ObjectManager::ModifyPointType field SourceVelocity differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyPointType::ClearSourceVelocity), bool>::value, "M_ObjectManager::ModifyPointType field ClearSourceVelocity differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyPointType::ObjectDimensions), std::vector<::M_Common::ObjectDimensionsType>>::value, "M_ObjectManager::ModifyPointType field ObjectDimensions differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyPointType::ClearObjectDimensions), bool>::value, "M_ObjectManager::ModifyPointType field ClearObjectDimensions differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyMultiPointType::Data), ::M_ObjectManager::ModifyObjectType>::value, "M_ObjectManager::ModifyMultiPointType field Data differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyMultiPointType::SourceMultiPosition), std::vector<::M_Common::MultiPositionType>>::value, "M_ObjectManager::ModifyMultiPointType field SourceMultiPosition differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ModifyMultiPointType::IsClosed), std::vector<bool>>::value, "M_ObjectManager::ModifyMultiPointType field IsClosed differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ChangeEventTriggerType::Identity), uint32_t>::value, "M_ObjectManager::ChangeEventTriggerType field Identity differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ChangeEventTriggerType::Classification), std::vector<::M_Common::ObjectClassificationType>>::value, "M_ObjectManager::ChangeEventTriggerType field Classification differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ChangeEventTriggerType::ThreatLevel), int32_t>::value, "M_ObjectManager::ChangeEventTriggerType field ThreatLevel differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ChangeEventTriggerType::AssignedTo), std::vector<::M_ObjectManager::AssignType>>::value, "M_ObjectManager::ChangeEventTriggerType field AssignedTo differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ParameterDifferenceType::OldData), ::M_ObjectManager::ChangeEventTriggerType>::value, "M_ObjectManager::ParameterDifferenceType field OldData differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ParameterDifferenceType::NewData), ::M_ObjectManager::ChangeEventTriggerType>::value, "M_ObjectManager::ParameterDifferenceType field NewData differs from the data model");
static_assert(std::is_same<decltype(::M_ObjectManager::ObjectManagerSettingsType::AdditionalInfo), std::vector<::M_Common::PropertyType>>::value, "M_ObjectManager::ObjectManagerSettingsType field AdditionalInfo differs from the data model");
namespace M_ObjectManager {
void obapi_put(::obapi::Writer& w, AssignType const& v) {
::obapi::put(w, v.Name);
::obapi::put(w, v.UnitName);
}
void obapi_get(::obapi::Reader& r, AssignType& v) {
::obapi::get(r, v.Name);
::obapi::get(r, v.UnitName);
}
void obapi_put(::obapi::Writer& w, FusionInfoType const& v) {
::obapi::put(w, v.AssociatedClusteredObjects);
::obapi::put(w, v.ComprisedRawObjects);
}
void obapi_get(::obapi::Reader& r, FusionInfoType& v) {
::obapi::get(r, v.AssociatedClusteredObjects);
::obapi::get(r, v.ComprisedRawObjects);
}
void obapi_put(::obapi::Writer& w, OwnInfoType const& v) {
::obapi::put(w, v.Position);
::obapi::put(w, v.Attitude);
::obapi::put(w, v.LinearVelocity);
::obapi::put(w, v.AngularVelocity);
::obapi::put(w, v.UnitName);
::obapi::put(w, v.UnitId);
}
void obapi_get(::obapi::Reader& r, OwnInfoType& v) {
::obapi::get(r, v.Position);
::obapi::get(r, v.Attitude);
::obapi::get(r, v.LinearVelocity);
::obapi::get(r, v.AngularVelocity);
::obapi::get(r, v.UnitName);
::obapi::get(r, v.UnitId);
}
void obapi_put(::obapi::Writer& w, SensorRawDetectionType const& v) {
::obapi::put(w, v.DetectingSensorName);
::obapi::put(w, v.TypeOfDetectingSensor);
::obapi::put(w, v.Classification);
::obapi::put(w, v.ObjectPositionList);
::obapi::put(w, v.ObjectVelocityList);
::obapi::put(w, v.ObjectDimensions);
}
void obapi_get(::obapi::Reader& r, SensorRawDetectionType& v) {
::obapi::get(r, v.DetectingSensorName);
::obapi::get(r, v.TypeOfDetectingSensor);
::obapi::get(r, v.Classification);
::obapi::get(r, v.ObjectPositionList);
::obapi::get(r, v.ObjectVelocityList);
::obapi::get(r, v.ObjectDimensions);
}
void obapi_put(::obapi::Writer& w, ReportingUnitType const& v) {
::obapi::put(w, v.Id);
::obapi::put(w, v.Name);
}
void obapi_get(::obapi::Reader& r, ReportingUnitType& v) {
::obapi::get(r, v.Id);
::obapi::get(r, v.Name);
}
void obapi_put(::obapi::Writer& w, PointObjectType const& v) {
::obapi::put(w, v.Identity);
::obapi::put(w, v.Classification);
::obapi::put(w, v.TypeOfReportingInstance);
::obapi::put(w, v.ThreatLevel);
::obapi::put(w, v.Label);
::obapi::put(w, v.Description);
::obapi::put(w, v.CreationTime);
::obapi::put(w, v.LastUpdateTime);
::obapi::put(w, v.InvariantPositionCoordinateFrame);
::obapi::put(w, v.SourcePosition);
::obapi::put(w, v.PositionList);
::obapi::put(w, v.SourceVelocity);
::obapi::put(w, v.VelocityList);
::obapi::put(w, v.ObjectDimensions);
::obapi::put(w, v.ObjectDimensionsExtension);
::obapi::put(w, v.SensorDetectionList);
::obapi::put(w, v.FusionInfo);
::obapi::put(w, v.AssignedTo);
::obapi::put(w, v.ReportingUnit);
::obapi::put(w, v.AdditionalInfo);
::obapi::put(w, v.Snapshot);
::obapi::put(w, v.OperatorAcknowledge);
::obapi::put(w, v.Relations);
}
void obapi_get(::obapi::Reader& r, PointObjectType& v) {
::obapi::get(r, v.Identity);
::obapi::get(r, v.Classification);
::obapi::get(r, v.TypeOfReportingInstance);
::obapi::get(r, v.ThreatLevel);
::obapi::get(r, v.Label);
::obapi::get(r, v.Description);
::obapi::get(r, v.CreationTime);
::obapi::get(r, v.LastUpdateTime);
::obapi::get(r, v.InvariantPositionCoordinateFrame);
::obapi::get(r, v.SourcePosition);
::obapi::get(r, v.PositionList);
::obapi::get(r, v.SourceVelocity);
::obapi::get(r, v.VelocityList);
::obapi::get(r, v.ObjectDimensions);
::obapi::get(r, v.ObjectDimensionsExtension);
::obapi::get(r, v.SensorDetectionList);
::obapi::get(r, v.FusionInfo);
::obapi::get(r, v.AssignedTo);
::obapi::get(r, v.ReportingUnit);
::obapi::get(r, v.AdditionalInfo);
::obapi::get(r, v.Snapshot);
::obapi::get(r, v.OperatorAcknowledge);
::obapi::get(r, v.Relations);
}
void obapi_put(::obapi::Writer& w, MultiPointObjectType const& v) {
::obapi::put(w, v.Identity);
::obapi::put(w, v.Classification);
::obapi::put(w, v.TypeOfReportingInstance);
::obapi::put(w, v.ThreatLevel);
::obapi::put(w, v.Label);
::obapi::put(w, v.Description);
::obapi::put(w, v.CreationTime);
::obapi::put(w, v.LastUpdateTime);
::obapi::put(w, v.InvariantPositionCoordinateFrame);
::obapi::put(w, v.SourceMultiPosition);
::obapi::put(w, v.MultiPositionList);
::obapi::put(w, v.IsClosed);
::obapi::put(w, v.AssignedTo);
::obapi::put(w, v.ReportingUnit);
::obapi::put(w, v.AdditionalInfo);
::obapi::put(w, v.Snapshot);
::obapi::put(w, v.OperatorAcknowledge);
::obapi::put(w, v.Relations);
}
void obapi_get(::obapi::Reader& r, MultiPointObjectType& v) {
::obapi::get(r, v.Identity);
::obapi::get(r, v.Classification);
::obapi::get(r, v.TypeOfReportingInstance);
::obapi::get(r, v.ThreatLevel);
::obapi::get(r, v.Label);
::obapi::get(r, v.Description);
::obapi::get(r, v.CreationTime);
::obapi::get(r, v.LastUpdateTime);
::obapi::get(r, v.InvariantPositionCoordinateFrame);
::obapi::get(r, v.SourceMultiPosition);
::obapi::get(r, v.MultiPositionList);
::obapi::get(r, v.IsClosed);
::obapi::get(r, v.AssignedTo);
::obapi::get(r, v.ReportingUnit);
::obapi::get(r, v.AdditionalInfo);
::obapi::get(r, v.Snapshot);
::obapi::get(r, v.OperatorAcknowledge);
::obapi::get(r, v.Relations);
}
void obapi_put(::obapi::Writer& w, ModifyObjectType const& v) {
::obapi::put(w, v.Identity);
::obapi::put(w, v.Classification);
::obapi::put(w, v.ClearClassification);
::obapi::put(w, v.TypeOfReportingInstance);
::obapi::put(w, v.ThreatLevel);
::obapi::put(w, v.Description);
::obapi::put(w, v.InvariantPositionCoordinateFrame);
::obapi::put(w, v.ReportingUnit);
::obapi::put(w, v.ClearReportingUnit);
::obapi::put(w, v.AssignedTo);
::obapi::put(w, v.ClearAssignedTo);
::obapi::put(w, v.AdditionalInfo);
::obapi::put(w, v.Snapshot);
::obapi::put(w, v.OperatorAcknowledge);
}
void obapi_get(::obapi::Reader& r, ModifyObjectType& v) {
::obapi::get(r, v.Identity);
::obapi::get(r, v.Classification);
::obapi::get(r, v.ClearClassification);
::obapi::get(r, v.TypeOfReportingInstance);
::obapi::get(r, v.ThreatLevel);
::obapi::get(r, v.Description);
::obapi::get(r, v.InvariantPositionCoordinateFrame);
::obapi::get(r, v.ReportingUnit);
::obapi::get(r, v.ClearReportingUnit);
::obapi::get(r, v.AssignedTo);
::obapi::get(r, v.ClearAssignedTo);
::obapi::get(r, v.AdditionalInfo);
::obapi::get(r, v.Snapshot);
::obapi::get(r, v.OperatorAcknowledge);
}
void obapi_put(::obapi::Writer& w, ModifyPointType const& v) {
::obapi::put(w, v.Data);
::obapi::put(w, v.SourcePosition);
::obapi::put(w, v.SourceVelocity);
::obapi::put(w, v.ClearSourceVelocity);
::obapi::put(w, v.ObjectDimensions);
::obapi::put(w, v.ClearObjectDimensions);
}
void obapi_get(::obapi::Reader& r, ModifyPointType& v) {
::obapi::get(r, v.Data);
::obapi::get(r, v.SourcePosition);
::obapi::get(r, v.SourceVelocity);
::obapi::get(r, v.ClearSourceVelocity);
::obapi::get(r, v.ObjectDimensions);
::obapi::get(r, v.ClearObjectDimensions);
}
void obapi_put(::obapi::Writer& w, ModifyMultiPointType const& v) {
::obapi::put(w, v.Data);
::obapi::put(w, v.SourceMultiPosition);
::obapi::put(w, v.IsClosed);
}
void obapi_get(::obapi::Reader& r, ModifyMultiPointType& v) {
::obapi::get(r, v.Data);
::obapi::get(r, v.SourceMultiPosition);
::obapi::get(r, v.IsClosed);
}
void obapi_put(::obapi::Writer& w, ChangeEventTriggerType const& v) {
::obapi::put(w, v.Identity);
::obapi::put(w, v.Classification);
::obapi::put(w, v.ThreatLevel);
::obapi::put(w, v.AssignedTo);
}
void obapi_get(::obapi::Reader& r, ChangeEventTriggerType& v) {
::obapi::get(r, v.Identity);
::obapi::get(r, v.Classification);
::obapi::get(r, v.ThreatLevel);
::obapi::get(r, v.AssignedTo);
}
void obapi_put(::obapi::Writer& w, ParameterDifferenceType const& v) {
::obapi::put(w, v.OldData);
::obapi::put(w, v.NewData);
}
void obapi_get(::obapi::Reader& r, ParameterDifferenceType& v) {
::obapi::get(r, v.OldData);
::obapi::get(r, v.NewData);
}
void obapi_put(::obapi::Writer& w, ObjectManagerSettingsType const& v) {
::obapi::put(w, v.AdditionalInfo);
}
void obapi_get(::obapi::Reader& r, ObjectManagerSettingsType& v) {
::obapi::get(r, v.AdditionalInfo);
}
}
namespace {
struct ServiceCallbacks final : ::M_ObjectManager::IService {
::obapi::Dispatcher dispatcher;
void RequestPosition(::M_Common::ObjectIdType const& PosId, ::M_Common::PositionType const& SourcePosition, std::string const& TargetCoordinateFrame) override {
::obapi::Writer w;
::obapi::put(w, PosId);
::obapi::put(w, SourcePosition);
::obapi::put(w, TargetCoordinateFrame);
dispatcher.dispatch(0u, w);
}
void CmdAddUpdatePoint(::M_Common::ObjectIdType const& KeyId, ::M_ObjectManager::PointObjectType const& Obj) override {
::obapi::Writer w;
::obapi::put(w, KeyId);
::obapi::put(w, Obj);
dispatcher.dispatch(1u, w);
}
void CmdModifyPoint(::M_Common::ObjectIdType const& KeyId, ::M_ObjectManager::ModifyPointType const& Obj) override {
::obapi::Writer w;
::obapi::put(w, KeyId);
::obapi::put(w, Obj);
dispatcher.dispatch(2u, w);
}
void CmdAddUpdateMultiPoint(::M_Common::ObjectIdType const& KeyId, ::M_ObjectManager::MultiPointObjectType const& Obj) override {
::obapi::Writer w;
::obapi::put(w, KeyId);
::obapi::put(w, Obj);
dispatcher.dispatch(3u, w);
}
void CmdModifyMultiPoint(::M_Common::ObjectIdType const& KeyId, ::M_ObjectManager::ModifyMultiPointType const& Obj) override {
::obapi::Writer w;
::obapi::put(w, KeyId);
::obapi::put(w, Obj);
dispatcher.dispatch(4u, w);
}
void CmdRemove(::M_Common::ObjectIdType const& KeyId) override {
::obapi::Writer w;
::obapi::put(w, KeyId);
dispatcher.dispatch(5u, w);
}
};
struct ClientCallbacks final : ::M_ObjectManager::IClient {
::obapi::Dispatcher dispatcher;
void ReportObjectManagerSettings(::M_ObjectManager::ObjectManagerSettingsType const& Settings) override {
::obapi::Writer w;
::obapi::put(w, Settings);
dispatcher.dispatch(0u, w);
}
void ResponsePosition(::M_Common::ObjectIdType const& PosId, ::M_Common::PositionType const& TargetPosition) override {
::obapi::Writer w;
::obapi::put(w, PosId);
::obapi::put(w, TargetPosition);
dispatcher.dispatch(1u, w);
}
void ReportOwnInfo(std::string const& KeyPlatformId, ::M_ObjectManager::OwnInfoType const& Obj, bool IsRemoved) override {
::obapi::Writer w;
::obapi::put(w, KeyPlatformId);
::obapi::put(w, Obj);
::obapi::put(w, IsRemoved);
dispatcher.dispatch(2u, w);
}
void ReportPoint(::M_Common::ObjectIdType const& KeyId, ::M_ObjectManager::PointObjectType const& Obj, bool IsRemoved) override {
::obapi::Writer w;
::obapi::put(w, KeyId);
::obapi::put(w, Obj);
::obapi::put(w, IsRemoved);
dispatcher.dispatch(3u, w);
}
void ReportMultiPoint(::M_Common::ObjectIdType const& KeyId, ::M_ObjectManager::MultiPointObjectType const& Obj, bool IsRemoved) override {
::obapi::Writer w;
::obapi::put(w, KeyId);
::obapi::put(w, Obj);
::obapi::put(w, IsRemoved);
dispatcher.dispatch(4u, w);
}
void ReportCoordinateTransformations(::M_Common::CoordinateTransformationListType const& CoordinateTransformationList, bool IsRemoved) override {
::obapi::Writer w;
::obapi::put(w, CoordinateTransformationList);
::obapi::put(w, IsRemoved);
dispatcher.dispatch(5u, w);
}
void EventObjectChanged(::M_Common::ObjectIdType const& KeyId, ::M_ObjectManager::ParameterDifferenceType const& Difference) override {
::obapi::Writer w;
::obapi::put(w, KeyId);
::obapi::put(w, Difference);
dispatcher.dispatch(6u, w);
}
};
void service_send(::obapi::Holder<::M_ObjectManager::Service, ServiceCallbacks>& h, uint32_t op, ::obapi::Reader& r) {
switch (op) {
case 0u: {
::M_ObjectManager::ObjectManagerSettingsType Settings{};
::obapi::get(r, Settings);
r.finish();
h.endpoint->ReportObjectManagerSettings(Settings);
return;
}
case 1u: {
::M_Common::ObjectIdType PosId{};
::obapi::get(r, PosId);
::M_Common::PositionType TargetPosition{};
::obapi::get(r, TargetPosition);
r.finish();
h.endpoint->ResponsePosition(PosId, TargetPosition);
return;
}
case 2u: {
std::string KeyPlatformId{};
::obapi::get(r, KeyPlatformId);
::M_ObjectManager::OwnInfoType Obj{};
::obapi::get(r, Obj);
bool IsRemoved{};
::obapi::get(r, IsRemoved);
r.finish();
h.endpoint->ReportOwnInfo(KeyPlatformId, Obj, IsRemoved);
return;
}
case 3u: {
::M_Common::ObjectIdType KeyId{};
::obapi::get(r, KeyId);
::M_ObjectManager::PointObjectType Obj{};
::obapi::get(r, Obj);
bool IsRemoved{};
::obapi::get(r, IsRemoved);
r.finish();
h.endpoint->ReportPoint(KeyId, Obj, IsRemoved);
return;
}
case 4u: {
::M_Common::ObjectIdType KeyId{};
::obapi::get(r, KeyId);
::M_ObjectManager::MultiPointObjectType Obj{};
::obapi::get(r, Obj);
bool IsRemoved{};
::obapi::get(r, IsRemoved);
r.finish();
h.endpoint->ReportMultiPoint(KeyId, Obj, IsRemoved);
return;
}
case 5u: {
::M_Common::CoordinateTransformationListType CoordinateTransformationList{};
::obapi::get(r, CoordinateTransformationList);
bool IsRemoved{};
::obapi::get(r, IsRemoved);
r.finish();
h.endpoint->ReportCoordinateTransformations(CoordinateTransformationList, IsRemoved);
return;
}
case 6u: {
::M_Common::ObjectIdType KeyId{};
::obapi::get(r, KeyId);
::M_ObjectManager::ParameterDifferenceType Difference{};
::obapi::get(r, Difference);
r.finish();
h.endpoint->EventObjectChanged(KeyId, Difference);
return;
}
default: throw ::obapi::UnknownOp(op);
}
}
void client_send(::obapi::Holder<::M_ObjectManager::Client, ClientCallbacks>& h, uint32_t op, ::obapi::Reader& r) {
switch (op) {
case 0u: {
::M_Common::ObjectIdType PosId{};
::obapi::get(r, PosId);
::M_Common::PositionType SourcePosition{};
::obapi::get(r, SourcePosition);
std::string TargetCoordinateFrame{};
::obapi::get(r, TargetCoordinateFrame);
r.finish();
h.endpoint->RequestPosition(PosId, SourcePosition, TargetCoordinateFrame);
return;
}
case 1u: {
::M_Common::ObjectIdType KeyId{};
::obapi::get(r, KeyId);
::M_ObjectManager::PointObjectType Obj{};
::obapi::get(r, Obj);
r.finish();
h.endpoint->CmdAddUpdatePoint(KeyId, Obj);
return;
}
case 2u: {
::M_Common::ObjectIdType KeyId{};
::obapi::get(r, KeyId);
::M_ObjectManager::ModifyPointType Obj{};
::obapi::get(r, Obj);
r.finish();
h.endpoint->CmdModifyPoint(KeyId, Obj);
return;
}
case 3u: {
::M_Common::ObjectIdType KeyId{};
::obapi::get(r, KeyId);
::M_ObjectManager::MultiPointObjectType Obj{};
::obapi::get(r, Obj);
r.finish();
h.endpoint->CmdAddUpdateMultiPoint(KeyId, Obj);
return;
}
case 4u: {
::M_Common::ObjectIdType KeyId{};
::obapi::get(r, KeyId);
::M_ObjectManager::ModifyMultiPointType Obj{};
::obapi::get(r, Obj);
r.finish();
h.endpoint->CmdModifyMultiPoint(KeyId, Obj);
return;
}
case 5u: {
::M_Common::ObjectIdType KeyId{};
::obapi::get(r, KeyId);
r.finish();
h.endpoint->CmdRemove(KeyId);
return;
}
default: throw ::obapi::UnknownOp(op);
}
}
}
extern "C" const obapi_vtable obapi_ObjectManager_service_vtable = ::obapi::Endpoint<::M_ObjectManager::Service, ServiceCallbacks, &service_send, false>::vtable("M_ObjectManager", "Service");
extern "C" const obapi_vtable obapi_ObjectManager_client_vtable = ::obapi::Endpoint<::M_ObjectManager::Client, ClientCallbacks, &client_send, true>::vtable("M_ObjectManager", "Client");