File size: 58,649 Bytes
053b80b |
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 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: InterconnectCyclicMessage.proto
#ifndef PROTOBUF_InterconnectCyclicMessage_2eproto__INCLUDED
#define PROTOBUF_InterconnectCyclicMessage_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3005000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
#include "Common.pb.h" // IWYU pragma: export
#include "GripperCyclicMessage.pb.h" // IWYU pragma: export
// @@protoc_insertion_point(includes)
namespace protobuf_InterconnectCyclicMessage_2eproto {
// Internal implementation detail -- do not use these members.
struct TableStruct {
static const ::google::protobuf::internal::ParseTableField entries[];
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
static const ::google::protobuf::internal::ParseTable schema[4];
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
static const ::google::protobuf::internal::SerializationTable serialization_table[];
static const ::google::protobuf::uint32 offsets[];
};
void AddDescriptors();
void InitDefaultsMessageIdImpl();
void InitDefaultsMessageId();
void InitDefaultsCommandImpl();
void InitDefaultsCommand();
void InitDefaultsFeedbackImpl();
void InitDefaultsFeedback();
void InitDefaultsCustomDataImpl();
void InitDefaultsCustomData();
inline void InitDefaults() {
InitDefaultsMessageId();
InitDefaultsCommand();
InitDefaultsFeedback();
InitDefaultsCustomData();
}
} // namespace protobuf_InterconnectCyclicMessage_2eproto
namespace Kinova {
namespace Api {
namespace InterconnectCyclic {
class Command;
class CommandDefaultTypeInternal;
extern CommandDefaultTypeInternal _Command_default_instance_;
class CustomData;
class CustomDataDefaultTypeInternal;
extern CustomDataDefaultTypeInternal _CustomData_default_instance_;
class Feedback;
class FeedbackDefaultTypeInternal;
extern FeedbackDefaultTypeInternal _Feedback_default_instance_;
class MessageId;
class MessageIdDefaultTypeInternal;
extern MessageIdDefaultTypeInternal _MessageId_default_instance_;
} // namespace InterconnectCyclic
} // namespace Api
} // namespace Kinova
namespace Kinova {
namespace Api {
namespace InterconnectCyclic {
// ===================================================================
class MessageId : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Kinova.Api.InterconnectCyclic.MessageId) */ {
public:
MessageId();
virtual ~MessageId();
MessageId(const MessageId& from);
inline MessageId& operator=(const MessageId& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
MessageId(MessageId&& from) noexcept
: MessageId() {
*this = ::std::move(from);
}
inline MessageId& operator=(MessageId&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor();
static const MessageId& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const MessageId* internal_default_instance() {
return reinterpret_cast<const MessageId*>(
&_MessageId_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
0;
void Swap(MessageId* other);
friend void swap(MessageId& a, MessageId& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline MessageId* New() const PROTOBUF_FINAL { return New(NULL); }
MessageId* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const MessageId& from);
void MergeFrom(const MessageId& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(MessageId* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// fixed32 identifier = 1;
void clear_identifier();
static const int kIdentifierFieldNumber = 1;
::google::protobuf::uint32 identifier() const;
void set_identifier(::google::protobuf::uint32 value);
// @@protoc_insertion_point(class_scope:Kinova.Api.InterconnectCyclic.MessageId)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::uint32 identifier_;
mutable int _cached_size_;
friend struct ::protobuf_InterconnectCyclicMessage_2eproto::TableStruct;
friend void ::protobuf_InterconnectCyclicMessage_2eproto::InitDefaultsMessageIdImpl();
};
// -------------------------------------------------------------------
class Command : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Kinova.Api.InterconnectCyclic.Command) */ {
public:
Command();
virtual ~Command();
Command(const Command& from);
inline Command& operator=(const Command& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
Command(Command&& from) noexcept
: Command() {
*this = ::std::move(from);
}
inline Command& operator=(Command&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor();
static const Command& default_instance();
enum ToolCommandCase {
kGripperCommand = 3,
TOOL_COMMAND_NOT_SET = 0,
};
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Command* internal_default_instance() {
return reinterpret_cast<const Command*>(
&_Command_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1;
void Swap(Command* other);
friend void swap(Command& a, Command& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline Command* New() const PROTOBUF_FINAL { return New(NULL); }
Command* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const Command& from);
void MergeFrom(const Command& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(Command* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// .Kinova.Api.InterconnectCyclic.MessageId command_id = 1;
bool has_command_id() const;
void clear_command_id();
static const int kCommandIdFieldNumber = 1;
const ::Kinova::Api::InterconnectCyclic::MessageId& command_id() const;
::Kinova::Api::InterconnectCyclic::MessageId* release_command_id();
::Kinova::Api::InterconnectCyclic::MessageId* mutable_command_id();
void set_allocated_command_id(::Kinova::Api::InterconnectCyclic::MessageId* command_id);
// fixed32 flags = 2;
void clear_flags();
static const int kFlagsFieldNumber = 2;
::google::protobuf::uint32 flags() const;
void set_flags(::google::protobuf::uint32 value);
// .Kinova.Api.GripperCyclic.Command gripper_command = 3;
bool has_gripper_command() const;
void clear_gripper_command();
static const int kGripperCommandFieldNumber = 3;
const ::Kinova::Api::GripperCyclic::Command& gripper_command() const;
::Kinova::Api::GripperCyclic::Command* release_gripper_command();
::Kinova::Api::GripperCyclic::Command* mutable_gripper_command();
void set_allocated_gripper_command(::Kinova::Api::GripperCyclic::Command* gripper_command);
ToolCommandCase tool_command_case() const;
// @@protoc_insertion_point(class_scope:Kinova.Api.InterconnectCyclic.Command)
private:
void set_has_gripper_command();
inline bool has_tool_command() const;
void clear_tool_command();
inline void clear_has_tool_command();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::Kinova::Api::InterconnectCyclic::MessageId* command_id_;
::google::protobuf::uint32 flags_;
union ToolCommandUnion {
ToolCommandUnion() {}
::Kinova::Api::GripperCyclic::Command* gripper_command_;
} tool_command_;
mutable int _cached_size_;
::google::protobuf::uint32 _oneof_case_[1];
friend struct ::protobuf_InterconnectCyclicMessage_2eproto::TableStruct;
friend void ::protobuf_InterconnectCyclicMessage_2eproto::InitDefaultsCommandImpl();
};
// -------------------------------------------------------------------
class Feedback : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Kinova.Api.InterconnectCyclic.Feedback) */ {
public:
Feedback();
virtual ~Feedback();
Feedback(const Feedback& from);
inline Feedback& operator=(const Feedback& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
Feedback(Feedback&& from) noexcept
: Feedback() {
*this = ::std::move(from);
}
inline Feedback& operator=(Feedback&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor();
static const Feedback& default_instance();
enum ToolFeedbackCase {
kGripperFeedback = 18,
TOOL_FEEDBACK_NOT_SET = 0,
};
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Feedback* internal_default_instance() {
return reinterpret_cast<const Feedback*>(
&_Feedback_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2;
void Swap(Feedback* other);
friend void swap(Feedback& a, Feedback& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline Feedback* New() const PROTOBUF_FINAL { return New(NULL); }
Feedback* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const Feedback& from);
void MergeFrom(const Feedback& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(Feedback* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// .Kinova.Api.InterconnectCyclic.MessageId feedback_id = 1;
bool has_feedback_id() const;
void clear_feedback_id();
static const int kFeedbackIdFieldNumber = 1;
const ::Kinova::Api::InterconnectCyclic::MessageId& feedback_id() const;
::Kinova::Api::InterconnectCyclic::MessageId* release_feedback_id();
::Kinova::Api::InterconnectCyclic::MessageId* mutable_feedback_id();
void set_allocated_feedback_id(::Kinova::Api::InterconnectCyclic::MessageId* feedback_id);
// fixed32 status_flags = 2;
void clear_status_flags();
static const int kStatusFlagsFieldNumber = 2;
::google::protobuf::uint32 status_flags() const;
void set_status_flags(::google::protobuf::uint32 value);
// fixed32 jitter_comm = 3;
void clear_jitter_comm();
static const int kJitterCommFieldNumber = 3;
::google::protobuf::uint32 jitter_comm() const;
void set_jitter_comm(::google::protobuf::uint32 value);
// float imu_acceleration_x = 4;
void clear_imu_acceleration_x();
static const int kImuAccelerationXFieldNumber = 4;
float imu_acceleration_x() const;
void set_imu_acceleration_x(float value);
// float imu_acceleration_y = 5;
void clear_imu_acceleration_y();
static const int kImuAccelerationYFieldNumber = 5;
float imu_acceleration_y() const;
void set_imu_acceleration_y(float value);
// float imu_acceleration_z = 6;
void clear_imu_acceleration_z();
static const int kImuAccelerationZFieldNumber = 6;
float imu_acceleration_z() const;
void set_imu_acceleration_z(float value);
// float imu_angular_velocity_x = 7;
void clear_imu_angular_velocity_x();
static const int kImuAngularVelocityXFieldNumber = 7;
float imu_angular_velocity_x() const;
void set_imu_angular_velocity_x(float value);
// float imu_angular_velocity_y = 8;
void clear_imu_angular_velocity_y();
static const int kImuAngularVelocityYFieldNumber = 8;
float imu_angular_velocity_y() const;
void set_imu_angular_velocity_y(float value);
// float imu_angular_velocity_z = 9;
void clear_imu_angular_velocity_z();
static const int kImuAngularVelocityZFieldNumber = 9;
float imu_angular_velocity_z() const;
void set_imu_angular_velocity_z(float value);
// float voltage = 10;
void clear_voltage();
static const int kVoltageFieldNumber = 10;
float voltage() const;
void set_voltage(float value);
// float temperature_core = 11;
void clear_temperature_core();
static const int kTemperatureCoreFieldNumber = 11;
float temperature_core() const;
void set_temperature_core(float value);
// fixed32 fault_bank_a = 12;
void clear_fault_bank_a();
static const int kFaultBankAFieldNumber = 12;
::google::protobuf::uint32 fault_bank_a() const;
void set_fault_bank_a(::google::protobuf::uint32 value);
// fixed32 fault_bank_b = 13;
void clear_fault_bank_b();
static const int kFaultBankBFieldNumber = 13;
::google::protobuf::uint32 fault_bank_b() const;
void set_fault_bank_b(::google::protobuf::uint32 value);
// fixed32 warning_bank_a = 14;
void clear_warning_bank_a();
static const int kWarningBankAFieldNumber = 14;
::google::protobuf::uint32 warning_bank_a() const;
void set_warning_bank_a(::google::protobuf::uint32 value);
// fixed32 warning_bank_b = 15;
void clear_warning_bank_b();
static const int kWarningBankBFieldNumber = 15;
::google::protobuf::uint32 warning_bank_b() const;
void set_warning_bank_b(::google::protobuf::uint32 value);
// .Kinova.Api.GripperCyclic.Feedback gripper_feedback = 18;
bool has_gripper_feedback() const;
void clear_gripper_feedback();
static const int kGripperFeedbackFieldNumber = 18;
const ::Kinova::Api::GripperCyclic::Feedback& gripper_feedback() const;
::Kinova::Api::GripperCyclic::Feedback* release_gripper_feedback();
::Kinova::Api::GripperCyclic::Feedback* mutable_gripper_feedback();
void set_allocated_gripper_feedback(::Kinova::Api::GripperCyclic::Feedback* gripper_feedback);
ToolFeedbackCase tool_feedback_case() const;
// @@protoc_insertion_point(class_scope:Kinova.Api.InterconnectCyclic.Feedback)
private:
void set_has_gripper_feedback();
inline bool has_tool_feedback() const;
void clear_tool_feedback();
inline void clear_has_tool_feedback();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::Kinova::Api::InterconnectCyclic::MessageId* feedback_id_;
::google::protobuf::uint32 status_flags_;
::google::protobuf::uint32 jitter_comm_;
float imu_acceleration_x_;
float imu_acceleration_y_;
float imu_acceleration_z_;
float imu_angular_velocity_x_;
float imu_angular_velocity_y_;
float imu_angular_velocity_z_;
float voltage_;
float temperature_core_;
::google::protobuf::uint32 fault_bank_a_;
::google::protobuf::uint32 fault_bank_b_;
::google::protobuf::uint32 warning_bank_a_;
::google::protobuf::uint32 warning_bank_b_;
union ToolFeedbackUnion {
ToolFeedbackUnion() {}
::Kinova::Api::GripperCyclic::Feedback* gripper_feedback_;
} tool_feedback_;
mutable int _cached_size_;
::google::protobuf::uint32 _oneof_case_[1];
friend struct ::protobuf_InterconnectCyclicMessage_2eproto::TableStruct;
friend void ::protobuf_InterconnectCyclicMessage_2eproto::InitDefaultsFeedbackImpl();
};
// -------------------------------------------------------------------
class CustomData : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Kinova.Api.InterconnectCyclic.CustomData) */ {
public:
CustomData();
virtual ~CustomData();
CustomData(const CustomData& from);
inline CustomData& operator=(const CustomData& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
CustomData(CustomData&& from) noexcept
: CustomData() {
*this = ::std::move(from);
}
inline CustomData& operator=(CustomData&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
static const ::google::protobuf::Descriptor* descriptor();
static const CustomData& default_instance();
enum ToolCustomDataCase {
kGripperCustomData = 18,
TOOL_CUSTOMDATA_NOT_SET = 0,
};
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const CustomData* internal_default_instance() {
return reinterpret_cast<const CustomData*>(
&_CustomData_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3;
void Swap(CustomData* other);
friend void swap(CustomData& a, CustomData& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline CustomData* New() const PROTOBUF_FINAL { return New(NULL); }
CustomData* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const CustomData& from);
void MergeFrom(const CustomData& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(CustomData* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// .Kinova.Api.InterconnectCyclic.MessageId custom_data_id = 1;
bool has_custom_data_id() const;
void clear_custom_data_id();
static const int kCustomDataIdFieldNumber = 1;
const ::Kinova::Api::InterconnectCyclic::MessageId& custom_data_id() const;
::Kinova::Api::InterconnectCyclic::MessageId* release_custom_data_id();
::Kinova::Api::InterconnectCyclic::MessageId* mutable_custom_data_id();
void set_allocated_custom_data_id(::Kinova::Api::InterconnectCyclic::MessageId* custom_data_id);
// fixed32 custom_data_0 = 2;
void clear_custom_data_0();
static const int kCustomData0FieldNumber = 2;
::google::protobuf::uint32 custom_data_0() const;
void set_custom_data_0(::google::protobuf::uint32 value);
// fixed32 custom_data_1 = 3;
void clear_custom_data_1();
static const int kCustomData1FieldNumber = 3;
::google::protobuf::uint32 custom_data_1() const;
void set_custom_data_1(::google::protobuf::uint32 value);
// fixed32 custom_data_2 = 4;
void clear_custom_data_2();
static const int kCustomData2FieldNumber = 4;
::google::protobuf::uint32 custom_data_2() const;
void set_custom_data_2(::google::protobuf::uint32 value);
// fixed32 custom_data_3 = 5;
void clear_custom_data_3();
static const int kCustomData3FieldNumber = 5;
::google::protobuf::uint32 custom_data_3() const;
void set_custom_data_3(::google::protobuf::uint32 value);
// fixed32 custom_data_4 = 6;
void clear_custom_data_4();
static const int kCustomData4FieldNumber = 6;
::google::protobuf::uint32 custom_data_4() const;
void set_custom_data_4(::google::protobuf::uint32 value);
// fixed32 custom_data_5 = 7;
void clear_custom_data_5();
static const int kCustomData5FieldNumber = 7;
::google::protobuf::uint32 custom_data_5() const;
void set_custom_data_5(::google::protobuf::uint32 value);
// fixed32 custom_data_6 = 8;
void clear_custom_data_6();
static const int kCustomData6FieldNumber = 8;
::google::protobuf::uint32 custom_data_6() const;
void set_custom_data_6(::google::protobuf::uint32 value);
// fixed32 custom_data_7 = 9;
void clear_custom_data_7();
static const int kCustomData7FieldNumber = 9;
::google::protobuf::uint32 custom_data_7() const;
void set_custom_data_7(::google::protobuf::uint32 value);
// fixed32 custom_data_8 = 10;
void clear_custom_data_8();
static const int kCustomData8FieldNumber = 10;
::google::protobuf::uint32 custom_data_8() const;
void set_custom_data_8(::google::protobuf::uint32 value);
// fixed32 custom_data_9 = 11;
void clear_custom_data_9();
static const int kCustomData9FieldNumber = 11;
::google::protobuf::uint32 custom_data_9() const;
void set_custom_data_9(::google::protobuf::uint32 value);
// fixed32 custom_data_10 = 12;
void clear_custom_data_10();
static const int kCustomData10FieldNumber = 12;
::google::protobuf::uint32 custom_data_10() const;
void set_custom_data_10(::google::protobuf::uint32 value);
// fixed32 custom_data_11 = 13;
void clear_custom_data_11();
static const int kCustomData11FieldNumber = 13;
::google::protobuf::uint32 custom_data_11() const;
void set_custom_data_11(::google::protobuf::uint32 value);
// fixed32 custom_data_12 = 14;
void clear_custom_data_12();
static const int kCustomData12FieldNumber = 14;
::google::protobuf::uint32 custom_data_12() const;
void set_custom_data_12(::google::protobuf::uint32 value);
// fixed32 custom_data_13 = 15;
void clear_custom_data_13();
static const int kCustomData13FieldNumber = 15;
::google::protobuf::uint32 custom_data_13() const;
void set_custom_data_13(::google::protobuf::uint32 value);
// fixed32 custom_data_14 = 16;
void clear_custom_data_14();
static const int kCustomData14FieldNumber = 16;
::google::protobuf::uint32 custom_data_14() const;
void set_custom_data_14(::google::protobuf::uint32 value);
// fixed32 custom_data_15 = 17;
void clear_custom_data_15();
static const int kCustomData15FieldNumber = 17;
::google::protobuf::uint32 custom_data_15() const;
void set_custom_data_15(::google::protobuf::uint32 value);
// .Kinova.Api.GripperCyclic.CustomData gripper_custom_data = 18;
bool has_gripper_custom_data() const;
void clear_gripper_custom_data();
static const int kGripperCustomDataFieldNumber = 18;
const ::Kinova::Api::GripperCyclic::CustomData& gripper_custom_data() const;
::Kinova::Api::GripperCyclic::CustomData* release_gripper_custom_data();
::Kinova::Api::GripperCyclic::CustomData* mutable_gripper_custom_data();
void set_allocated_gripper_custom_data(::Kinova::Api::GripperCyclic::CustomData* gripper_custom_data);
ToolCustomDataCase tool_customData_case() const;
// @@protoc_insertion_point(class_scope:Kinova.Api.InterconnectCyclic.CustomData)
private:
void set_has_gripper_custom_data();
inline bool has_tool_customData() const;
void clear_tool_customData();
inline void clear_has_tool_customData();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::Kinova::Api::InterconnectCyclic::MessageId* custom_data_id_;
::google::protobuf::uint32 custom_data_0_;
::google::protobuf::uint32 custom_data_1_;
::google::protobuf::uint32 custom_data_2_;
::google::protobuf::uint32 custom_data_3_;
::google::protobuf::uint32 custom_data_4_;
::google::protobuf::uint32 custom_data_5_;
::google::protobuf::uint32 custom_data_6_;
::google::protobuf::uint32 custom_data_7_;
::google::protobuf::uint32 custom_data_8_;
::google::protobuf::uint32 custom_data_9_;
::google::protobuf::uint32 custom_data_10_;
::google::protobuf::uint32 custom_data_11_;
::google::protobuf::uint32 custom_data_12_;
::google::protobuf::uint32 custom_data_13_;
::google::protobuf::uint32 custom_data_14_;
::google::protobuf::uint32 custom_data_15_;
union ToolCustomDataUnion {
ToolCustomDataUnion() {}
::Kinova::Api::GripperCyclic::CustomData* gripper_custom_data_;
} tool_customData_;
mutable int _cached_size_;
::google::protobuf::uint32 _oneof_case_[1];
friend struct ::protobuf_InterconnectCyclicMessage_2eproto::TableStruct;
friend void ::protobuf_InterconnectCyclicMessage_2eproto::InitDefaultsCustomDataImpl();
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// MessageId
// fixed32 identifier = 1;
inline void MessageId::clear_identifier() {
identifier_ = 0u;
}
inline ::google::protobuf::uint32 MessageId::identifier() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.MessageId.identifier)
return identifier_;
}
inline void MessageId::set_identifier(::google::protobuf::uint32 value) {
identifier_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.MessageId.identifier)
}
// -------------------------------------------------------------------
// Command
// .Kinova.Api.InterconnectCyclic.MessageId command_id = 1;
inline bool Command::has_command_id() const {
return this != internal_default_instance() && command_id_ != NULL;
}
inline void Command::clear_command_id() {
if (GetArenaNoVirtual() == NULL && command_id_ != NULL) {
delete command_id_;
}
command_id_ = NULL;
}
inline const ::Kinova::Api::InterconnectCyclic::MessageId& Command::command_id() const {
const ::Kinova::Api::InterconnectCyclic::MessageId* p = command_id_;
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Command.command_id)
return p != NULL ? *p : *reinterpret_cast<const ::Kinova::Api::InterconnectCyclic::MessageId*>(
&::Kinova::Api::InterconnectCyclic::_MessageId_default_instance_);
}
inline ::Kinova::Api::InterconnectCyclic::MessageId* Command::release_command_id() {
// @@protoc_insertion_point(field_release:Kinova.Api.InterconnectCyclic.Command.command_id)
::Kinova::Api::InterconnectCyclic::MessageId* temp = command_id_;
command_id_ = NULL;
return temp;
}
inline ::Kinova::Api::InterconnectCyclic::MessageId* Command::mutable_command_id() {
if (command_id_ == NULL) {
command_id_ = new ::Kinova::Api::InterconnectCyclic::MessageId;
}
// @@protoc_insertion_point(field_mutable:Kinova.Api.InterconnectCyclic.Command.command_id)
return command_id_;
}
inline void Command::set_allocated_command_id(::Kinova::Api::InterconnectCyclic::MessageId* command_id) {
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
if (message_arena == NULL) {
delete command_id_;
}
if (command_id) {
::google::protobuf::Arena* submessage_arena = NULL;
if (message_arena != submessage_arena) {
command_id = ::google::protobuf::internal::GetOwnedMessage(
message_arena, command_id, submessage_arena);
}
} else {
}
command_id_ = command_id;
// @@protoc_insertion_point(field_set_allocated:Kinova.Api.InterconnectCyclic.Command.command_id)
}
// fixed32 flags = 2;
inline void Command::clear_flags() {
flags_ = 0u;
}
inline ::google::protobuf::uint32 Command::flags() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Command.flags)
return flags_;
}
inline void Command::set_flags(::google::protobuf::uint32 value) {
flags_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Command.flags)
}
// .Kinova.Api.GripperCyclic.Command gripper_command = 3;
inline bool Command::has_gripper_command() const {
return tool_command_case() == kGripperCommand;
}
inline void Command::set_has_gripper_command() {
_oneof_case_[0] = kGripperCommand;
}
inline ::Kinova::Api::GripperCyclic::Command* Command::release_gripper_command() {
// @@protoc_insertion_point(field_release:Kinova.Api.InterconnectCyclic.Command.gripper_command)
if (has_gripper_command()) {
clear_has_tool_command();
::Kinova::Api::GripperCyclic::Command* temp = tool_command_.gripper_command_;
tool_command_.gripper_command_ = NULL;
return temp;
} else {
return NULL;
}
}
inline const ::Kinova::Api::GripperCyclic::Command& Command::gripper_command() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Command.gripper_command)
return has_gripper_command()
? *tool_command_.gripper_command_
: *reinterpret_cast< ::Kinova::Api::GripperCyclic::Command*>(&::Kinova::Api::GripperCyclic::_Command_default_instance_);
}
inline ::Kinova::Api::GripperCyclic::Command* Command::mutable_gripper_command() {
if (!has_gripper_command()) {
clear_tool_command();
set_has_gripper_command();
tool_command_.gripper_command_ = new ::Kinova::Api::GripperCyclic::Command;
}
// @@protoc_insertion_point(field_mutable:Kinova.Api.InterconnectCyclic.Command.gripper_command)
return tool_command_.gripper_command_;
}
inline bool Command::has_tool_command() const {
return tool_command_case() != TOOL_COMMAND_NOT_SET;
}
inline void Command::clear_has_tool_command() {
_oneof_case_[0] = TOOL_COMMAND_NOT_SET;
}
inline Command::ToolCommandCase Command::tool_command_case() const {
return Command::ToolCommandCase(_oneof_case_[0]);
}
// -------------------------------------------------------------------
// Feedback
// .Kinova.Api.InterconnectCyclic.MessageId feedback_id = 1;
inline bool Feedback::has_feedback_id() const {
return this != internal_default_instance() && feedback_id_ != NULL;
}
inline void Feedback::clear_feedback_id() {
if (GetArenaNoVirtual() == NULL && feedback_id_ != NULL) {
delete feedback_id_;
}
feedback_id_ = NULL;
}
inline const ::Kinova::Api::InterconnectCyclic::MessageId& Feedback::feedback_id() const {
const ::Kinova::Api::InterconnectCyclic::MessageId* p = feedback_id_;
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.feedback_id)
return p != NULL ? *p : *reinterpret_cast<const ::Kinova::Api::InterconnectCyclic::MessageId*>(
&::Kinova::Api::InterconnectCyclic::_MessageId_default_instance_);
}
inline ::Kinova::Api::InterconnectCyclic::MessageId* Feedback::release_feedback_id() {
// @@protoc_insertion_point(field_release:Kinova.Api.InterconnectCyclic.Feedback.feedback_id)
::Kinova::Api::InterconnectCyclic::MessageId* temp = feedback_id_;
feedback_id_ = NULL;
return temp;
}
inline ::Kinova::Api::InterconnectCyclic::MessageId* Feedback::mutable_feedback_id() {
if (feedback_id_ == NULL) {
feedback_id_ = new ::Kinova::Api::InterconnectCyclic::MessageId;
}
// @@protoc_insertion_point(field_mutable:Kinova.Api.InterconnectCyclic.Feedback.feedback_id)
return feedback_id_;
}
inline void Feedback::set_allocated_feedback_id(::Kinova::Api::InterconnectCyclic::MessageId* feedback_id) {
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
if (message_arena == NULL) {
delete feedback_id_;
}
if (feedback_id) {
::google::protobuf::Arena* submessage_arena = NULL;
if (message_arena != submessage_arena) {
feedback_id = ::google::protobuf::internal::GetOwnedMessage(
message_arena, feedback_id, submessage_arena);
}
} else {
}
feedback_id_ = feedback_id;
// @@protoc_insertion_point(field_set_allocated:Kinova.Api.InterconnectCyclic.Feedback.feedback_id)
}
// fixed32 status_flags = 2;
inline void Feedback::clear_status_flags() {
status_flags_ = 0u;
}
inline ::google::protobuf::uint32 Feedback::status_flags() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.status_flags)
return status_flags_;
}
inline void Feedback::set_status_flags(::google::protobuf::uint32 value) {
status_flags_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.status_flags)
}
// fixed32 jitter_comm = 3;
inline void Feedback::clear_jitter_comm() {
jitter_comm_ = 0u;
}
inline ::google::protobuf::uint32 Feedback::jitter_comm() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.jitter_comm)
return jitter_comm_;
}
inline void Feedback::set_jitter_comm(::google::protobuf::uint32 value) {
jitter_comm_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.jitter_comm)
}
// float imu_acceleration_x = 4;
inline void Feedback::clear_imu_acceleration_x() {
imu_acceleration_x_ = 0;
}
inline float Feedback::imu_acceleration_x() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.imu_acceleration_x)
return imu_acceleration_x_;
}
inline void Feedback::set_imu_acceleration_x(float value) {
imu_acceleration_x_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.imu_acceleration_x)
}
// float imu_acceleration_y = 5;
inline void Feedback::clear_imu_acceleration_y() {
imu_acceleration_y_ = 0;
}
inline float Feedback::imu_acceleration_y() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.imu_acceleration_y)
return imu_acceleration_y_;
}
inline void Feedback::set_imu_acceleration_y(float value) {
imu_acceleration_y_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.imu_acceleration_y)
}
// float imu_acceleration_z = 6;
inline void Feedback::clear_imu_acceleration_z() {
imu_acceleration_z_ = 0;
}
inline float Feedback::imu_acceleration_z() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.imu_acceleration_z)
return imu_acceleration_z_;
}
inline void Feedback::set_imu_acceleration_z(float value) {
imu_acceleration_z_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.imu_acceleration_z)
}
// float imu_angular_velocity_x = 7;
inline void Feedback::clear_imu_angular_velocity_x() {
imu_angular_velocity_x_ = 0;
}
inline float Feedback::imu_angular_velocity_x() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.imu_angular_velocity_x)
return imu_angular_velocity_x_;
}
inline void Feedback::set_imu_angular_velocity_x(float value) {
imu_angular_velocity_x_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.imu_angular_velocity_x)
}
// float imu_angular_velocity_y = 8;
inline void Feedback::clear_imu_angular_velocity_y() {
imu_angular_velocity_y_ = 0;
}
inline float Feedback::imu_angular_velocity_y() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.imu_angular_velocity_y)
return imu_angular_velocity_y_;
}
inline void Feedback::set_imu_angular_velocity_y(float value) {
imu_angular_velocity_y_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.imu_angular_velocity_y)
}
// float imu_angular_velocity_z = 9;
inline void Feedback::clear_imu_angular_velocity_z() {
imu_angular_velocity_z_ = 0;
}
inline float Feedback::imu_angular_velocity_z() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.imu_angular_velocity_z)
return imu_angular_velocity_z_;
}
inline void Feedback::set_imu_angular_velocity_z(float value) {
imu_angular_velocity_z_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.imu_angular_velocity_z)
}
// float voltage = 10;
inline void Feedback::clear_voltage() {
voltage_ = 0;
}
inline float Feedback::voltage() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.voltage)
return voltage_;
}
inline void Feedback::set_voltage(float value) {
voltage_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.voltage)
}
// float temperature_core = 11;
inline void Feedback::clear_temperature_core() {
temperature_core_ = 0;
}
inline float Feedback::temperature_core() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.temperature_core)
return temperature_core_;
}
inline void Feedback::set_temperature_core(float value) {
temperature_core_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.temperature_core)
}
// fixed32 fault_bank_a = 12;
inline void Feedback::clear_fault_bank_a() {
fault_bank_a_ = 0u;
}
inline ::google::protobuf::uint32 Feedback::fault_bank_a() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.fault_bank_a)
return fault_bank_a_;
}
inline void Feedback::set_fault_bank_a(::google::protobuf::uint32 value) {
fault_bank_a_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.fault_bank_a)
}
// fixed32 fault_bank_b = 13;
inline void Feedback::clear_fault_bank_b() {
fault_bank_b_ = 0u;
}
inline ::google::protobuf::uint32 Feedback::fault_bank_b() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.fault_bank_b)
return fault_bank_b_;
}
inline void Feedback::set_fault_bank_b(::google::protobuf::uint32 value) {
fault_bank_b_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.fault_bank_b)
}
// fixed32 warning_bank_a = 14;
inline void Feedback::clear_warning_bank_a() {
warning_bank_a_ = 0u;
}
inline ::google::protobuf::uint32 Feedback::warning_bank_a() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.warning_bank_a)
return warning_bank_a_;
}
inline void Feedback::set_warning_bank_a(::google::protobuf::uint32 value) {
warning_bank_a_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.warning_bank_a)
}
// fixed32 warning_bank_b = 15;
inline void Feedback::clear_warning_bank_b() {
warning_bank_b_ = 0u;
}
inline ::google::protobuf::uint32 Feedback::warning_bank_b() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.warning_bank_b)
return warning_bank_b_;
}
inline void Feedback::set_warning_bank_b(::google::protobuf::uint32 value) {
warning_bank_b_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.Feedback.warning_bank_b)
}
// .Kinova.Api.GripperCyclic.Feedback gripper_feedback = 18;
inline bool Feedback::has_gripper_feedback() const {
return tool_feedback_case() == kGripperFeedback;
}
inline void Feedback::set_has_gripper_feedback() {
_oneof_case_[0] = kGripperFeedback;
}
inline ::Kinova::Api::GripperCyclic::Feedback* Feedback::release_gripper_feedback() {
// @@protoc_insertion_point(field_release:Kinova.Api.InterconnectCyclic.Feedback.gripper_feedback)
if (has_gripper_feedback()) {
clear_has_tool_feedback();
::Kinova::Api::GripperCyclic::Feedback* temp = tool_feedback_.gripper_feedback_;
tool_feedback_.gripper_feedback_ = NULL;
return temp;
} else {
return NULL;
}
}
inline const ::Kinova::Api::GripperCyclic::Feedback& Feedback::gripper_feedback() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.Feedback.gripper_feedback)
return has_gripper_feedback()
? *tool_feedback_.gripper_feedback_
: *reinterpret_cast< ::Kinova::Api::GripperCyclic::Feedback*>(&::Kinova::Api::GripperCyclic::_Feedback_default_instance_);
}
inline ::Kinova::Api::GripperCyclic::Feedback* Feedback::mutable_gripper_feedback() {
if (!has_gripper_feedback()) {
clear_tool_feedback();
set_has_gripper_feedback();
tool_feedback_.gripper_feedback_ = new ::Kinova::Api::GripperCyclic::Feedback;
}
// @@protoc_insertion_point(field_mutable:Kinova.Api.InterconnectCyclic.Feedback.gripper_feedback)
return tool_feedback_.gripper_feedback_;
}
inline bool Feedback::has_tool_feedback() const {
return tool_feedback_case() != TOOL_FEEDBACK_NOT_SET;
}
inline void Feedback::clear_has_tool_feedback() {
_oneof_case_[0] = TOOL_FEEDBACK_NOT_SET;
}
inline Feedback::ToolFeedbackCase Feedback::tool_feedback_case() const {
return Feedback::ToolFeedbackCase(_oneof_case_[0]);
}
// -------------------------------------------------------------------
// CustomData
// .Kinova.Api.InterconnectCyclic.MessageId custom_data_id = 1;
inline bool CustomData::has_custom_data_id() const {
return this != internal_default_instance() && custom_data_id_ != NULL;
}
inline void CustomData::clear_custom_data_id() {
if (GetArenaNoVirtual() == NULL && custom_data_id_ != NULL) {
delete custom_data_id_;
}
custom_data_id_ = NULL;
}
inline const ::Kinova::Api::InterconnectCyclic::MessageId& CustomData::custom_data_id() const {
const ::Kinova::Api::InterconnectCyclic::MessageId* p = custom_data_id_;
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_id)
return p != NULL ? *p : *reinterpret_cast<const ::Kinova::Api::InterconnectCyclic::MessageId*>(
&::Kinova::Api::InterconnectCyclic::_MessageId_default_instance_);
}
inline ::Kinova::Api::InterconnectCyclic::MessageId* CustomData::release_custom_data_id() {
// @@protoc_insertion_point(field_release:Kinova.Api.InterconnectCyclic.CustomData.custom_data_id)
::Kinova::Api::InterconnectCyclic::MessageId* temp = custom_data_id_;
custom_data_id_ = NULL;
return temp;
}
inline ::Kinova::Api::InterconnectCyclic::MessageId* CustomData::mutable_custom_data_id() {
if (custom_data_id_ == NULL) {
custom_data_id_ = new ::Kinova::Api::InterconnectCyclic::MessageId;
}
// @@protoc_insertion_point(field_mutable:Kinova.Api.InterconnectCyclic.CustomData.custom_data_id)
return custom_data_id_;
}
inline void CustomData::set_allocated_custom_data_id(::Kinova::Api::InterconnectCyclic::MessageId* custom_data_id) {
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
if (message_arena == NULL) {
delete custom_data_id_;
}
if (custom_data_id) {
::google::protobuf::Arena* submessage_arena = NULL;
if (message_arena != submessage_arena) {
custom_data_id = ::google::protobuf::internal::GetOwnedMessage(
message_arena, custom_data_id, submessage_arena);
}
} else {
}
custom_data_id_ = custom_data_id;
// @@protoc_insertion_point(field_set_allocated:Kinova.Api.InterconnectCyclic.CustomData.custom_data_id)
}
// fixed32 custom_data_0 = 2;
inline void CustomData::clear_custom_data_0() {
custom_data_0_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_0() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_0)
return custom_data_0_;
}
inline void CustomData::set_custom_data_0(::google::protobuf::uint32 value) {
custom_data_0_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_0)
}
// fixed32 custom_data_1 = 3;
inline void CustomData::clear_custom_data_1() {
custom_data_1_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_1() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_1)
return custom_data_1_;
}
inline void CustomData::set_custom_data_1(::google::protobuf::uint32 value) {
custom_data_1_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_1)
}
// fixed32 custom_data_2 = 4;
inline void CustomData::clear_custom_data_2() {
custom_data_2_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_2() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_2)
return custom_data_2_;
}
inline void CustomData::set_custom_data_2(::google::protobuf::uint32 value) {
custom_data_2_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_2)
}
// fixed32 custom_data_3 = 5;
inline void CustomData::clear_custom_data_3() {
custom_data_3_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_3() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_3)
return custom_data_3_;
}
inline void CustomData::set_custom_data_3(::google::protobuf::uint32 value) {
custom_data_3_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_3)
}
// fixed32 custom_data_4 = 6;
inline void CustomData::clear_custom_data_4() {
custom_data_4_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_4() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_4)
return custom_data_4_;
}
inline void CustomData::set_custom_data_4(::google::protobuf::uint32 value) {
custom_data_4_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_4)
}
// fixed32 custom_data_5 = 7;
inline void CustomData::clear_custom_data_5() {
custom_data_5_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_5() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_5)
return custom_data_5_;
}
inline void CustomData::set_custom_data_5(::google::protobuf::uint32 value) {
custom_data_5_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_5)
}
// fixed32 custom_data_6 = 8;
inline void CustomData::clear_custom_data_6() {
custom_data_6_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_6() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_6)
return custom_data_6_;
}
inline void CustomData::set_custom_data_6(::google::protobuf::uint32 value) {
custom_data_6_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_6)
}
// fixed32 custom_data_7 = 9;
inline void CustomData::clear_custom_data_7() {
custom_data_7_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_7() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_7)
return custom_data_7_;
}
inline void CustomData::set_custom_data_7(::google::protobuf::uint32 value) {
custom_data_7_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_7)
}
// fixed32 custom_data_8 = 10;
inline void CustomData::clear_custom_data_8() {
custom_data_8_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_8() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_8)
return custom_data_8_;
}
inline void CustomData::set_custom_data_8(::google::protobuf::uint32 value) {
custom_data_8_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_8)
}
// fixed32 custom_data_9 = 11;
inline void CustomData::clear_custom_data_9() {
custom_data_9_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_9() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_9)
return custom_data_9_;
}
inline void CustomData::set_custom_data_9(::google::protobuf::uint32 value) {
custom_data_9_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_9)
}
// fixed32 custom_data_10 = 12;
inline void CustomData::clear_custom_data_10() {
custom_data_10_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_10() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_10)
return custom_data_10_;
}
inline void CustomData::set_custom_data_10(::google::protobuf::uint32 value) {
custom_data_10_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_10)
}
// fixed32 custom_data_11 = 13;
inline void CustomData::clear_custom_data_11() {
custom_data_11_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_11() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_11)
return custom_data_11_;
}
inline void CustomData::set_custom_data_11(::google::protobuf::uint32 value) {
custom_data_11_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_11)
}
// fixed32 custom_data_12 = 14;
inline void CustomData::clear_custom_data_12() {
custom_data_12_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_12() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_12)
return custom_data_12_;
}
inline void CustomData::set_custom_data_12(::google::protobuf::uint32 value) {
custom_data_12_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_12)
}
// fixed32 custom_data_13 = 15;
inline void CustomData::clear_custom_data_13() {
custom_data_13_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_13() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_13)
return custom_data_13_;
}
inline void CustomData::set_custom_data_13(::google::protobuf::uint32 value) {
custom_data_13_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_13)
}
// fixed32 custom_data_14 = 16;
inline void CustomData::clear_custom_data_14() {
custom_data_14_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_14() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_14)
return custom_data_14_;
}
inline void CustomData::set_custom_data_14(::google::protobuf::uint32 value) {
custom_data_14_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_14)
}
// fixed32 custom_data_15 = 17;
inline void CustomData::clear_custom_data_15() {
custom_data_15_ = 0u;
}
inline ::google::protobuf::uint32 CustomData::custom_data_15() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.custom_data_15)
return custom_data_15_;
}
inline void CustomData::set_custom_data_15(::google::protobuf::uint32 value) {
custom_data_15_ = value;
// @@protoc_insertion_point(field_set:Kinova.Api.InterconnectCyclic.CustomData.custom_data_15)
}
// .Kinova.Api.GripperCyclic.CustomData gripper_custom_data = 18;
inline bool CustomData::has_gripper_custom_data() const {
return tool_customData_case() == kGripperCustomData;
}
inline void CustomData::set_has_gripper_custom_data() {
_oneof_case_[0] = kGripperCustomData;
}
inline ::Kinova::Api::GripperCyclic::CustomData* CustomData::release_gripper_custom_data() {
// @@protoc_insertion_point(field_release:Kinova.Api.InterconnectCyclic.CustomData.gripper_custom_data)
if (has_gripper_custom_data()) {
clear_has_tool_customData();
::Kinova::Api::GripperCyclic::CustomData* temp = tool_customData_.gripper_custom_data_;
tool_customData_.gripper_custom_data_ = NULL;
return temp;
} else {
return NULL;
}
}
inline const ::Kinova::Api::GripperCyclic::CustomData& CustomData::gripper_custom_data() const {
// @@protoc_insertion_point(field_get:Kinova.Api.InterconnectCyclic.CustomData.gripper_custom_data)
return has_gripper_custom_data()
? *tool_customData_.gripper_custom_data_
: *reinterpret_cast< ::Kinova::Api::GripperCyclic::CustomData*>(&::Kinova::Api::GripperCyclic::_CustomData_default_instance_);
}
inline ::Kinova::Api::GripperCyclic::CustomData* CustomData::mutable_gripper_custom_data() {
if (!has_gripper_custom_data()) {
clear_tool_customData();
set_has_gripper_custom_data();
tool_customData_.gripper_custom_data_ = new ::Kinova::Api::GripperCyclic::CustomData;
}
// @@protoc_insertion_point(field_mutable:Kinova.Api.InterconnectCyclic.CustomData.gripper_custom_data)
return tool_customData_.gripper_custom_data_;
}
inline bool CustomData::has_tool_customData() const {
return tool_customData_case() != TOOL_CUSTOMDATA_NOT_SET;
}
inline void CustomData::clear_has_tool_customData() {
_oneof_case_[0] = TOOL_CUSTOMDATA_NOT_SET;
}
inline CustomData::ToolCustomDataCase CustomData::tool_customData_case() const {
return CustomData::ToolCustomDataCase(_oneof_case_[0]);
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace InterconnectCyclic
} // namespace Api
} // namespace Kinova
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_InterconnectCyclicMessage_2eproto__INCLUDED
|