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
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
// @generated by onboardapi-codegen from the onboardapi .rmodel data model. Do not edit.
// SPDX-License-Identifier: EPL-2.0
#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 M_Mount

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

} // namespace

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