hardware_limit.pb.h 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: hardware_limit.proto
  3. #ifndef PROTOBUF_INCLUDED_hardware_5flimit_2eproto
  4. #define PROTOBUF_INCLUDED_hardware_5flimit_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/unknown_field_set.h>
  28. // @@protoc_insertion_point(includes)
  29. #define PROTOBUF_INTERNAL_EXPORT_protobuf_hardware_5flimit_2eproto
  30. namespace protobuf_hardware_5flimit_2eproto {
  31. // Internal implementation detail -- do not use these members.
  32. struct TableStruct {
  33. static const ::google::protobuf::internal::ParseTableField entries[];
  34. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  35. static const ::google::protobuf::internal::ParseTable schema[3];
  36. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  37. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  38. static const ::google::protobuf::uint32 offsets[];
  39. };
  40. void AddDescriptors();
  41. } // namespace protobuf_hardware_5flimit_2eproto
  42. namespace Hardware_limit {
  43. class Hardware_parameter;
  44. class Hardware_parameterDefaultTypeInternal;
  45. extern Hardware_parameterDefaultTypeInternal _Hardware_parameter_default_instance_;
  46. class Railing;
  47. class RailingDefaultTypeInternal;
  48. extern RailingDefaultTypeInternal _Railing_default_instance_;
  49. class Theta_range;
  50. class Theta_rangeDefaultTypeInternal;
  51. extern Theta_rangeDefaultTypeInternal _Theta_range_default_instance_;
  52. } // namespace Hardware_limit
  53. namespace google {
  54. namespace protobuf {
  55. template<> ::Hardware_limit::Hardware_parameter* Arena::CreateMaybeMessage<::Hardware_limit::Hardware_parameter>(Arena*);
  56. template<> ::Hardware_limit::Railing* Arena::CreateMaybeMessage<::Hardware_limit::Railing>(Arena*);
  57. template<> ::Hardware_limit::Theta_range* Arena::CreateMaybeMessage<::Hardware_limit::Theta_range>(Arena*);
  58. } // namespace protobuf
  59. } // namespace google
  60. namespace Hardware_limit {
  61. // ===================================================================
  62. class Railing : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hardware_limit.Railing) */ {
  63. public:
  64. Railing();
  65. virtual ~Railing();
  66. Railing(const Railing& from);
  67. inline Railing& operator=(const Railing& from) {
  68. CopyFrom(from);
  69. return *this;
  70. }
  71. #if LANG_CXX11
  72. Railing(Railing&& from) noexcept
  73. : Railing() {
  74. *this = ::std::move(from);
  75. }
  76. inline Railing& operator=(Railing&& from) noexcept {
  77. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  78. if (this != &from) InternalSwap(&from);
  79. } else {
  80. CopyFrom(from);
  81. }
  82. return *this;
  83. }
  84. #endif
  85. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  86. return _internal_metadata_.unknown_fields();
  87. }
  88. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  89. return _internal_metadata_.mutable_unknown_fields();
  90. }
  91. static const ::google::protobuf::Descriptor* descriptor();
  92. static const Railing& default_instance();
  93. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  94. static inline const Railing* internal_default_instance() {
  95. return reinterpret_cast<const Railing*>(
  96. &_Railing_default_instance_);
  97. }
  98. static constexpr int kIndexInFileMessages =
  99. 0;
  100. void Swap(Railing* other);
  101. friend void swap(Railing& a, Railing& b) {
  102. a.Swap(&b);
  103. }
  104. // implements Message ----------------------------------------------
  105. inline Railing* New() const final {
  106. return CreateMaybeMessage<Railing>(NULL);
  107. }
  108. Railing* New(::google::protobuf::Arena* arena) const final {
  109. return CreateMaybeMessage<Railing>(arena);
  110. }
  111. void CopyFrom(const ::google::protobuf::Message& from) final;
  112. void MergeFrom(const ::google::protobuf::Message& from) final;
  113. void CopyFrom(const Railing& from);
  114. void MergeFrom(const Railing& from);
  115. void Clear() final;
  116. bool IsInitialized() const final;
  117. size_t ByteSizeLong() const final;
  118. bool MergePartialFromCodedStream(
  119. ::google::protobuf::io::CodedInputStream* input) final;
  120. void SerializeWithCachedSizes(
  121. ::google::protobuf::io::CodedOutputStream* output) const final;
  122. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  123. bool deterministic, ::google::protobuf::uint8* target) const final;
  124. int GetCachedSize() const final { return _cached_size_.Get(); }
  125. private:
  126. void SharedCtor();
  127. void SharedDtor();
  128. void SetCachedSize(int size) const final;
  129. void InternalSwap(Railing* other);
  130. private:
  131. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  132. return NULL;
  133. }
  134. inline void* MaybeArenaPtr() const {
  135. return NULL;
  136. }
  137. public:
  138. ::google::protobuf::Metadata GetMetadata() const final;
  139. // nested types ----------------------------------------------------
  140. // accessors -------------------------------------------------------
  141. // required float pa = 1;
  142. bool has_pa() const;
  143. void clear_pa();
  144. static const int kPaFieldNumber = 1;
  145. float pa() const;
  146. void set_pa(float value);
  147. // required float pb = 2;
  148. bool has_pb() const;
  149. void clear_pb();
  150. static const int kPbFieldNumber = 2;
  151. float pb() const;
  152. void set_pb(float value);
  153. // required float pc = 3;
  154. bool has_pc() const;
  155. void clear_pc();
  156. static const int kPcFieldNumber = 3;
  157. float pc() const;
  158. void set_pc(float value);
  159. // optional float railing_width = 4 [default = 0];
  160. bool has_railing_width() const;
  161. void clear_railing_width();
  162. static const int kRailingWidthFieldNumber = 4;
  163. float railing_width() const;
  164. void set_railing_width(float value);
  165. // @@protoc_insertion_point(class_scope:Hardware_limit.Railing)
  166. private:
  167. void set_has_pa();
  168. void clear_has_pa();
  169. void set_has_pb();
  170. void clear_has_pb();
  171. void set_has_pc();
  172. void clear_has_pc();
  173. void set_has_railing_width();
  174. void clear_has_railing_width();
  175. // helper for ByteSizeLong()
  176. size_t RequiredFieldsByteSizeFallback() const;
  177. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  178. ::google::protobuf::internal::HasBits<1> _has_bits_;
  179. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  180. float pa_;
  181. float pb_;
  182. float pc_;
  183. float railing_width_;
  184. friend struct ::protobuf_hardware_5flimit_2eproto::TableStruct;
  185. };
  186. // -------------------------------------------------------------------
  187. class Theta_range : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hardware_limit.Theta_range) */ {
  188. public:
  189. Theta_range();
  190. virtual ~Theta_range();
  191. Theta_range(const Theta_range& from);
  192. inline Theta_range& operator=(const Theta_range& from) {
  193. CopyFrom(from);
  194. return *this;
  195. }
  196. #if LANG_CXX11
  197. Theta_range(Theta_range&& from) noexcept
  198. : Theta_range() {
  199. *this = ::std::move(from);
  200. }
  201. inline Theta_range& operator=(Theta_range&& from) noexcept {
  202. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  203. if (this != &from) InternalSwap(&from);
  204. } else {
  205. CopyFrom(from);
  206. }
  207. return *this;
  208. }
  209. #endif
  210. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  211. return _internal_metadata_.unknown_fields();
  212. }
  213. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  214. return _internal_metadata_.mutable_unknown_fields();
  215. }
  216. static const ::google::protobuf::Descriptor* descriptor();
  217. static const Theta_range& default_instance();
  218. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  219. static inline const Theta_range* internal_default_instance() {
  220. return reinterpret_cast<const Theta_range*>(
  221. &_Theta_range_default_instance_);
  222. }
  223. static constexpr int kIndexInFileMessages =
  224. 1;
  225. void Swap(Theta_range* other);
  226. friend void swap(Theta_range& a, Theta_range& b) {
  227. a.Swap(&b);
  228. }
  229. // implements Message ----------------------------------------------
  230. inline Theta_range* New() const final {
  231. return CreateMaybeMessage<Theta_range>(NULL);
  232. }
  233. Theta_range* New(::google::protobuf::Arena* arena) const final {
  234. return CreateMaybeMessage<Theta_range>(arena);
  235. }
  236. void CopyFrom(const ::google::protobuf::Message& from) final;
  237. void MergeFrom(const ::google::protobuf::Message& from) final;
  238. void CopyFrom(const Theta_range& from);
  239. void MergeFrom(const Theta_range& from);
  240. void Clear() final;
  241. bool IsInitialized() const final;
  242. size_t ByteSizeLong() const final;
  243. bool MergePartialFromCodedStream(
  244. ::google::protobuf::io::CodedInputStream* input) final;
  245. void SerializeWithCachedSizes(
  246. ::google::protobuf::io::CodedOutputStream* output) const final;
  247. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  248. bool deterministic, ::google::protobuf::uint8* target) const final;
  249. int GetCachedSize() const final { return _cached_size_.Get(); }
  250. private:
  251. void SharedCtor();
  252. void SharedDtor();
  253. void SetCachedSize(int size) const final;
  254. void InternalSwap(Theta_range* other);
  255. private:
  256. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  257. return NULL;
  258. }
  259. inline void* MaybeArenaPtr() const {
  260. return NULL;
  261. }
  262. public:
  263. ::google::protobuf::Metadata GetMetadata() const final;
  264. // nested types ----------------------------------------------------
  265. // accessors -------------------------------------------------------
  266. // required float min_theta = 1;
  267. bool has_min_theta() const;
  268. void clear_min_theta();
  269. static const int kMinThetaFieldNumber = 1;
  270. float min_theta() const;
  271. void set_min_theta(float value);
  272. // required float max_theta = 2;
  273. bool has_max_theta() const;
  274. void clear_max_theta();
  275. static const int kMaxThetaFieldNumber = 2;
  276. float max_theta() const;
  277. void set_max_theta(float value);
  278. // @@protoc_insertion_point(class_scope:Hardware_limit.Theta_range)
  279. private:
  280. void set_has_min_theta();
  281. void clear_has_min_theta();
  282. void set_has_max_theta();
  283. void clear_has_max_theta();
  284. // helper for ByteSizeLong()
  285. size_t RequiredFieldsByteSizeFallback() const;
  286. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  287. ::google::protobuf::internal::HasBits<1> _has_bits_;
  288. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  289. float min_theta_;
  290. float max_theta_;
  291. friend struct ::protobuf_hardware_5flimit_2eproto::TableStruct;
  292. };
  293. // -------------------------------------------------------------------
  294. class Hardware_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hardware_limit.Hardware_parameter) */ {
  295. public:
  296. Hardware_parameter();
  297. virtual ~Hardware_parameter();
  298. Hardware_parameter(const Hardware_parameter& from);
  299. inline Hardware_parameter& operator=(const Hardware_parameter& from) {
  300. CopyFrom(from);
  301. return *this;
  302. }
  303. #if LANG_CXX11
  304. Hardware_parameter(Hardware_parameter&& from) noexcept
  305. : Hardware_parameter() {
  306. *this = ::std::move(from);
  307. }
  308. inline Hardware_parameter& operator=(Hardware_parameter&& from) noexcept {
  309. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  310. if (this != &from) InternalSwap(&from);
  311. } else {
  312. CopyFrom(from);
  313. }
  314. return *this;
  315. }
  316. #endif
  317. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  318. return _internal_metadata_.unknown_fields();
  319. }
  320. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  321. return _internal_metadata_.mutable_unknown_fields();
  322. }
  323. static const ::google::protobuf::Descriptor* descriptor();
  324. static const Hardware_parameter& default_instance();
  325. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  326. static inline const Hardware_parameter* internal_default_instance() {
  327. return reinterpret_cast<const Hardware_parameter*>(
  328. &_Hardware_parameter_default_instance_);
  329. }
  330. static constexpr int kIndexInFileMessages =
  331. 2;
  332. void Swap(Hardware_parameter* other);
  333. friend void swap(Hardware_parameter& a, Hardware_parameter& b) {
  334. a.Swap(&b);
  335. }
  336. // implements Message ----------------------------------------------
  337. inline Hardware_parameter* New() const final {
  338. return CreateMaybeMessage<Hardware_parameter>(NULL);
  339. }
  340. Hardware_parameter* New(::google::protobuf::Arena* arena) const final {
  341. return CreateMaybeMessage<Hardware_parameter>(arena);
  342. }
  343. void CopyFrom(const ::google::protobuf::Message& from) final;
  344. void MergeFrom(const ::google::protobuf::Message& from) final;
  345. void CopyFrom(const Hardware_parameter& from);
  346. void MergeFrom(const Hardware_parameter& from);
  347. void Clear() final;
  348. bool IsInitialized() const final;
  349. size_t ByteSizeLong() const final;
  350. bool MergePartialFromCodedStream(
  351. ::google::protobuf::io::CodedInputStream* input) final;
  352. void SerializeWithCachedSizes(
  353. ::google::protobuf::io::CodedOutputStream* output) const final;
  354. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  355. bool deterministic, ::google::protobuf::uint8* target) const final;
  356. int GetCachedSize() const final { return _cached_size_.Get(); }
  357. private:
  358. void SharedCtor();
  359. void SharedDtor();
  360. void SetCachedSize(int size) const final;
  361. void InternalSwap(Hardware_parameter* other);
  362. private:
  363. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  364. return NULL;
  365. }
  366. inline void* MaybeArenaPtr() const {
  367. return NULL;
  368. }
  369. public:
  370. ::google::protobuf::Metadata GetMetadata() const final;
  371. // nested types ----------------------------------------------------
  372. // accessors -------------------------------------------------------
  373. // repeated .Hardware_limit.Railing railing_parameter = 1;
  374. int railing_parameter_size() const;
  375. void clear_railing_parameter();
  376. static const int kRailingParameterFieldNumber = 1;
  377. ::Hardware_limit::Railing* mutable_railing_parameter(int index);
  378. ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Railing >*
  379. mutable_railing_parameter();
  380. const ::Hardware_limit::Railing& railing_parameter(int index) const;
  381. ::Hardware_limit::Railing* add_railing_parameter();
  382. const ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Railing >&
  383. railing_parameter() const;
  384. // repeated .Hardware_limit.Theta_range theta_range = 8;
  385. int theta_range_size() const;
  386. void clear_theta_range();
  387. static const int kThetaRangeFieldNumber = 8;
  388. ::Hardware_limit::Theta_range* mutable_theta_range(int index);
  389. ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Theta_range >*
  390. mutable_theta_range();
  391. const ::Hardware_limit::Theta_range& theta_range(int index) const;
  392. ::Hardware_limit::Theta_range* add_theta_range();
  393. const ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Theta_range >&
  394. theta_range() const;
  395. // required float center_min_y = 2;
  396. bool has_center_min_y() const;
  397. void clear_center_min_y();
  398. static const int kCenterMinYFieldNumber = 2;
  399. float center_min_y() const;
  400. void set_center_min_y(float value);
  401. // required float center_max_y = 3;
  402. bool has_center_max_y() const;
  403. void clear_center_max_y();
  404. static const int kCenterMaxYFieldNumber = 3;
  405. float center_max_y() const;
  406. void set_center_max_y(float value);
  407. // required float center_min_x = 4;
  408. bool has_center_min_x() const;
  409. void clear_center_min_x();
  410. static const int kCenterMinXFieldNumber = 4;
  411. float center_min_x() const;
  412. void set_center_min_x(float value);
  413. // required float center_max_x = 5;
  414. bool has_center_max_x() const;
  415. void clear_center_max_x();
  416. static const int kCenterMaxXFieldNumber = 5;
  417. float center_max_x() const;
  418. void set_center_max_x(float value);
  419. // required float corner_min_y = 6;
  420. bool has_corner_min_y() const;
  421. void clear_corner_min_y();
  422. static const int kCornerMinYFieldNumber = 6;
  423. float corner_min_y() const;
  424. void set_corner_min_y(float value);
  425. // required float corner_max_y = 7;
  426. bool has_corner_max_y() const;
  427. void clear_corner_max_y();
  428. static const int kCornerMaxYFieldNumber = 7;
  429. float corner_max_y() const;
  430. void set_corner_max_y(float value);
  431. // required float height = 9;
  432. bool has_height() const;
  433. void clear_height();
  434. static const int kHeightFieldNumber = 9;
  435. float height() const;
  436. void set_height(float value);
  437. // @@protoc_insertion_point(class_scope:Hardware_limit.Hardware_parameter)
  438. private:
  439. void set_has_center_min_y();
  440. void clear_has_center_min_y();
  441. void set_has_center_max_y();
  442. void clear_has_center_max_y();
  443. void set_has_center_min_x();
  444. void clear_has_center_min_x();
  445. void set_has_center_max_x();
  446. void clear_has_center_max_x();
  447. void set_has_corner_min_y();
  448. void clear_has_corner_min_y();
  449. void set_has_corner_max_y();
  450. void clear_has_corner_max_y();
  451. void set_has_height();
  452. void clear_has_height();
  453. // helper for ByteSizeLong()
  454. size_t RequiredFieldsByteSizeFallback() const;
  455. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  456. ::google::protobuf::internal::HasBits<1> _has_bits_;
  457. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  458. ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Railing > railing_parameter_;
  459. ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Theta_range > theta_range_;
  460. float center_min_y_;
  461. float center_max_y_;
  462. float center_min_x_;
  463. float center_max_x_;
  464. float corner_min_y_;
  465. float corner_max_y_;
  466. float height_;
  467. friend struct ::protobuf_hardware_5flimit_2eproto::TableStruct;
  468. };
  469. // ===================================================================
  470. // ===================================================================
  471. #ifdef __GNUC__
  472. #pragma GCC diagnostic push
  473. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  474. #endif // __GNUC__
  475. // Railing
  476. // required float pa = 1;
  477. inline bool Railing::has_pa() const {
  478. return (_has_bits_[0] & 0x00000001u) != 0;
  479. }
  480. inline void Railing::set_has_pa() {
  481. _has_bits_[0] |= 0x00000001u;
  482. }
  483. inline void Railing::clear_has_pa() {
  484. _has_bits_[0] &= ~0x00000001u;
  485. }
  486. inline void Railing::clear_pa() {
  487. pa_ = 0;
  488. clear_has_pa();
  489. }
  490. inline float Railing::pa() const {
  491. // @@protoc_insertion_point(field_get:Hardware_limit.Railing.pa)
  492. return pa_;
  493. }
  494. inline void Railing::set_pa(float value) {
  495. set_has_pa();
  496. pa_ = value;
  497. // @@protoc_insertion_point(field_set:Hardware_limit.Railing.pa)
  498. }
  499. // required float pb = 2;
  500. inline bool Railing::has_pb() const {
  501. return (_has_bits_[0] & 0x00000002u) != 0;
  502. }
  503. inline void Railing::set_has_pb() {
  504. _has_bits_[0] |= 0x00000002u;
  505. }
  506. inline void Railing::clear_has_pb() {
  507. _has_bits_[0] &= ~0x00000002u;
  508. }
  509. inline void Railing::clear_pb() {
  510. pb_ = 0;
  511. clear_has_pb();
  512. }
  513. inline float Railing::pb() const {
  514. // @@protoc_insertion_point(field_get:Hardware_limit.Railing.pb)
  515. return pb_;
  516. }
  517. inline void Railing::set_pb(float value) {
  518. set_has_pb();
  519. pb_ = value;
  520. // @@protoc_insertion_point(field_set:Hardware_limit.Railing.pb)
  521. }
  522. // required float pc = 3;
  523. inline bool Railing::has_pc() const {
  524. return (_has_bits_[0] & 0x00000004u) != 0;
  525. }
  526. inline void Railing::set_has_pc() {
  527. _has_bits_[0] |= 0x00000004u;
  528. }
  529. inline void Railing::clear_has_pc() {
  530. _has_bits_[0] &= ~0x00000004u;
  531. }
  532. inline void Railing::clear_pc() {
  533. pc_ = 0;
  534. clear_has_pc();
  535. }
  536. inline float Railing::pc() const {
  537. // @@protoc_insertion_point(field_get:Hardware_limit.Railing.pc)
  538. return pc_;
  539. }
  540. inline void Railing::set_pc(float value) {
  541. set_has_pc();
  542. pc_ = value;
  543. // @@protoc_insertion_point(field_set:Hardware_limit.Railing.pc)
  544. }
  545. // optional float railing_width = 4 [default = 0];
  546. inline bool Railing::has_railing_width() const {
  547. return (_has_bits_[0] & 0x00000008u) != 0;
  548. }
  549. inline void Railing::set_has_railing_width() {
  550. _has_bits_[0] |= 0x00000008u;
  551. }
  552. inline void Railing::clear_has_railing_width() {
  553. _has_bits_[0] &= ~0x00000008u;
  554. }
  555. inline void Railing::clear_railing_width() {
  556. railing_width_ = 0;
  557. clear_has_railing_width();
  558. }
  559. inline float Railing::railing_width() const {
  560. // @@protoc_insertion_point(field_get:Hardware_limit.Railing.railing_width)
  561. return railing_width_;
  562. }
  563. inline void Railing::set_railing_width(float value) {
  564. set_has_railing_width();
  565. railing_width_ = value;
  566. // @@protoc_insertion_point(field_set:Hardware_limit.Railing.railing_width)
  567. }
  568. // -------------------------------------------------------------------
  569. // Theta_range
  570. // required float min_theta = 1;
  571. inline bool Theta_range::has_min_theta() const {
  572. return (_has_bits_[0] & 0x00000001u) != 0;
  573. }
  574. inline void Theta_range::set_has_min_theta() {
  575. _has_bits_[0] |= 0x00000001u;
  576. }
  577. inline void Theta_range::clear_has_min_theta() {
  578. _has_bits_[0] &= ~0x00000001u;
  579. }
  580. inline void Theta_range::clear_min_theta() {
  581. min_theta_ = 0;
  582. clear_has_min_theta();
  583. }
  584. inline float Theta_range::min_theta() const {
  585. // @@protoc_insertion_point(field_get:Hardware_limit.Theta_range.min_theta)
  586. return min_theta_;
  587. }
  588. inline void Theta_range::set_min_theta(float value) {
  589. set_has_min_theta();
  590. min_theta_ = value;
  591. // @@protoc_insertion_point(field_set:Hardware_limit.Theta_range.min_theta)
  592. }
  593. // required float max_theta = 2;
  594. inline bool Theta_range::has_max_theta() const {
  595. return (_has_bits_[0] & 0x00000002u) != 0;
  596. }
  597. inline void Theta_range::set_has_max_theta() {
  598. _has_bits_[0] |= 0x00000002u;
  599. }
  600. inline void Theta_range::clear_has_max_theta() {
  601. _has_bits_[0] &= ~0x00000002u;
  602. }
  603. inline void Theta_range::clear_max_theta() {
  604. max_theta_ = 0;
  605. clear_has_max_theta();
  606. }
  607. inline float Theta_range::max_theta() const {
  608. // @@protoc_insertion_point(field_get:Hardware_limit.Theta_range.max_theta)
  609. return max_theta_;
  610. }
  611. inline void Theta_range::set_max_theta(float value) {
  612. set_has_max_theta();
  613. max_theta_ = value;
  614. // @@protoc_insertion_point(field_set:Hardware_limit.Theta_range.max_theta)
  615. }
  616. // -------------------------------------------------------------------
  617. // Hardware_parameter
  618. // repeated .Hardware_limit.Railing railing_parameter = 1;
  619. inline int Hardware_parameter::railing_parameter_size() const {
  620. return railing_parameter_.size();
  621. }
  622. inline void Hardware_parameter::clear_railing_parameter() {
  623. railing_parameter_.Clear();
  624. }
  625. inline ::Hardware_limit::Railing* Hardware_parameter::mutable_railing_parameter(int index) {
  626. // @@protoc_insertion_point(field_mutable:Hardware_limit.Hardware_parameter.railing_parameter)
  627. return railing_parameter_.Mutable(index);
  628. }
  629. inline ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Railing >*
  630. Hardware_parameter::mutable_railing_parameter() {
  631. // @@protoc_insertion_point(field_mutable_list:Hardware_limit.Hardware_parameter.railing_parameter)
  632. return &railing_parameter_;
  633. }
  634. inline const ::Hardware_limit::Railing& Hardware_parameter::railing_parameter(int index) const {
  635. // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.railing_parameter)
  636. return railing_parameter_.Get(index);
  637. }
  638. inline ::Hardware_limit::Railing* Hardware_parameter::add_railing_parameter() {
  639. // @@protoc_insertion_point(field_add:Hardware_limit.Hardware_parameter.railing_parameter)
  640. return railing_parameter_.Add();
  641. }
  642. inline const ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Railing >&
  643. Hardware_parameter::railing_parameter() const {
  644. // @@protoc_insertion_point(field_list:Hardware_limit.Hardware_parameter.railing_parameter)
  645. return railing_parameter_;
  646. }
  647. // required float center_min_y = 2;
  648. inline bool Hardware_parameter::has_center_min_y() const {
  649. return (_has_bits_[0] & 0x00000001u) != 0;
  650. }
  651. inline void Hardware_parameter::set_has_center_min_y() {
  652. _has_bits_[0] |= 0x00000001u;
  653. }
  654. inline void Hardware_parameter::clear_has_center_min_y() {
  655. _has_bits_[0] &= ~0x00000001u;
  656. }
  657. inline void Hardware_parameter::clear_center_min_y() {
  658. center_min_y_ = 0;
  659. clear_has_center_min_y();
  660. }
  661. inline float Hardware_parameter::center_min_y() const {
  662. // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.center_min_y)
  663. return center_min_y_;
  664. }
  665. inline void Hardware_parameter::set_center_min_y(float value) {
  666. set_has_center_min_y();
  667. center_min_y_ = value;
  668. // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.center_min_y)
  669. }
  670. // required float center_max_y = 3;
  671. inline bool Hardware_parameter::has_center_max_y() const {
  672. return (_has_bits_[0] & 0x00000002u) != 0;
  673. }
  674. inline void Hardware_parameter::set_has_center_max_y() {
  675. _has_bits_[0] |= 0x00000002u;
  676. }
  677. inline void Hardware_parameter::clear_has_center_max_y() {
  678. _has_bits_[0] &= ~0x00000002u;
  679. }
  680. inline void Hardware_parameter::clear_center_max_y() {
  681. center_max_y_ = 0;
  682. clear_has_center_max_y();
  683. }
  684. inline float Hardware_parameter::center_max_y() const {
  685. // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.center_max_y)
  686. return center_max_y_;
  687. }
  688. inline void Hardware_parameter::set_center_max_y(float value) {
  689. set_has_center_max_y();
  690. center_max_y_ = value;
  691. // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.center_max_y)
  692. }
  693. // required float center_min_x = 4;
  694. inline bool Hardware_parameter::has_center_min_x() const {
  695. return (_has_bits_[0] & 0x00000004u) != 0;
  696. }
  697. inline void Hardware_parameter::set_has_center_min_x() {
  698. _has_bits_[0] |= 0x00000004u;
  699. }
  700. inline void Hardware_parameter::clear_has_center_min_x() {
  701. _has_bits_[0] &= ~0x00000004u;
  702. }
  703. inline void Hardware_parameter::clear_center_min_x() {
  704. center_min_x_ = 0;
  705. clear_has_center_min_x();
  706. }
  707. inline float Hardware_parameter::center_min_x() const {
  708. // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.center_min_x)
  709. return center_min_x_;
  710. }
  711. inline void Hardware_parameter::set_center_min_x(float value) {
  712. set_has_center_min_x();
  713. center_min_x_ = value;
  714. // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.center_min_x)
  715. }
  716. // required float center_max_x = 5;
  717. inline bool Hardware_parameter::has_center_max_x() const {
  718. return (_has_bits_[0] & 0x00000008u) != 0;
  719. }
  720. inline void Hardware_parameter::set_has_center_max_x() {
  721. _has_bits_[0] |= 0x00000008u;
  722. }
  723. inline void Hardware_parameter::clear_has_center_max_x() {
  724. _has_bits_[0] &= ~0x00000008u;
  725. }
  726. inline void Hardware_parameter::clear_center_max_x() {
  727. center_max_x_ = 0;
  728. clear_has_center_max_x();
  729. }
  730. inline float Hardware_parameter::center_max_x() const {
  731. // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.center_max_x)
  732. return center_max_x_;
  733. }
  734. inline void Hardware_parameter::set_center_max_x(float value) {
  735. set_has_center_max_x();
  736. center_max_x_ = value;
  737. // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.center_max_x)
  738. }
  739. // required float corner_min_y = 6;
  740. inline bool Hardware_parameter::has_corner_min_y() const {
  741. return (_has_bits_[0] & 0x00000010u) != 0;
  742. }
  743. inline void Hardware_parameter::set_has_corner_min_y() {
  744. _has_bits_[0] |= 0x00000010u;
  745. }
  746. inline void Hardware_parameter::clear_has_corner_min_y() {
  747. _has_bits_[0] &= ~0x00000010u;
  748. }
  749. inline void Hardware_parameter::clear_corner_min_y() {
  750. corner_min_y_ = 0;
  751. clear_has_corner_min_y();
  752. }
  753. inline float Hardware_parameter::corner_min_y() const {
  754. // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.corner_min_y)
  755. return corner_min_y_;
  756. }
  757. inline void Hardware_parameter::set_corner_min_y(float value) {
  758. set_has_corner_min_y();
  759. corner_min_y_ = value;
  760. // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.corner_min_y)
  761. }
  762. // required float corner_max_y = 7;
  763. inline bool Hardware_parameter::has_corner_max_y() const {
  764. return (_has_bits_[0] & 0x00000020u) != 0;
  765. }
  766. inline void Hardware_parameter::set_has_corner_max_y() {
  767. _has_bits_[0] |= 0x00000020u;
  768. }
  769. inline void Hardware_parameter::clear_has_corner_max_y() {
  770. _has_bits_[0] &= ~0x00000020u;
  771. }
  772. inline void Hardware_parameter::clear_corner_max_y() {
  773. corner_max_y_ = 0;
  774. clear_has_corner_max_y();
  775. }
  776. inline float Hardware_parameter::corner_max_y() const {
  777. // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.corner_max_y)
  778. return corner_max_y_;
  779. }
  780. inline void Hardware_parameter::set_corner_max_y(float value) {
  781. set_has_corner_max_y();
  782. corner_max_y_ = value;
  783. // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.corner_max_y)
  784. }
  785. // repeated .Hardware_limit.Theta_range theta_range = 8;
  786. inline int Hardware_parameter::theta_range_size() const {
  787. return theta_range_.size();
  788. }
  789. inline void Hardware_parameter::clear_theta_range() {
  790. theta_range_.Clear();
  791. }
  792. inline ::Hardware_limit::Theta_range* Hardware_parameter::mutable_theta_range(int index) {
  793. // @@protoc_insertion_point(field_mutable:Hardware_limit.Hardware_parameter.theta_range)
  794. return theta_range_.Mutable(index);
  795. }
  796. inline ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Theta_range >*
  797. Hardware_parameter::mutable_theta_range() {
  798. // @@protoc_insertion_point(field_mutable_list:Hardware_limit.Hardware_parameter.theta_range)
  799. return &theta_range_;
  800. }
  801. inline const ::Hardware_limit::Theta_range& Hardware_parameter::theta_range(int index) const {
  802. // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.theta_range)
  803. return theta_range_.Get(index);
  804. }
  805. inline ::Hardware_limit::Theta_range* Hardware_parameter::add_theta_range() {
  806. // @@protoc_insertion_point(field_add:Hardware_limit.Hardware_parameter.theta_range)
  807. return theta_range_.Add();
  808. }
  809. inline const ::google::protobuf::RepeatedPtrField< ::Hardware_limit::Theta_range >&
  810. Hardware_parameter::theta_range() const {
  811. // @@protoc_insertion_point(field_list:Hardware_limit.Hardware_parameter.theta_range)
  812. return theta_range_;
  813. }
  814. // required float height = 9;
  815. inline bool Hardware_parameter::has_height() const {
  816. return (_has_bits_[0] & 0x00000040u) != 0;
  817. }
  818. inline void Hardware_parameter::set_has_height() {
  819. _has_bits_[0] |= 0x00000040u;
  820. }
  821. inline void Hardware_parameter::clear_has_height() {
  822. _has_bits_[0] &= ~0x00000040u;
  823. }
  824. inline void Hardware_parameter::clear_height() {
  825. height_ = 0;
  826. clear_has_height();
  827. }
  828. inline float Hardware_parameter::height() const {
  829. // @@protoc_insertion_point(field_get:Hardware_limit.Hardware_parameter.height)
  830. return height_;
  831. }
  832. inline void Hardware_parameter::set_height(float value) {
  833. set_has_height();
  834. height_ = value;
  835. // @@protoc_insertion_point(field_set:Hardware_limit.Hardware_parameter.height)
  836. }
  837. #ifdef __GNUC__
  838. #pragma GCC diagnostic pop
  839. #endif // __GNUC__
  840. // -------------------------------------------------------------------
  841. // -------------------------------------------------------------------
  842. // @@protoc_insertion_point(namespace_scope)
  843. } // namespace Hardware_limit
  844. // @@protoc_insertion_point(global_scope)
  845. #endif // PROTOBUF_INCLUDED_hardware_5flimit_2eproto