laser_parameter.pb.h 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: laser_parameter.proto
  3. #ifndef PROTOBUF_laser_5fparameter_2eproto__INCLUDED
  4. #define PROTOBUF_laser_5fparameter_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_laser_5fparameter_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[2];
  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 InitDefaultslaser_parameterImpl();
  40. void InitDefaultslaser_parameter();
  41. void InitDefaultsLaser_parameter_allImpl();
  42. void InitDefaultsLaser_parameter_all();
  43. inline void InitDefaults() {
  44. InitDefaultslaser_parameter();
  45. InitDefaultsLaser_parameter_all();
  46. }
  47. } // namespace protobuf_laser_5fparameter_2eproto
  48. namespace Laser_proto {
  49. class Laser_parameter_all;
  50. class Laser_parameter_allDefaultTypeInternal;
  51. extern Laser_parameter_allDefaultTypeInternal _Laser_parameter_all_default_instance_;
  52. class laser_parameter;
  53. class laser_parameterDefaultTypeInternal;
  54. extern laser_parameterDefaultTypeInternal _laser_parameter_default_instance_;
  55. } // namespace Laser_proto
  56. namespace Laser_proto {
  57. // ===================================================================
  58. class laser_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Laser_proto.laser_parameter) */ {
  59. public:
  60. laser_parameter();
  61. virtual ~laser_parameter();
  62. laser_parameter(const laser_parameter& from);
  63. inline laser_parameter& operator=(const laser_parameter& from) {
  64. CopyFrom(from);
  65. return *this;
  66. }
  67. #if LANG_CXX11
  68. laser_parameter(laser_parameter&& from) noexcept
  69. : laser_parameter() {
  70. *this = ::std::move(from);
  71. }
  72. inline laser_parameter& operator=(laser_parameter&& from) noexcept {
  73. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  74. if (this != &from) InternalSwap(&from);
  75. } else {
  76. CopyFrom(from);
  77. }
  78. return *this;
  79. }
  80. #endif
  81. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  82. return _internal_metadata_.unknown_fields();
  83. }
  84. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  85. return _internal_metadata_.mutable_unknown_fields();
  86. }
  87. static const ::google::protobuf::Descriptor* descriptor();
  88. static const laser_parameter& default_instance();
  89. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  90. static inline const laser_parameter* internal_default_instance() {
  91. return reinterpret_cast<const laser_parameter*>(
  92. &_laser_parameter_default_instance_);
  93. }
  94. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  95. 0;
  96. void Swap(laser_parameter* other);
  97. friend void swap(laser_parameter& a, laser_parameter& b) {
  98. a.Swap(&b);
  99. }
  100. // implements Message ----------------------------------------------
  101. inline laser_parameter* New() const PROTOBUF_FINAL { return New(NULL); }
  102. laser_parameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  103. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  104. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  105. void CopyFrom(const laser_parameter& from);
  106. void MergeFrom(const laser_parameter& from);
  107. void Clear() PROTOBUF_FINAL;
  108. bool IsInitialized() const PROTOBUF_FINAL;
  109. size_t ByteSizeLong() const PROTOBUF_FINAL;
  110. bool MergePartialFromCodedStream(
  111. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  112. void SerializeWithCachedSizes(
  113. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  114. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  115. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  116. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  117. private:
  118. void SharedCtor();
  119. void SharedDtor();
  120. void SetCachedSize(int size) const PROTOBUF_FINAL;
  121. void InternalSwap(laser_parameter* other);
  122. private:
  123. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  124. return NULL;
  125. }
  126. inline void* MaybeArenaPtr() const {
  127. return NULL;
  128. }
  129. public:
  130. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  131. // nested types ----------------------------------------------------
  132. // accessors -------------------------------------------------------
  133. // optional string laser_ip = 1;
  134. bool has_laser_ip() const;
  135. void clear_laser_ip();
  136. static const int kLaserIpFieldNumber = 1;
  137. const ::std::string& laser_ip() const;
  138. void set_laser_ip(const ::std::string& value);
  139. #if LANG_CXX11
  140. void set_laser_ip(::std::string&& value);
  141. #endif
  142. void set_laser_ip(const char* value);
  143. void set_laser_ip(const char* value, size_t size);
  144. ::std::string* mutable_laser_ip();
  145. ::std::string* release_laser_ip();
  146. void set_allocated_laser_ip(::std::string* laser_ip);
  147. // optional string sn = 24;
  148. bool has_sn() const;
  149. void clear_sn();
  150. static const int kSnFieldNumber = 24;
  151. const ::std::string& sn() const;
  152. void set_sn(const ::std::string& value);
  153. #if LANG_CXX11
  154. void set_sn(::std::string&& value);
  155. #endif
  156. void set_sn(const char* value);
  157. void set_sn(const char* value, size_t size);
  158. ::std::string* mutable_sn();
  159. ::std::string* release_sn();
  160. void set_allocated_sn(::std::string* sn);
  161. // optional string type = 26 [default = ""];
  162. bool has_type() const;
  163. void clear_type();
  164. static const int kTypeFieldNumber = 26;
  165. const ::std::string& type() const;
  166. void set_type(const ::std::string& value);
  167. #if LANG_CXX11
  168. void set_type(::std::string&& value);
  169. #endif
  170. void set_type(const char* value);
  171. void set_type(const char* value, size_t size);
  172. ::std::string* mutable_type();
  173. ::std::string* release_type();
  174. void set_allocated_type(::std::string* type);
  175. // optional int64 laser_port = 2;
  176. bool has_laser_port() const;
  177. void clear_laser_port();
  178. static const int kLaserPortFieldNumber = 2;
  179. ::google::protobuf::int64 laser_port() const;
  180. void set_laser_port(::google::protobuf::int64 value);
  181. // optional int64 laser_port_remote = 3;
  182. bool has_laser_port_remote() const;
  183. void clear_laser_port_remote();
  184. static const int kLaserPortRemoteFieldNumber = 3;
  185. ::google::protobuf::int64 laser_port_remote() const;
  186. void set_laser_port_remote(::google::protobuf::int64 value);
  187. // optional double axis_x_theta = 16;
  188. bool has_axis_x_theta() const;
  189. void clear_axis_x_theta();
  190. static const int kAxisXThetaFieldNumber = 16;
  191. double axis_x_theta() const;
  192. void set_axis_x_theta(double value);
  193. // optional double axis_y_theta = 17;
  194. bool has_axis_y_theta() const;
  195. void clear_axis_y_theta();
  196. static const int kAxisYThetaFieldNumber = 17;
  197. double axis_y_theta() const;
  198. void set_axis_y_theta(double value);
  199. // optional double axis_z_theta = 18;
  200. bool has_axis_z_theta() const;
  201. void clear_axis_z_theta();
  202. static const int kAxisZThetaFieldNumber = 18;
  203. double axis_z_theta() const;
  204. void set_axis_z_theta(double value);
  205. // optional double translation_x = 19;
  206. bool has_translation_x() const;
  207. void clear_translation_x();
  208. static const int kTranslationXFieldNumber = 19;
  209. double translation_x() const;
  210. void set_translation_x(double value);
  211. // optional double translation_y = 20;
  212. bool has_translation_y() const;
  213. void clear_translation_y();
  214. static const int kTranslationYFieldNumber = 20;
  215. double translation_y() const;
  216. void set_translation_y(double value);
  217. // optional double translation_z = 21;
  218. bool has_translation_z() const;
  219. void clear_translation_z();
  220. static const int kTranslationZFieldNumber = 21;
  221. double translation_z() const;
  222. void set_translation_z(double value);
  223. // optional double install_angle = 22 [default = 0];
  224. bool has_install_angle() const;
  225. void clear_install_angle();
  226. static const int kInstallAngleFieldNumber = 22;
  227. double install_angle() const;
  228. void set_install_angle(double value);
  229. // optional bool scan_direction = 23 [default = true];
  230. bool has_scan_direction() const;
  231. void clear_scan_direction();
  232. static const int kScanDirectionFieldNumber = 23;
  233. bool scan_direction() const;
  234. void set_scan_direction(bool value);
  235. // optional double mat_r00 = 4 [default = 1];
  236. bool has_mat_r00() const;
  237. void clear_mat_r00();
  238. static const int kMatR00FieldNumber = 4;
  239. double mat_r00() const;
  240. void set_mat_r00(double value);
  241. // optional double mat_r01 = 5 [default = 1];
  242. bool has_mat_r01() const;
  243. void clear_mat_r01();
  244. static const int kMatR01FieldNumber = 5;
  245. double mat_r01() const;
  246. void set_mat_r01(double value);
  247. // optional double mat_r02 = 6 [default = 1];
  248. bool has_mat_r02() const;
  249. void clear_mat_r02();
  250. static const int kMatR02FieldNumber = 6;
  251. double mat_r02() const;
  252. void set_mat_r02(double value);
  253. // optional double mat_r03 = 7 [default = 1];
  254. bool has_mat_r03() const;
  255. void clear_mat_r03();
  256. static const int kMatR03FieldNumber = 7;
  257. double mat_r03() const;
  258. void set_mat_r03(double value);
  259. // optional double mat_r10 = 8 [default = 1];
  260. bool has_mat_r10() const;
  261. void clear_mat_r10();
  262. static const int kMatR10FieldNumber = 8;
  263. double mat_r10() const;
  264. void set_mat_r10(double value);
  265. // optional double mat_r11 = 9 [default = 1];
  266. bool has_mat_r11() const;
  267. void clear_mat_r11();
  268. static const int kMatR11FieldNumber = 9;
  269. double mat_r11() const;
  270. void set_mat_r11(double value);
  271. // optional double mat_r12 = 10 [default = 1];
  272. bool has_mat_r12() const;
  273. void clear_mat_r12();
  274. static const int kMatR12FieldNumber = 10;
  275. double mat_r12() const;
  276. void set_mat_r12(double value);
  277. // optional double mat_r13 = 11 [default = 1];
  278. bool has_mat_r13() const;
  279. void clear_mat_r13();
  280. static const int kMatR13FieldNumber = 11;
  281. double mat_r13() const;
  282. void set_mat_r13(double value);
  283. // optional double mat_r20 = 12 [default = 1];
  284. bool has_mat_r20() const;
  285. void clear_mat_r20();
  286. static const int kMatR20FieldNumber = 12;
  287. double mat_r20() const;
  288. void set_mat_r20(double value);
  289. // optional double mat_r21 = 13 [default = 1];
  290. bool has_mat_r21() const;
  291. void clear_mat_r21();
  292. static const int kMatR21FieldNumber = 13;
  293. double mat_r21() const;
  294. void set_mat_r21(double value);
  295. // optional double mat_r22 = 14 [default = 1];
  296. bool has_mat_r22() const;
  297. void clear_mat_r22();
  298. static const int kMatR22FieldNumber = 14;
  299. double mat_r22() const;
  300. void set_mat_r22(double value);
  301. // optional double mat_r23 = 15 [default = 1];
  302. bool has_mat_r23() const;
  303. void clear_mat_r23();
  304. static const int kMatR23FieldNumber = 15;
  305. double mat_r23() const;
  306. void set_mat_r23(double value);
  307. // optional int64 frame_num = 25 [default = 3000];
  308. bool has_frame_num() const;
  309. void clear_frame_num();
  310. static const int kFrameNumFieldNumber = 25;
  311. ::google::protobuf::int64 frame_num() const;
  312. void set_frame_num(::google::protobuf::int64 value);
  313. // @@protoc_insertion_point(class_scope:Laser_proto.laser_parameter)
  314. private:
  315. void set_has_laser_ip();
  316. void clear_has_laser_ip();
  317. void set_has_laser_port();
  318. void clear_has_laser_port();
  319. void set_has_laser_port_remote();
  320. void clear_has_laser_port_remote();
  321. void set_has_mat_r00();
  322. void clear_has_mat_r00();
  323. void set_has_mat_r01();
  324. void clear_has_mat_r01();
  325. void set_has_mat_r02();
  326. void clear_has_mat_r02();
  327. void set_has_mat_r03();
  328. void clear_has_mat_r03();
  329. void set_has_mat_r10();
  330. void clear_has_mat_r10();
  331. void set_has_mat_r11();
  332. void clear_has_mat_r11();
  333. void set_has_mat_r12();
  334. void clear_has_mat_r12();
  335. void set_has_mat_r13();
  336. void clear_has_mat_r13();
  337. void set_has_mat_r20();
  338. void clear_has_mat_r20();
  339. void set_has_mat_r21();
  340. void clear_has_mat_r21();
  341. void set_has_mat_r22();
  342. void clear_has_mat_r22();
  343. void set_has_mat_r23();
  344. void clear_has_mat_r23();
  345. void set_has_axis_x_theta();
  346. void clear_has_axis_x_theta();
  347. void set_has_axis_y_theta();
  348. void clear_has_axis_y_theta();
  349. void set_has_axis_z_theta();
  350. void clear_has_axis_z_theta();
  351. void set_has_translation_x();
  352. void clear_has_translation_x();
  353. void set_has_translation_y();
  354. void clear_has_translation_y();
  355. void set_has_translation_z();
  356. void clear_has_translation_z();
  357. void set_has_install_angle();
  358. void clear_has_install_angle();
  359. void set_has_scan_direction();
  360. void clear_has_scan_direction();
  361. void set_has_sn();
  362. void clear_has_sn();
  363. void set_has_frame_num();
  364. void clear_has_frame_num();
  365. void set_has_type();
  366. void clear_has_type();
  367. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  368. ::google::protobuf::internal::HasBits<1> _has_bits_;
  369. mutable int _cached_size_;
  370. ::google::protobuf::internal::ArenaStringPtr laser_ip_;
  371. ::google::protobuf::internal::ArenaStringPtr sn_;
  372. ::google::protobuf::internal::ArenaStringPtr type_;
  373. ::google::protobuf::int64 laser_port_;
  374. ::google::protobuf::int64 laser_port_remote_;
  375. double axis_x_theta_;
  376. double axis_y_theta_;
  377. double axis_z_theta_;
  378. double translation_x_;
  379. double translation_y_;
  380. double translation_z_;
  381. double install_angle_;
  382. bool scan_direction_;
  383. double mat_r00_;
  384. double mat_r01_;
  385. double mat_r02_;
  386. double mat_r03_;
  387. double mat_r10_;
  388. double mat_r11_;
  389. double mat_r12_;
  390. double mat_r13_;
  391. double mat_r20_;
  392. double mat_r21_;
  393. double mat_r22_;
  394. double mat_r23_;
  395. ::google::protobuf::int64 frame_num_;
  396. friend struct ::protobuf_laser_5fparameter_2eproto::TableStruct;
  397. friend void ::protobuf_laser_5fparameter_2eproto::InitDefaultslaser_parameterImpl();
  398. };
  399. // -------------------------------------------------------------------
  400. class Laser_parameter_all : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Laser_proto.Laser_parameter_all) */ {
  401. public:
  402. Laser_parameter_all();
  403. virtual ~Laser_parameter_all();
  404. Laser_parameter_all(const Laser_parameter_all& from);
  405. inline Laser_parameter_all& operator=(const Laser_parameter_all& from) {
  406. CopyFrom(from);
  407. return *this;
  408. }
  409. #if LANG_CXX11
  410. Laser_parameter_all(Laser_parameter_all&& from) noexcept
  411. : Laser_parameter_all() {
  412. *this = ::std::move(from);
  413. }
  414. inline Laser_parameter_all& operator=(Laser_parameter_all&& from) noexcept {
  415. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  416. if (this != &from) InternalSwap(&from);
  417. } else {
  418. CopyFrom(from);
  419. }
  420. return *this;
  421. }
  422. #endif
  423. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  424. return _internal_metadata_.unknown_fields();
  425. }
  426. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  427. return _internal_metadata_.mutable_unknown_fields();
  428. }
  429. static const ::google::protobuf::Descriptor* descriptor();
  430. static const Laser_parameter_all& default_instance();
  431. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  432. static inline const Laser_parameter_all* internal_default_instance() {
  433. return reinterpret_cast<const Laser_parameter_all*>(
  434. &_Laser_parameter_all_default_instance_);
  435. }
  436. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  437. 1;
  438. void Swap(Laser_parameter_all* other);
  439. friend void swap(Laser_parameter_all& a, Laser_parameter_all& b) {
  440. a.Swap(&b);
  441. }
  442. // implements Message ----------------------------------------------
  443. inline Laser_parameter_all* New() const PROTOBUF_FINAL { return New(NULL); }
  444. Laser_parameter_all* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  445. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  446. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  447. void CopyFrom(const Laser_parameter_all& from);
  448. void MergeFrom(const Laser_parameter_all& from);
  449. void Clear() PROTOBUF_FINAL;
  450. bool IsInitialized() const PROTOBUF_FINAL;
  451. size_t ByteSizeLong() const PROTOBUF_FINAL;
  452. bool MergePartialFromCodedStream(
  453. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  454. void SerializeWithCachedSizes(
  455. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  456. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  457. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  458. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  459. private:
  460. void SharedCtor();
  461. void SharedDtor();
  462. void SetCachedSize(int size) const PROTOBUF_FINAL;
  463. void InternalSwap(Laser_parameter_all* other);
  464. private:
  465. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  466. return NULL;
  467. }
  468. inline void* MaybeArenaPtr() const {
  469. return NULL;
  470. }
  471. public:
  472. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  473. // nested types ----------------------------------------------------
  474. // accessors -------------------------------------------------------
  475. // repeated .Laser_proto.laser_parameter laser_parameters = 1;
  476. int laser_parameters_size() const;
  477. void clear_laser_parameters();
  478. static const int kLaserParametersFieldNumber = 1;
  479. const ::Laser_proto::laser_parameter& laser_parameters(int index) const;
  480. ::Laser_proto::laser_parameter* mutable_laser_parameters(int index);
  481. ::Laser_proto::laser_parameter* add_laser_parameters();
  482. ::google::protobuf::RepeatedPtrField< ::Laser_proto::laser_parameter >*
  483. mutable_laser_parameters();
  484. const ::google::protobuf::RepeatedPtrField< ::Laser_proto::laser_parameter >&
  485. laser_parameters() const;
  486. // @@protoc_insertion_point(class_scope:Laser_proto.Laser_parameter_all)
  487. private:
  488. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  489. ::google::protobuf::internal::HasBits<1> _has_bits_;
  490. mutable int _cached_size_;
  491. ::google::protobuf::RepeatedPtrField< ::Laser_proto::laser_parameter > laser_parameters_;
  492. friend struct ::protobuf_laser_5fparameter_2eproto::TableStruct;
  493. friend void ::protobuf_laser_5fparameter_2eproto::InitDefaultsLaser_parameter_allImpl();
  494. };
  495. // ===================================================================
  496. // ===================================================================
  497. #ifdef __GNUC__
  498. #pragma GCC diagnostic push
  499. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  500. #endif // __GNUC__
  501. // laser_parameter
  502. // optional string laser_ip = 1;
  503. inline bool laser_parameter::has_laser_ip() const {
  504. return (_has_bits_[0] & 0x00000001u) != 0;
  505. }
  506. inline void laser_parameter::set_has_laser_ip() {
  507. _has_bits_[0] |= 0x00000001u;
  508. }
  509. inline void laser_parameter::clear_has_laser_ip() {
  510. _has_bits_[0] &= ~0x00000001u;
  511. }
  512. inline void laser_parameter::clear_laser_ip() {
  513. laser_ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  514. clear_has_laser_ip();
  515. }
  516. inline const ::std::string& laser_parameter::laser_ip() const {
  517. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.laser_ip)
  518. return laser_ip_.GetNoArena();
  519. }
  520. inline void laser_parameter::set_laser_ip(const ::std::string& value) {
  521. set_has_laser_ip();
  522. laser_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  523. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.laser_ip)
  524. }
  525. #if LANG_CXX11
  526. inline void laser_parameter::set_laser_ip(::std::string&& value) {
  527. set_has_laser_ip();
  528. laser_ip_.SetNoArena(
  529. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  530. // @@protoc_insertion_point(field_set_rvalue:Laser_proto.laser_parameter.laser_ip)
  531. }
  532. #endif
  533. inline void laser_parameter::set_laser_ip(const char* value) {
  534. GOOGLE_DCHECK(value != NULL);
  535. set_has_laser_ip();
  536. laser_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  537. // @@protoc_insertion_point(field_set_char:Laser_proto.laser_parameter.laser_ip)
  538. }
  539. inline void laser_parameter::set_laser_ip(const char* value, size_t size) {
  540. set_has_laser_ip();
  541. laser_ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  542. ::std::string(reinterpret_cast<const char*>(value), size));
  543. // @@protoc_insertion_point(field_set_pointer:Laser_proto.laser_parameter.laser_ip)
  544. }
  545. inline ::std::string* laser_parameter::mutable_laser_ip() {
  546. set_has_laser_ip();
  547. // @@protoc_insertion_point(field_mutable:Laser_proto.laser_parameter.laser_ip)
  548. return laser_ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  549. }
  550. inline ::std::string* laser_parameter::release_laser_ip() {
  551. // @@protoc_insertion_point(field_release:Laser_proto.laser_parameter.laser_ip)
  552. clear_has_laser_ip();
  553. return laser_ip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  554. }
  555. inline void laser_parameter::set_allocated_laser_ip(::std::string* laser_ip) {
  556. if (laser_ip != NULL) {
  557. set_has_laser_ip();
  558. } else {
  559. clear_has_laser_ip();
  560. }
  561. laser_ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), laser_ip);
  562. // @@protoc_insertion_point(field_set_allocated:Laser_proto.laser_parameter.laser_ip)
  563. }
  564. // optional int64 laser_port = 2;
  565. inline bool laser_parameter::has_laser_port() const {
  566. return (_has_bits_[0] & 0x00000008u) != 0;
  567. }
  568. inline void laser_parameter::set_has_laser_port() {
  569. _has_bits_[0] |= 0x00000008u;
  570. }
  571. inline void laser_parameter::clear_has_laser_port() {
  572. _has_bits_[0] &= ~0x00000008u;
  573. }
  574. inline void laser_parameter::clear_laser_port() {
  575. laser_port_ = GOOGLE_LONGLONG(0);
  576. clear_has_laser_port();
  577. }
  578. inline ::google::protobuf::int64 laser_parameter::laser_port() const {
  579. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.laser_port)
  580. return laser_port_;
  581. }
  582. inline void laser_parameter::set_laser_port(::google::protobuf::int64 value) {
  583. set_has_laser_port();
  584. laser_port_ = value;
  585. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.laser_port)
  586. }
  587. // optional int64 laser_port_remote = 3;
  588. inline bool laser_parameter::has_laser_port_remote() const {
  589. return (_has_bits_[0] & 0x00000010u) != 0;
  590. }
  591. inline void laser_parameter::set_has_laser_port_remote() {
  592. _has_bits_[0] |= 0x00000010u;
  593. }
  594. inline void laser_parameter::clear_has_laser_port_remote() {
  595. _has_bits_[0] &= ~0x00000010u;
  596. }
  597. inline void laser_parameter::clear_laser_port_remote() {
  598. laser_port_remote_ = GOOGLE_LONGLONG(0);
  599. clear_has_laser_port_remote();
  600. }
  601. inline ::google::protobuf::int64 laser_parameter::laser_port_remote() const {
  602. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.laser_port_remote)
  603. return laser_port_remote_;
  604. }
  605. inline void laser_parameter::set_laser_port_remote(::google::protobuf::int64 value) {
  606. set_has_laser_port_remote();
  607. laser_port_remote_ = value;
  608. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.laser_port_remote)
  609. }
  610. // optional double mat_r00 = 4 [default = 1];
  611. inline bool laser_parameter::has_mat_r00() const {
  612. return (_has_bits_[0] & 0x00002000u) != 0;
  613. }
  614. inline void laser_parameter::set_has_mat_r00() {
  615. _has_bits_[0] |= 0x00002000u;
  616. }
  617. inline void laser_parameter::clear_has_mat_r00() {
  618. _has_bits_[0] &= ~0x00002000u;
  619. }
  620. inline void laser_parameter::clear_mat_r00() {
  621. mat_r00_ = 1;
  622. clear_has_mat_r00();
  623. }
  624. inline double laser_parameter::mat_r00() const {
  625. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r00)
  626. return mat_r00_;
  627. }
  628. inline void laser_parameter::set_mat_r00(double value) {
  629. set_has_mat_r00();
  630. mat_r00_ = value;
  631. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r00)
  632. }
  633. // optional double mat_r01 = 5 [default = 1];
  634. inline bool laser_parameter::has_mat_r01() const {
  635. return (_has_bits_[0] & 0x00004000u) != 0;
  636. }
  637. inline void laser_parameter::set_has_mat_r01() {
  638. _has_bits_[0] |= 0x00004000u;
  639. }
  640. inline void laser_parameter::clear_has_mat_r01() {
  641. _has_bits_[0] &= ~0x00004000u;
  642. }
  643. inline void laser_parameter::clear_mat_r01() {
  644. mat_r01_ = 1;
  645. clear_has_mat_r01();
  646. }
  647. inline double laser_parameter::mat_r01() const {
  648. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r01)
  649. return mat_r01_;
  650. }
  651. inline void laser_parameter::set_mat_r01(double value) {
  652. set_has_mat_r01();
  653. mat_r01_ = value;
  654. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r01)
  655. }
  656. // optional double mat_r02 = 6 [default = 1];
  657. inline bool laser_parameter::has_mat_r02() const {
  658. return (_has_bits_[0] & 0x00008000u) != 0;
  659. }
  660. inline void laser_parameter::set_has_mat_r02() {
  661. _has_bits_[0] |= 0x00008000u;
  662. }
  663. inline void laser_parameter::clear_has_mat_r02() {
  664. _has_bits_[0] &= ~0x00008000u;
  665. }
  666. inline void laser_parameter::clear_mat_r02() {
  667. mat_r02_ = 1;
  668. clear_has_mat_r02();
  669. }
  670. inline double laser_parameter::mat_r02() const {
  671. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r02)
  672. return mat_r02_;
  673. }
  674. inline void laser_parameter::set_mat_r02(double value) {
  675. set_has_mat_r02();
  676. mat_r02_ = value;
  677. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r02)
  678. }
  679. // optional double mat_r03 = 7 [default = 1];
  680. inline bool laser_parameter::has_mat_r03() const {
  681. return (_has_bits_[0] & 0x00010000u) != 0;
  682. }
  683. inline void laser_parameter::set_has_mat_r03() {
  684. _has_bits_[0] |= 0x00010000u;
  685. }
  686. inline void laser_parameter::clear_has_mat_r03() {
  687. _has_bits_[0] &= ~0x00010000u;
  688. }
  689. inline void laser_parameter::clear_mat_r03() {
  690. mat_r03_ = 1;
  691. clear_has_mat_r03();
  692. }
  693. inline double laser_parameter::mat_r03() const {
  694. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r03)
  695. return mat_r03_;
  696. }
  697. inline void laser_parameter::set_mat_r03(double value) {
  698. set_has_mat_r03();
  699. mat_r03_ = value;
  700. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r03)
  701. }
  702. // optional double mat_r10 = 8 [default = 1];
  703. inline bool laser_parameter::has_mat_r10() const {
  704. return (_has_bits_[0] & 0x00020000u) != 0;
  705. }
  706. inline void laser_parameter::set_has_mat_r10() {
  707. _has_bits_[0] |= 0x00020000u;
  708. }
  709. inline void laser_parameter::clear_has_mat_r10() {
  710. _has_bits_[0] &= ~0x00020000u;
  711. }
  712. inline void laser_parameter::clear_mat_r10() {
  713. mat_r10_ = 1;
  714. clear_has_mat_r10();
  715. }
  716. inline double laser_parameter::mat_r10() const {
  717. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r10)
  718. return mat_r10_;
  719. }
  720. inline void laser_parameter::set_mat_r10(double value) {
  721. set_has_mat_r10();
  722. mat_r10_ = value;
  723. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r10)
  724. }
  725. // optional double mat_r11 = 9 [default = 1];
  726. inline bool laser_parameter::has_mat_r11() const {
  727. return (_has_bits_[0] & 0x00040000u) != 0;
  728. }
  729. inline void laser_parameter::set_has_mat_r11() {
  730. _has_bits_[0] |= 0x00040000u;
  731. }
  732. inline void laser_parameter::clear_has_mat_r11() {
  733. _has_bits_[0] &= ~0x00040000u;
  734. }
  735. inline void laser_parameter::clear_mat_r11() {
  736. mat_r11_ = 1;
  737. clear_has_mat_r11();
  738. }
  739. inline double laser_parameter::mat_r11() const {
  740. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r11)
  741. return mat_r11_;
  742. }
  743. inline void laser_parameter::set_mat_r11(double value) {
  744. set_has_mat_r11();
  745. mat_r11_ = value;
  746. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r11)
  747. }
  748. // optional double mat_r12 = 10 [default = 1];
  749. inline bool laser_parameter::has_mat_r12() const {
  750. return (_has_bits_[0] & 0x00080000u) != 0;
  751. }
  752. inline void laser_parameter::set_has_mat_r12() {
  753. _has_bits_[0] |= 0x00080000u;
  754. }
  755. inline void laser_parameter::clear_has_mat_r12() {
  756. _has_bits_[0] &= ~0x00080000u;
  757. }
  758. inline void laser_parameter::clear_mat_r12() {
  759. mat_r12_ = 1;
  760. clear_has_mat_r12();
  761. }
  762. inline double laser_parameter::mat_r12() const {
  763. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r12)
  764. return mat_r12_;
  765. }
  766. inline void laser_parameter::set_mat_r12(double value) {
  767. set_has_mat_r12();
  768. mat_r12_ = value;
  769. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r12)
  770. }
  771. // optional double mat_r13 = 11 [default = 1];
  772. inline bool laser_parameter::has_mat_r13() const {
  773. return (_has_bits_[0] & 0x00100000u) != 0;
  774. }
  775. inline void laser_parameter::set_has_mat_r13() {
  776. _has_bits_[0] |= 0x00100000u;
  777. }
  778. inline void laser_parameter::clear_has_mat_r13() {
  779. _has_bits_[0] &= ~0x00100000u;
  780. }
  781. inline void laser_parameter::clear_mat_r13() {
  782. mat_r13_ = 1;
  783. clear_has_mat_r13();
  784. }
  785. inline double laser_parameter::mat_r13() const {
  786. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r13)
  787. return mat_r13_;
  788. }
  789. inline void laser_parameter::set_mat_r13(double value) {
  790. set_has_mat_r13();
  791. mat_r13_ = value;
  792. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r13)
  793. }
  794. // optional double mat_r20 = 12 [default = 1];
  795. inline bool laser_parameter::has_mat_r20() const {
  796. return (_has_bits_[0] & 0x00200000u) != 0;
  797. }
  798. inline void laser_parameter::set_has_mat_r20() {
  799. _has_bits_[0] |= 0x00200000u;
  800. }
  801. inline void laser_parameter::clear_has_mat_r20() {
  802. _has_bits_[0] &= ~0x00200000u;
  803. }
  804. inline void laser_parameter::clear_mat_r20() {
  805. mat_r20_ = 1;
  806. clear_has_mat_r20();
  807. }
  808. inline double laser_parameter::mat_r20() const {
  809. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r20)
  810. return mat_r20_;
  811. }
  812. inline void laser_parameter::set_mat_r20(double value) {
  813. set_has_mat_r20();
  814. mat_r20_ = value;
  815. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r20)
  816. }
  817. // optional double mat_r21 = 13 [default = 1];
  818. inline bool laser_parameter::has_mat_r21() const {
  819. return (_has_bits_[0] & 0x00400000u) != 0;
  820. }
  821. inline void laser_parameter::set_has_mat_r21() {
  822. _has_bits_[0] |= 0x00400000u;
  823. }
  824. inline void laser_parameter::clear_has_mat_r21() {
  825. _has_bits_[0] &= ~0x00400000u;
  826. }
  827. inline void laser_parameter::clear_mat_r21() {
  828. mat_r21_ = 1;
  829. clear_has_mat_r21();
  830. }
  831. inline double laser_parameter::mat_r21() const {
  832. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r21)
  833. return mat_r21_;
  834. }
  835. inline void laser_parameter::set_mat_r21(double value) {
  836. set_has_mat_r21();
  837. mat_r21_ = value;
  838. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r21)
  839. }
  840. // optional double mat_r22 = 14 [default = 1];
  841. inline bool laser_parameter::has_mat_r22() const {
  842. return (_has_bits_[0] & 0x00800000u) != 0;
  843. }
  844. inline void laser_parameter::set_has_mat_r22() {
  845. _has_bits_[0] |= 0x00800000u;
  846. }
  847. inline void laser_parameter::clear_has_mat_r22() {
  848. _has_bits_[0] &= ~0x00800000u;
  849. }
  850. inline void laser_parameter::clear_mat_r22() {
  851. mat_r22_ = 1;
  852. clear_has_mat_r22();
  853. }
  854. inline double laser_parameter::mat_r22() const {
  855. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r22)
  856. return mat_r22_;
  857. }
  858. inline void laser_parameter::set_mat_r22(double value) {
  859. set_has_mat_r22();
  860. mat_r22_ = value;
  861. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r22)
  862. }
  863. // optional double mat_r23 = 15 [default = 1];
  864. inline bool laser_parameter::has_mat_r23() const {
  865. return (_has_bits_[0] & 0x01000000u) != 0;
  866. }
  867. inline void laser_parameter::set_has_mat_r23() {
  868. _has_bits_[0] |= 0x01000000u;
  869. }
  870. inline void laser_parameter::clear_has_mat_r23() {
  871. _has_bits_[0] &= ~0x01000000u;
  872. }
  873. inline void laser_parameter::clear_mat_r23() {
  874. mat_r23_ = 1;
  875. clear_has_mat_r23();
  876. }
  877. inline double laser_parameter::mat_r23() const {
  878. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r23)
  879. return mat_r23_;
  880. }
  881. inline void laser_parameter::set_mat_r23(double value) {
  882. set_has_mat_r23();
  883. mat_r23_ = value;
  884. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r23)
  885. }
  886. // optional double axis_x_theta = 16;
  887. inline bool laser_parameter::has_axis_x_theta() const {
  888. return (_has_bits_[0] & 0x00000020u) != 0;
  889. }
  890. inline void laser_parameter::set_has_axis_x_theta() {
  891. _has_bits_[0] |= 0x00000020u;
  892. }
  893. inline void laser_parameter::clear_has_axis_x_theta() {
  894. _has_bits_[0] &= ~0x00000020u;
  895. }
  896. inline void laser_parameter::clear_axis_x_theta() {
  897. axis_x_theta_ = 0;
  898. clear_has_axis_x_theta();
  899. }
  900. inline double laser_parameter::axis_x_theta() const {
  901. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.axis_x_theta)
  902. return axis_x_theta_;
  903. }
  904. inline void laser_parameter::set_axis_x_theta(double value) {
  905. set_has_axis_x_theta();
  906. axis_x_theta_ = value;
  907. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.axis_x_theta)
  908. }
  909. // optional double axis_y_theta = 17;
  910. inline bool laser_parameter::has_axis_y_theta() const {
  911. return (_has_bits_[0] & 0x00000040u) != 0;
  912. }
  913. inline void laser_parameter::set_has_axis_y_theta() {
  914. _has_bits_[0] |= 0x00000040u;
  915. }
  916. inline void laser_parameter::clear_has_axis_y_theta() {
  917. _has_bits_[0] &= ~0x00000040u;
  918. }
  919. inline void laser_parameter::clear_axis_y_theta() {
  920. axis_y_theta_ = 0;
  921. clear_has_axis_y_theta();
  922. }
  923. inline double laser_parameter::axis_y_theta() const {
  924. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.axis_y_theta)
  925. return axis_y_theta_;
  926. }
  927. inline void laser_parameter::set_axis_y_theta(double value) {
  928. set_has_axis_y_theta();
  929. axis_y_theta_ = value;
  930. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.axis_y_theta)
  931. }
  932. // optional double axis_z_theta = 18;
  933. inline bool laser_parameter::has_axis_z_theta() const {
  934. return (_has_bits_[0] & 0x00000080u) != 0;
  935. }
  936. inline void laser_parameter::set_has_axis_z_theta() {
  937. _has_bits_[0] |= 0x00000080u;
  938. }
  939. inline void laser_parameter::clear_has_axis_z_theta() {
  940. _has_bits_[0] &= ~0x00000080u;
  941. }
  942. inline void laser_parameter::clear_axis_z_theta() {
  943. axis_z_theta_ = 0;
  944. clear_has_axis_z_theta();
  945. }
  946. inline double laser_parameter::axis_z_theta() const {
  947. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.axis_z_theta)
  948. return axis_z_theta_;
  949. }
  950. inline void laser_parameter::set_axis_z_theta(double value) {
  951. set_has_axis_z_theta();
  952. axis_z_theta_ = value;
  953. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.axis_z_theta)
  954. }
  955. // optional double translation_x = 19;
  956. inline bool laser_parameter::has_translation_x() const {
  957. return (_has_bits_[0] & 0x00000100u) != 0;
  958. }
  959. inline void laser_parameter::set_has_translation_x() {
  960. _has_bits_[0] |= 0x00000100u;
  961. }
  962. inline void laser_parameter::clear_has_translation_x() {
  963. _has_bits_[0] &= ~0x00000100u;
  964. }
  965. inline void laser_parameter::clear_translation_x() {
  966. translation_x_ = 0;
  967. clear_has_translation_x();
  968. }
  969. inline double laser_parameter::translation_x() const {
  970. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.translation_x)
  971. return translation_x_;
  972. }
  973. inline void laser_parameter::set_translation_x(double value) {
  974. set_has_translation_x();
  975. translation_x_ = value;
  976. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.translation_x)
  977. }
  978. // optional double translation_y = 20;
  979. inline bool laser_parameter::has_translation_y() const {
  980. return (_has_bits_[0] & 0x00000200u) != 0;
  981. }
  982. inline void laser_parameter::set_has_translation_y() {
  983. _has_bits_[0] |= 0x00000200u;
  984. }
  985. inline void laser_parameter::clear_has_translation_y() {
  986. _has_bits_[0] &= ~0x00000200u;
  987. }
  988. inline void laser_parameter::clear_translation_y() {
  989. translation_y_ = 0;
  990. clear_has_translation_y();
  991. }
  992. inline double laser_parameter::translation_y() const {
  993. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.translation_y)
  994. return translation_y_;
  995. }
  996. inline void laser_parameter::set_translation_y(double value) {
  997. set_has_translation_y();
  998. translation_y_ = value;
  999. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.translation_y)
  1000. }
  1001. // optional double translation_z = 21;
  1002. inline bool laser_parameter::has_translation_z() const {
  1003. return (_has_bits_[0] & 0x00000400u) != 0;
  1004. }
  1005. inline void laser_parameter::set_has_translation_z() {
  1006. _has_bits_[0] |= 0x00000400u;
  1007. }
  1008. inline void laser_parameter::clear_has_translation_z() {
  1009. _has_bits_[0] &= ~0x00000400u;
  1010. }
  1011. inline void laser_parameter::clear_translation_z() {
  1012. translation_z_ = 0;
  1013. clear_has_translation_z();
  1014. }
  1015. inline double laser_parameter::translation_z() const {
  1016. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.translation_z)
  1017. return translation_z_;
  1018. }
  1019. inline void laser_parameter::set_translation_z(double value) {
  1020. set_has_translation_z();
  1021. translation_z_ = value;
  1022. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.translation_z)
  1023. }
  1024. // optional double install_angle = 22 [default = 0];
  1025. inline bool laser_parameter::has_install_angle() const {
  1026. return (_has_bits_[0] & 0x00000800u) != 0;
  1027. }
  1028. inline void laser_parameter::set_has_install_angle() {
  1029. _has_bits_[0] |= 0x00000800u;
  1030. }
  1031. inline void laser_parameter::clear_has_install_angle() {
  1032. _has_bits_[0] &= ~0x00000800u;
  1033. }
  1034. inline void laser_parameter::clear_install_angle() {
  1035. install_angle_ = 0;
  1036. clear_has_install_angle();
  1037. }
  1038. inline double laser_parameter::install_angle() const {
  1039. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.install_angle)
  1040. return install_angle_;
  1041. }
  1042. inline void laser_parameter::set_install_angle(double value) {
  1043. set_has_install_angle();
  1044. install_angle_ = value;
  1045. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.install_angle)
  1046. }
  1047. // optional bool scan_direction = 23 [default = true];
  1048. inline bool laser_parameter::has_scan_direction() const {
  1049. return (_has_bits_[0] & 0x00001000u) != 0;
  1050. }
  1051. inline void laser_parameter::set_has_scan_direction() {
  1052. _has_bits_[0] |= 0x00001000u;
  1053. }
  1054. inline void laser_parameter::clear_has_scan_direction() {
  1055. _has_bits_[0] &= ~0x00001000u;
  1056. }
  1057. inline void laser_parameter::clear_scan_direction() {
  1058. scan_direction_ = true;
  1059. clear_has_scan_direction();
  1060. }
  1061. inline bool laser_parameter::scan_direction() const {
  1062. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.scan_direction)
  1063. return scan_direction_;
  1064. }
  1065. inline void laser_parameter::set_scan_direction(bool value) {
  1066. set_has_scan_direction();
  1067. scan_direction_ = value;
  1068. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.scan_direction)
  1069. }
  1070. // optional string sn = 24;
  1071. inline bool laser_parameter::has_sn() const {
  1072. return (_has_bits_[0] & 0x00000002u) != 0;
  1073. }
  1074. inline void laser_parameter::set_has_sn() {
  1075. _has_bits_[0] |= 0x00000002u;
  1076. }
  1077. inline void laser_parameter::clear_has_sn() {
  1078. _has_bits_[0] &= ~0x00000002u;
  1079. }
  1080. inline void laser_parameter::clear_sn() {
  1081. sn_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1082. clear_has_sn();
  1083. }
  1084. inline const ::std::string& laser_parameter::sn() const {
  1085. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.sn)
  1086. return sn_.GetNoArena();
  1087. }
  1088. inline void laser_parameter::set_sn(const ::std::string& value) {
  1089. set_has_sn();
  1090. sn_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1091. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.sn)
  1092. }
  1093. #if LANG_CXX11
  1094. inline void laser_parameter::set_sn(::std::string&& value) {
  1095. set_has_sn();
  1096. sn_.SetNoArena(
  1097. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1098. // @@protoc_insertion_point(field_set_rvalue:Laser_proto.laser_parameter.sn)
  1099. }
  1100. #endif
  1101. inline void laser_parameter::set_sn(const char* value) {
  1102. GOOGLE_DCHECK(value != NULL);
  1103. set_has_sn();
  1104. sn_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1105. // @@protoc_insertion_point(field_set_char:Laser_proto.laser_parameter.sn)
  1106. }
  1107. inline void laser_parameter::set_sn(const char* value, size_t size) {
  1108. set_has_sn();
  1109. sn_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1110. ::std::string(reinterpret_cast<const char*>(value), size));
  1111. // @@protoc_insertion_point(field_set_pointer:Laser_proto.laser_parameter.sn)
  1112. }
  1113. inline ::std::string* laser_parameter::mutable_sn() {
  1114. set_has_sn();
  1115. // @@protoc_insertion_point(field_mutable:Laser_proto.laser_parameter.sn)
  1116. return sn_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1117. }
  1118. inline ::std::string* laser_parameter::release_sn() {
  1119. // @@protoc_insertion_point(field_release:Laser_proto.laser_parameter.sn)
  1120. clear_has_sn();
  1121. return sn_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1122. }
  1123. inline void laser_parameter::set_allocated_sn(::std::string* sn) {
  1124. if (sn != NULL) {
  1125. set_has_sn();
  1126. } else {
  1127. clear_has_sn();
  1128. }
  1129. sn_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), sn);
  1130. // @@protoc_insertion_point(field_set_allocated:Laser_proto.laser_parameter.sn)
  1131. }
  1132. // optional int64 frame_num = 25 [default = 3000];
  1133. inline bool laser_parameter::has_frame_num() const {
  1134. return (_has_bits_[0] & 0x02000000u) != 0;
  1135. }
  1136. inline void laser_parameter::set_has_frame_num() {
  1137. _has_bits_[0] |= 0x02000000u;
  1138. }
  1139. inline void laser_parameter::clear_has_frame_num() {
  1140. _has_bits_[0] &= ~0x02000000u;
  1141. }
  1142. inline void laser_parameter::clear_frame_num() {
  1143. frame_num_ = GOOGLE_LONGLONG(3000);
  1144. clear_has_frame_num();
  1145. }
  1146. inline ::google::protobuf::int64 laser_parameter::frame_num() const {
  1147. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.frame_num)
  1148. return frame_num_;
  1149. }
  1150. inline void laser_parameter::set_frame_num(::google::protobuf::int64 value) {
  1151. set_has_frame_num();
  1152. frame_num_ = value;
  1153. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.frame_num)
  1154. }
  1155. // optional string type = 26 [default = ""];
  1156. inline bool laser_parameter::has_type() const {
  1157. return (_has_bits_[0] & 0x00000004u) != 0;
  1158. }
  1159. inline void laser_parameter::set_has_type() {
  1160. _has_bits_[0] |= 0x00000004u;
  1161. }
  1162. inline void laser_parameter::clear_has_type() {
  1163. _has_bits_[0] &= ~0x00000004u;
  1164. }
  1165. inline void laser_parameter::clear_type() {
  1166. type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1167. clear_has_type();
  1168. }
  1169. inline const ::std::string& laser_parameter::type() const {
  1170. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.type)
  1171. return type_.GetNoArena();
  1172. }
  1173. inline void laser_parameter::set_type(const ::std::string& value) {
  1174. set_has_type();
  1175. type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1176. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.type)
  1177. }
  1178. #if LANG_CXX11
  1179. inline void laser_parameter::set_type(::std::string&& value) {
  1180. set_has_type();
  1181. type_.SetNoArena(
  1182. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1183. // @@protoc_insertion_point(field_set_rvalue:Laser_proto.laser_parameter.type)
  1184. }
  1185. #endif
  1186. inline void laser_parameter::set_type(const char* value) {
  1187. GOOGLE_DCHECK(value != NULL);
  1188. set_has_type();
  1189. type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1190. // @@protoc_insertion_point(field_set_char:Laser_proto.laser_parameter.type)
  1191. }
  1192. inline void laser_parameter::set_type(const char* value, size_t size) {
  1193. set_has_type();
  1194. type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1195. ::std::string(reinterpret_cast<const char*>(value), size));
  1196. // @@protoc_insertion_point(field_set_pointer:Laser_proto.laser_parameter.type)
  1197. }
  1198. inline ::std::string* laser_parameter::mutable_type() {
  1199. set_has_type();
  1200. // @@protoc_insertion_point(field_mutable:Laser_proto.laser_parameter.type)
  1201. return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1202. }
  1203. inline ::std::string* laser_parameter::release_type() {
  1204. // @@protoc_insertion_point(field_release:Laser_proto.laser_parameter.type)
  1205. clear_has_type();
  1206. return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1207. }
  1208. inline void laser_parameter::set_allocated_type(::std::string* type) {
  1209. if (type != NULL) {
  1210. set_has_type();
  1211. } else {
  1212. clear_has_type();
  1213. }
  1214. type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type);
  1215. // @@protoc_insertion_point(field_set_allocated:Laser_proto.laser_parameter.type)
  1216. }
  1217. // -------------------------------------------------------------------
  1218. // Laser_parameter_all
  1219. // repeated .Laser_proto.laser_parameter laser_parameters = 1;
  1220. inline int Laser_parameter_all::laser_parameters_size() const {
  1221. return laser_parameters_.size();
  1222. }
  1223. inline void Laser_parameter_all::clear_laser_parameters() {
  1224. laser_parameters_.Clear();
  1225. }
  1226. inline const ::Laser_proto::laser_parameter& Laser_parameter_all::laser_parameters(int index) const {
  1227. // @@protoc_insertion_point(field_get:Laser_proto.Laser_parameter_all.laser_parameters)
  1228. return laser_parameters_.Get(index);
  1229. }
  1230. inline ::Laser_proto::laser_parameter* Laser_parameter_all::mutable_laser_parameters(int index) {
  1231. // @@protoc_insertion_point(field_mutable:Laser_proto.Laser_parameter_all.laser_parameters)
  1232. return laser_parameters_.Mutable(index);
  1233. }
  1234. inline ::Laser_proto::laser_parameter* Laser_parameter_all::add_laser_parameters() {
  1235. // @@protoc_insertion_point(field_add:Laser_proto.Laser_parameter_all.laser_parameters)
  1236. return laser_parameters_.Add();
  1237. }
  1238. inline ::google::protobuf::RepeatedPtrField< ::Laser_proto::laser_parameter >*
  1239. Laser_parameter_all::mutable_laser_parameters() {
  1240. // @@protoc_insertion_point(field_mutable_list:Laser_proto.Laser_parameter_all.laser_parameters)
  1241. return &laser_parameters_;
  1242. }
  1243. inline const ::google::protobuf::RepeatedPtrField< ::Laser_proto::laser_parameter >&
  1244. Laser_parameter_all::laser_parameters() const {
  1245. // @@protoc_insertion_point(field_list:Laser_proto.Laser_parameter_all.laser_parameters)
  1246. return laser_parameters_;
  1247. }
  1248. #ifdef __GNUC__
  1249. #pragma GCC diagnostic pop
  1250. #endif // __GNUC__
  1251. // -------------------------------------------------------------------
  1252. // @@protoc_insertion_point(namespace_scope)
  1253. } // namespace Laser_proto
  1254. // @@protoc_insertion_point(global_scope)
  1255. #endif // PROTOBUF_laser_5fparameter_2eproto__INCLUDED