hardware_limit.pb.h 31 KB

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