onboardapi-sys 9.10.0

Raw FFI to the Rheinmetall onboardapi C++ SDK through a generated extern "C" shim
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
// @generated by onboardapi-codegen from the onboardapi .rmodel data model. Do not edit.
// SPDX-License-Identifier: EPL-2.0
#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 M_ObjectManager

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);
        }
    }

} // namespace

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");