laser_parameter.pb.h 48 KB

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