laser_parameter.pb.h 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: laser_parameter.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_laser_5fparameter_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_laser_5fparameter_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3013000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3013000 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/inlined_string_field.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/unknown_field_set.h>
  31. // @@protoc_insertion_point(includes)
  32. #include <google/protobuf/port_def.inc>
  33. #define PROTOBUF_INTERNAL_EXPORT_laser_5fparameter_2eproto
  34. PROTOBUF_NAMESPACE_OPEN
  35. namespace internal {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct TableStruct_laser_5fparameter_2eproto {
  41. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  42. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  49. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  50. };
  51. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_laser_5fparameter_2eproto;
  52. namespace Laser_proto {
  53. class Laser_parameter_all;
  54. class Laser_parameter_allDefaultTypeInternal;
  55. extern Laser_parameter_allDefaultTypeInternal _Laser_parameter_all_default_instance_;
  56. class laser_parameter;
  57. class laser_parameterDefaultTypeInternal;
  58. extern laser_parameterDefaultTypeInternal _laser_parameter_default_instance_;
  59. } // namespace Laser_proto
  60. PROTOBUF_NAMESPACE_OPEN
  61. template<> ::Laser_proto::Laser_parameter_all* Arena::CreateMaybeMessage<::Laser_proto::Laser_parameter_all>(Arena*);
  62. template<> ::Laser_proto::laser_parameter* Arena::CreateMaybeMessage<::Laser_proto::laser_parameter>(Arena*);
  63. PROTOBUF_NAMESPACE_CLOSE
  64. namespace Laser_proto {
  65. // ===================================================================
  66. class laser_parameter PROTOBUF_FINAL :
  67. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Laser_proto.laser_parameter) */ {
  68. public:
  69. inline laser_parameter() : laser_parameter(nullptr) {}
  70. virtual ~laser_parameter();
  71. laser_parameter(const laser_parameter& from);
  72. laser_parameter(laser_parameter&& from) noexcept
  73. : laser_parameter() {
  74. *this = ::std::move(from);
  75. }
  76. inline laser_parameter& operator=(const laser_parameter& from) {
  77. CopyFrom(from);
  78. return *this;
  79. }
  80. inline laser_parameter& operator=(laser_parameter&& from) noexcept {
  81. if (GetArena() == from.GetArena()) {
  82. if (this != &from) InternalSwap(&from);
  83. } else {
  84. CopyFrom(from);
  85. }
  86. return *this;
  87. }
  88. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  89. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  90. }
  91. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  92. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  93. }
  94. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  95. return GetDescriptor();
  96. }
  97. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  98. return GetMetadataStatic().descriptor;
  99. }
  100. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  101. return GetMetadataStatic().reflection;
  102. }
  103. static const laser_parameter& default_instance();
  104. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  105. static inline const laser_parameter* internal_default_instance() {
  106. return reinterpret_cast<const laser_parameter*>(
  107. &_laser_parameter_default_instance_);
  108. }
  109. static constexpr int kIndexInFileMessages =
  110. 0;
  111. friend void swap(laser_parameter& a, laser_parameter& b) {
  112. a.Swap(&b);
  113. }
  114. inline void Swap(laser_parameter* other) {
  115. if (other == this) return;
  116. if (GetArena() == other->GetArena()) {
  117. InternalSwap(other);
  118. } else {
  119. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  120. }
  121. }
  122. void UnsafeArenaSwap(laser_parameter* other) {
  123. if (other == this) return;
  124. GOOGLE_DCHECK(GetArena() == other->GetArena());
  125. InternalSwap(other);
  126. }
  127. // implements Message ----------------------------------------------
  128. inline laser_parameter* New() const final {
  129. return CreateMaybeMessage<laser_parameter>(nullptr);
  130. }
  131. laser_parameter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  132. return CreateMaybeMessage<laser_parameter>(arena);
  133. }
  134. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  135. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  136. void CopyFrom(const laser_parameter& from);
  137. void MergeFrom(const laser_parameter& from);
  138. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  139. bool IsInitialized() const final;
  140. size_t ByteSizeLong() const final;
  141. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  142. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  143. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  144. int GetCachedSize() const final { return _cached_size_.Get(); }
  145. private:
  146. inline void SharedCtor();
  147. inline void SharedDtor();
  148. void SetCachedSize(int size) const final;
  149. void InternalSwap(laser_parameter* other);
  150. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  151. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  152. return "Laser_proto.laser_parameter";
  153. }
  154. protected:
  155. explicit laser_parameter(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  156. private:
  157. static void ArenaDtor(void* object);
  158. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  159. public:
  160. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  161. private:
  162. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  163. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_laser_5fparameter_2eproto);
  164. return ::descriptor_table_laser_5fparameter_2eproto.file_level_metadata[kIndexInFileMessages];
  165. }
  166. public:
  167. // nested types ----------------------------------------------------
  168. // accessors -------------------------------------------------------
  169. enum : int {
  170. kLaserIpFieldNumber = 1,
  171. kSnFieldNumber = 24,
  172. kTypeFieldNumber = 26,
  173. kLaserPortFieldNumber = 2,
  174. kLaserPortRemoteFieldNumber = 3,
  175. kAxisXThetaFieldNumber = 16,
  176. kAxisYThetaFieldNumber = 17,
  177. kAxisZThetaFieldNumber = 18,
  178. kTranslationXFieldNumber = 19,
  179. kTranslationYFieldNumber = 20,
  180. kTranslationZFieldNumber = 21,
  181. kInstallAngleFieldNumber = 22,
  182. kIsSaveBanaryFieldNumber = 27,
  183. kScanDirectionFieldNumber = 23,
  184. kIsSaveTxtFieldNumber = 28,
  185. kMatR00FieldNumber = 4,
  186. kMatR01FieldNumber = 5,
  187. kMatR02FieldNumber = 6,
  188. kMatR03FieldNumber = 7,
  189. kMatR10FieldNumber = 8,
  190. kMatR11FieldNumber = 9,
  191. kMatR12FieldNumber = 10,
  192. kMatR13FieldNumber = 11,
  193. kMatR20FieldNumber = 12,
  194. kMatR21FieldNumber = 13,
  195. kMatR22FieldNumber = 14,
  196. kMatR23FieldNumber = 15,
  197. kFrameNumFieldNumber = 25,
  198. };
  199. // optional string laser_ip = 1;
  200. bool has_laser_ip() const;
  201. private:
  202. bool _internal_has_laser_ip() const;
  203. public:
  204. void clear_laser_ip();
  205. const std::string& laser_ip() const;
  206. void set_laser_ip(const std::string& value);
  207. void set_laser_ip(std::string&& value);
  208. void set_laser_ip(const char* value);
  209. void set_laser_ip(const char* value, size_t size);
  210. std::string* mutable_laser_ip();
  211. std::string* release_laser_ip();
  212. void set_allocated_laser_ip(std::string* laser_ip);
  213. private:
  214. const std::string& _internal_laser_ip() const;
  215. void _internal_set_laser_ip(const std::string& value);
  216. std::string* _internal_mutable_laser_ip();
  217. public:
  218. // optional string sn = 24;
  219. bool has_sn() const;
  220. private:
  221. bool _internal_has_sn() const;
  222. public:
  223. void clear_sn();
  224. const std::string& sn() const;
  225. void set_sn(const std::string& value);
  226. void set_sn(std::string&& value);
  227. void set_sn(const char* value);
  228. void set_sn(const char* value, size_t size);
  229. std::string* mutable_sn();
  230. std::string* release_sn();
  231. void set_allocated_sn(std::string* sn);
  232. private:
  233. const std::string& _internal_sn() const;
  234. void _internal_set_sn(const std::string& value);
  235. std::string* _internal_mutable_sn();
  236. public:
  237. // optional string type = 26 [default = ""];
  238. bool has_type() const;
  239. private:
  240. bool _internal_has_type() const;
  241. public:
  242. void clear_type();
  243. const std::string& type() const;
  244. void set_type(const std::string& value);
  245. void set_type(std::string&& value);
  246. void set_type(const char* value);
  247. void set_type(const char* value, size_t size);
  248. std::string* mutable_type();
  249. std::string* release_type();
  250. void set_allocated_type(std::string* type);
  251. private:
  252. const std::string& _internal_type() const;
  253. void _internal_set_type(const std::string& value);
  254. std::string* _internal_mutable_type();
  255. public:
  256. // optional int64 laser_port = 2;
  257. bool has_laser_port() const;
  258. private:
  259. bool _internal_has_laser_port() const;
  260. public:
  261. void clear_laser_port();
  262. ::PROTOBUF_NAMESPACE_ID::int64 laser_port() const;
  263. void set_laser_port(::PROTOBUF_NAMESPACE_ID::int64 value);
  264. private:
  265. ::PROTOBUF_NAMESPACE_ID::int64 _internal_laser_port() const;
  266. void _internal_set_laser_port(::PROTOBUF_NAMESPACE_ID::int64 value);
  267. public:
  268. // optional int64 laser_port_remote = 3;
  269. bool has_laser_port_remote() const;
  270. private:
  271. bool _internal_has_laser_port_remote() const;
  272. public:
  273. void clear_laser_port_remote();
  274. ::PROTOBUF_NAMESPACE_ID::int64 laser_port_remote() const;
  275. void set_laser_port_remote(::PROTOBUF_NAMESPACE_ID::int64 value);
  276. private:
  277. ::PROTOBUF_NAMESPACE_ID::int64 _internal_laser_port_remote() const;
  278. void _internal_set_laser_port_remote(::PROTOBUF_NAMESPACE_ID::int64 value);
  279. public:
  280. // optional double axis_x_theta = 16;
  281. bool has_axis_x_theta() const;
  282. private:
  283. bool _internal_has_axis_x_theta() const;
  284. public:
  285. void clear_axis_x_theta();
  286. double axis_x_theta() const;
  287. void set_axis_x_theta(double value);
  288. private:
  289. double _internal_axis_x_theta() const;
  290. void _internal_set_axis_x_theta(double value);
  291. public:
  292. // optional double axis_y_theta = 17;
  293. bool has_axis_y_theta() const;
  294. private:
  295. bool _internal_has_axis_y_theta() const;
  296. public:
  297. void clear_axis_y_theta();
  298. double axis_y_theta() const;
  299. void set_axis_y_theta(double value);
  300. private:
  301. double _internal_axis_y_theta() const;
  302. void _internal_set_axis_y_theta(double value);
  303. public:
  304. // optional double axis_z_theta = 18;
  305. bool has_axis_z_theta() const;
  306. private:
  307. bool _internal_has_axis_z_theta() const;
  308. public:
  309. void clear_axis_z_theta();
  310. double axis_z_theta() const;
  311. void set_axis_z_theta(double value);
  312. private:
  313. double _internal_axis_z_theta() const;
  314. void _internal_set_axis_z_theta(double value);
  315. public:
  316. // optional double translation_x = 19;
  317. bool has_translation_x() const;
  318. private:
  319. bool _internal_has_translation_x() const;
  320. public:
  321. void clear_translation_x();
  322. double translation_x() const;
  323. void set_translation_x(double value);
  324. private:
  325. double _internal_translation_x() const;
  326. void _internal_set_translation_x(double value);
  327. public:
  328. // optional double translation_y = 20;
  329. bool has_translation_y() const;
  330. private:
  331. bool _internal_has_translation_y() const;
  332. public:
  333. void clear_translation_y();
  334. double translation_y() const;
  335. void set_translation_y(double value);
  336. private:
  337. double _internal_translation_y() const;
  338. void _internal_set_translation_y(double value);
  339. public:
  340. // optional double translation_z = 21;
  341. bool has_translation_z() const;
  342. private:
  343. bool _internal_has_translation_z() const;
  344. public:
  345. void clear_translation_z();
  346. double translation_z() const;
  347. void set_translation_z(double value);
  348. private:
  349. double _internal_translation_z() const;
  350. void _internal_set_translation_z(double value);
  351. public:
  352. // optional double install_angle = 22 [default = 0];
  353. bool has_install_angle() const;
  354. private:
  355. bool _internal_has_install_angle() const;
  356. public:
  357. void clear_install_angle();
  358. double install_angle() const;
  359. void set_install_angle(double value);
  360. private:
  361. double _internal_install_angle() const;
  362. void _internal_set_install_angle(double value);
  363. public:
  364. // optional bool is_save_banary = 27 [default = false];
  365. bool has_is_save_banary() const;
  366. private:
  367. bool _internal_has_is_save_banary() const;
  368. public:
  369. void clear_is_save_banary();
  370. bool is_save_banary() const;
  371. void set_is_save_banary(bool value);
  372. private:
  373. bool _internal_is_save_banary() const;
  374. void _internal_set_is_save_banary(bool value);
  375. public:
  376. // optional bool scan_direction = 23 [default = true];
  377. bool has_scan_direction() const;
  378. private:
  379. bool _internal_has_scan_direction() const;
  380. public:
  381. void clear_scan_direction();
  382. bool scan_direction() const;
  383. void set_scan_direction(bool value);
  384. private:
  385. bool _internal_scan_direction() const;
  386. void _internal_set_scan_direction(bool value);
  387. public:
  388. // optional bool is_save_txt = 28 [default = true];
  389. bool has_is_save_txt() const;
  390. private:
  391. bool _internal_has_is_save_txt() const;
  392. public:
  393. void clear_is_save_txt();
  394. bool is_save_txt() const;
  395. void set_is_save_txt(bool value);
  396. private:
  397. bool _internal_is_save_txt() const;
  398. void _internal_set_is_save_txt(bool value);
  399. public:
  400. // optional double mat_r00 = 4 [default = 1];
  401. bool has_mat_r00() const;
  402. private:
  403. bool _internal_has_mat_r00() const;
  404. public:
  405. void clear_mat_r00();
  406. double mat_r00() const;
  407. void set_mat_r00(double value);
  408. private:
  409. double _internal_mat_r00() const;
  410. void _internal_set_mat_r00(double value);
  411. public:
  412. // optional double mat_r01 = 5 [default = 1];
  413. bool has_mat_r01() const;
  414. private:
  415. bool _internal_has_mat_r01() const;
  416. public:
  417. void clear_mat_r01();
  418. double mat_r01() const;
  419. void set_mat_r01(double value);
  420. private:
  421. double _internal_mat_r01() const;
  422. void _internal_set_mat_r01(double value);
  423. public:
  424. // optional double mat_r02 = 6 [default = 1];
  425. bool has_mat_r02() const;
  426. private:
  427. bool _internal_has_mat_r02() const;
  428. public:
  429. void clear_mat_r02();
  430. double mat_r02() const;
  431. void set_mat_r02(double value);
  432. private:
  433. double _internal_mat_r02() const;
  434. void _internal_set_mat_r02(double value);
  435. public:
  436. // optional double mat_r03 = 7 [default = 1];
  437. bool has_mat_r03() const;
  438. private:
  439. bool _internal_has_mat_r03() const;
  440. public:
  441. void clear_mat_r03();
  442. double mat_r03() const;
  443. void set_mat_r03(double value);
  444. private:
  445. double _internal_mat_r03() const;
  446. void _internal_set_mat_r03(double value);
  447. public:
  448. // optional double mat_r10 = 8 [default = 1];
  449. bool has_mat_r10() const;
  450. private:
  451. bool _internal_has_mat_r10() const;
  452. public:
  453. void clear_mat_r10();
  454. double mat_r10() const;
  455. void set_mat_r10(double value);
  456. private:
  457. double _internal_mat_r10() const;
  458. void _internal_set_mat_r10(double value);
  459. public:
  460. // optional double mat_r11 = 9 [default = 1];
  461. bool has_mat_r11() const;
  462. private:
  463. bool _internal_has_mat_r11() const;
  464. public:
  465. void clear_mat_r11();
  466. double mat_r11() const;
  467. void set_mat_r11(double value);
  468. private:
  469. double _internal_mat_r11() const;
  470. void _internal_set_mat_r11(double value);
  471. public:
  472. // optional double mat_r12 = 10 [default = 1];
  473. bool has_mat_r12() const;
  474. private:
  475. bool _internal_has_mat_r12() const;
  476. public:
  477. void clear_mat_r12();
  478. double mat_r12() const;
  479. void set_mat_r12(double value);
  480. private:
  481. double _internal_mat_r12() const;
  482. void _internal_set_mat_r12(double value);
  483. public:
  484. // optional double mat_r13 = 11 [default = 1];
  485. bool has_mat_r13() const;
  486. private:
  487. bool _internal_has_mat_r13() const;
  488. public:
  489. void clear_mat_r13();
  490. double mat_r13() const;
  491. void set_mat_r13(double value);
  492. private:
  493. double _internal_mat_r13() const;
  494. void _internal_set_mat_r13(double value);
  495. public:
  496. // optional double mat_r20 = 12 [default = 1];
  497. bool has_mat_r20() const;
  498. private:
  499. bool _internal_has_mat_r20() const;
  500. public:
  501. void clear_mat_r20();
  502. double mat_r20() const;
  503. void set_mat_r20(double value);
  504. private:
  505. double _internal_mat_r20() const;
  506. void _internal_set_mat_r20(double value);
  507. public:
  508. // optional double mat_r21 = 13 [default = 1];
  509. bool has_mat_r21() const;
  510. private:
  511. bool _internal_has_mat_r21() const;
  512. public:
  513. void clear_mat_r21();
  514. double mat_r21() const;
  515. void set_mat_r21(double value);
  516. private:
  517. double _internal_mat_r21() const;
  518. void _internal_set_mat_r21(double value);
  519. public:
  520. // optional double mat_r22 = 14 [default = 1];
  521. bool has_mat_r22() const;
  522. private:
  523. bool _internal_has_mat_r22() const;
  524. public:
  525. void clear_mat_r22();
  526. double mat_r22() const;
  527. void set_mat_r22(double value);
  528. private:
  529. double _internal_mat_r22() const;
  530. void _internal_set_mat_r22(double value);
  531. public:
  532. // optional double mat_r23 = 15 [default = 1];
  533. bool has_mat_r23() const;
  534. private:
  535. bool _internal_has_mat_r23() const;
  536. public:
  537. void clear_mat_r23();
  538. double mat_r23() const;
  539. void set_mat_r23(double value);
  540. private:
  541. double _internal_mat_r23() const;
  542. void _internal_set_mat_r23(double value);
  543. public:
  544. // optional int64 frame_num = 25 [default = 3000];
  545. bool has_frame_num() const;
  546. private:
  547. bool _internal_has_frame_num() const;
  548. public:
  549. void clear_frame_num();
  550. ::PROTOBUF_NAMESPACE_ID::int64 frame_num() const;
  551. void set_frame_num(::PROTOBUF_NAMESPACE_ID::int64 value);
  552. private:
  553. ::PROTOBUF_NAMESPACE_ID::int64 _internal_frame_num() const;
  554. void _internal_set_frame_num(::PROTOBUF_NAMESPACE_ID::int64 value);
  555. public:
  556. // @@protoc_insertion_point(class_scope:Laser_proto.laser_parameter)
  557. private:
  558. class _Internal;
  559. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  560. typedef void InternalArenaConstructable_;
  561. typedef void DestructorSkippable_;
  562. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  563. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  564. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr laser_ip_;
  565. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sn_;
  566. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  567. ::PROTOBUF_NAMESPACE_ID::int64 laser_port_;
  568. ::PROTOBUF_NAMESPACE_ID::int64 laser_port_remote_;
  569. double axis_x_theta_;
  570. double axis_y_theta_;
  571. double axis_z_theta_;
  572. double translation_x_;
  573. double translation_y_;
  574. double translation_z_;
  575. double install_angle_;
  576. bool is_save_banary_;
  577. bool scan_direction_;
  578. bool is_save_txt_;
  579. double mat_r00_;
  580. double mat_r01_;
  581. double mat_r02_;
  582. double mat_r03_;
  583. double mat_r10_;
  584. double mat_r11_;
  585. double mat_r12_;
  586. double mat_r13_;
  587. double mat_r20_;
  588. double mat_r21_;
  589. double mat_r22_;
  590. double mat_r23_;
  591. ::PROTOBUF_NAMESPACE_ID::int64 frame_num_;
  592. friend struct ::TableStruct_laser_5fparameter_2eproto;
  593. };
  594. // -------------------------------------------------------------------
  595. class Laser_parameter_all PROTOBUF_FINAL :
  596. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Laser_proto.Laser_parameter_all) */ {
  597. public:
  598. inline Laser_parameter_all() : Laser_parameter_all(nullptr) {}
  599. virtual ~Laser_parameter_all();
  600. Laser_parameter_all(const Laser_parameter_all& from);
  601. Laser_parameter_all(Laser_parameter_all&& from) noexcept
  602. : Laser_parameter_all() {
  603. *this = ::std::move(from);
  604. }
  605. inline Laser_parameter_all& operator=(const Laser_parameter_all& from) {
  606. CopyFrom(from);
  607. return *this;
  608. }
  609. inline Laser_parameter_all& operator=(Laser_parameter_all&& from) noexcept {
  610. if (GetArena() == from.GetArena()) {
  611. if (this != &from) InternalSwap(&from);
  612. } else {
  613. CopyFrom(from);
  614. }
  615. return *this;
  616. }
  617. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  618. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  619. }
  620. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  621. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  622. }
  623. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  624. return GetDescriptor();
  625. }
  626. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  627. return GetMetadataStatic().descriptor;
  628. }
  629. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  630. return GetMetadataStatic().reflection;
  631. }
  632. static const Laser_parameter_all& default_instance();
  633. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  634. static inline const Laser_parameter_all* internal_default_instance() {
  635. return reinterpret_cast<const Laser_parameter_all*>(
  636. &_Laser_parameter_all_default_instance_);
  637. }
  638. static constexpr int kIndexInFileMessages =
  639. 1;
  640. friend void swap(Laser_parameter_all& a, Laser_parameter_all& b) {
  641. a.Swap(&b);
  642. }
  643. inline void Swap(Laser_parameter_all* other) {
  644. if (other == this) return;
  645. if (GetArena() == other->GetArena()) {
  646. InternalSwap(other);
  647. } else {
  648. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  649. }
  650. }
  651. void UnsafeArenaSwap(Laser_parameter_all* other) {
  652. if (other == this) return;
  653. GOOGLE_DCHECK(GetArena() == other->GetArena());
  654. InternalSwap(other);
  655. }
  656. // implements Message ----------------------------------------------
  657. inline Laser_parameter_all* New() const final {
  658. return CreateMaybeMessage<Laser_parameter_all>(nullptr);
  659. }
  660. Laser_parameter_all* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  661. return CreateMaybeMessage<Laser_parameter_all>(arena);
  662. }
  663. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  664. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  665. void CopyFrom(const Laser_parameter_all& from);
  666. void MergeFrom(const Laser_parameter_all& from);
  667. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  668. bool IsInitialized() const final;
  669. size_t ByteSizeLong() const final;
  670. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  671. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  672. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  673. int GetCachedSize() const final { return _cached_size_.Get(); }
  674. private:
  675. inline void SharedCtor();
  676. inline void SharedDtor();
  677. void SetCachedSize(int size) const final;
  678. void InternalSwap(Laser_parameter_all* other);
  679. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  680. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  681. return "Laser_proto.Laser_parameter_all";
  682. }
  683. protected:
  684. explicit Laser_parameter_all(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  685. private:
  686. static void ArenaDtor(void* object);
  687. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  688. public:
  689. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  690. private:
  691. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  692. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_laser_5fparameter_2eproto);
  693. return ::descriptor_table_laser_5fparameter_2eproto.file_level_metadata[kIndexInFileMessages];
  694. }
  695. public:
  696. // nested types ----------------------------------------------------
  697. // accessors -------------------------------------------------------
  698. enum : int {
  699. kLaserParametersFieldNumber = 1,
  700. };
  701. // repeated .Laser_proto.laser_parameter laser_parameters = 1;
  702. int laser_parameters_size() const;
  703. private:
  704. int _internal_laser_parameters_size() const;
  705. public:
  706. void clear_laser_parameters();
  707. ::Laser_proto::laser_parameter* mutable_laser_parameters(int index);
  708. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Laser_proto::laser_parameter >*
  709. mutable_laser_parameters();
  710. private:
  711. const ::Laser_proto::laser_parameter& _internal_laser_parameters(int index) const;
  712. ::Laser_proto::laser_parameter* _internal_add_laser_parameters();
  713. public:
  714. const ::Laser_proto::laser_parameter& laser_parameters(int index) const;
  715. ::Laser_proto::laser_parameter* add_laser_parameters();
  716. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Laser_proto::laser_parameter >&
  717. laser_parameters() const;
  718. // @@protoc_insertion_point(class_scope:Laser_proto.Laser_parameter_all)
  719. private:
  720. class _Internal;
  721. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  722. typedef void InternalArenaConstructable_;
  723. typedef void DestructorSkippable_;
  724. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Laser_proto::laser_parameter > laser_parameters_;
  725. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  726. friend struct ::TableStruct_laser_5fparameter_2eproto;
  727. };
  728. // ===================================================================
  729. // ===================================================================
  730. #ifdef __GNUC__
  731. #pragma GCC diagnostic push
  732. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  733. #endif // __GNUC__
  734. // laser_parameter
  735. // optional string laser_ip = 1;
  736. inline bool laser_parameter::_internal_has_laser_ip() const {
  737. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  738. return value;
  739. }
  740. inline bool laser_parameter::has_laser_ip() const {
  741. return _internal_has_laser_ip();
  742. }
  743. inline void laser_parameter::clear_laser_ip() {
  744. laser_ip_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  745. _has_bits_[0] &= ~0x00000001u;
  746. }
  747. inline const std::string& laser_parameter::laser_ip() const {
  748. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.laser_ip)
  749. return _internal_laser_ip();
  750. }
  751. inline void laser_parameter::set_laser_ip(const std::string& value) {
  752. _internal_set_laser_ip(value);
  753. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.laser_ip)
  754. }
  755. inline std::string* laser_parameter::mutable_laser_ip() {
  756. // @@protoc_insertion_point(field_mutable:Laser_proto.laser_parameter.laser_ip)
  757. return _internal_mutable_laser_ip();
  758. }
  759. inline const std::string& laser_parameter::_internal_laser_ip() const {
  760. return laser_ip_.Get();
  761. }
  762. inline void laser_parameter::_internal_set_laser_ip(const std::string& value) {
  763. _has_bits_[0] |= 0x00000001u;
  764. laser_ip_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  765. }
  766. inline void laser_parameter::set_laser_ip(std::string&& value) {
  767. _has_bits_[0] |= 0x00000001u;
  768. laser_ip_.Set(
  769. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  770. // @@protoc_insertion_point(field_set_rvalue:Laser_proto.laser_parameter.laser_ip)
  771. }
  772. inline void laser_parameter::set_laser_ip(const char* value) {
  773. GOOGLE_DCHECK(value != nullptr);
  774. _has_bits_[0] |= 0x00000001u;
  775. laser_ip_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  776. GetArena());
  777. // @@protoc_insertion_point(field_set_char:Laser_proto.laser_parameter.laser_ip)
  778. }
  779. inline void laser_parameter::set_laser_ip(const char* value,
  780. size_t size) {
  781. _has_bits_[0] |= 0x00000001u;
  782. laser_ip_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  783. reinterpret_cast<const char*>(value), size), GetArena());
  784. // @@protoc_insertion_point(field_set_pointer:Laser_proto.laser_parameter.laser_ip)
  785. }
  786. inline std::string* laser_parameter::_internal_mutable_laser_ip() {
  787. _has_bits_[0] |= 0x00000001u;
  788. return laser_ip_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  789. }
  790. inline std::string* laser_parameter::release_laser_ip() {
  791. // @@protoc_insertion_point(field_release:Laser_proto.laser_parameter.laser_ip)
  792. if (!_internal_has_laser_ip()) {
  793. return nullptr;
  794. }
  795. _has_bits_[0] &= ~0x00000001u;
  796. return laser_ip_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  797. }
  798. inline void laser_parameter::set_allocated_laser_ip(std::string* laser_ip) {
  799. if (laser_ip != nullptr) {
  800. _has_bits_[0] |= 0x00000001u;
  801. } else {
  802. _has_bits_[0] &= ~0x00000001u;
  803. }
  804. laser_ip_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), laser_ip,
  805. GetArena());
  806. // @@protoc_insertion_point(field_set_allocated:Laser_proto.laser_parameter.laser_ip)
  807. }
  808. // optional int64 laser_port = 2;
  809. inline bool laser_parameter::_internal_has_laser_port() const {
  810. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  811. return value;
  812. }
  813. inline bool laser_parameter::has_laser_port() const {
  814. return _internal_has_laser_port();
  815. }
  816. inline void laser_parameter::clear_laser_port() {
  817. laser_port_ = PROTOBUF_LONGLONG(0);
  818. _has_bits_[0] &= ~0x00000008u;
  819. }
  820. inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::_internal_laser_port() const {
  821. return laser_port_;
  822. }
  823. inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::laser_port() const {
  824. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.laser_port)
  825. return _internal_laser_port();
  826. }
  827. inline void laser_parameter::_internal_set_laser_port(::PROTOBUF_NAMESPACE_ID::int64 value) {
  828. _has_bits_[0] |= 0x00000008u;
  829. laser_port_ = value;
  830. }
  831. inline void laser_parameter::set_laser_port(::PROTOBUF_NAMESPACE_ID::int64 value) {
  832. _internal_set_laser_port(value);
  833. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.laser_port)
  834. }
  835. // optional int64 laser_port_remote = 3;
  836. inline bool laser_parameter::_internal_has_laser_port_remote() const {
  837. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  838. return value;
  839. }
  840. inline bool laser_parameter::has_laser_port_remote() const {
  841. return _internal_has_laser_port_remote();
  842. }
  843. inline void laser_parameter::clear_laser_port_remote() {
  844. laser_port_remote_ = PROTOBUF_LONGLONG(0);
  845. _has_bits_[0] &= ~0x00000010u;
  846. }
  847. inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::_internal_laser_port_remote() const {
  848. return laser_port_remote_;
  849. }
  850. inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::laser_port_remote() const {
  851. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.laser_port_remote)
  852. return _internal_laser_port_remote();
  853. }
  854. inline void laser_parameter::_internal_set_laser_port_remote(::PROTOBUF_NAMESPACE_ID::int64 value) {
  855. _has_bits_[0] |= 0x00000010u;
  856. laser_port_remote_ = value;
  857. }
  858. inline void laser_parameter::set_laser_port_remote(::PROTOBUF_NAMESPACE_ID::int64 value) {
  859. _internal_set_laser_port_remote(value);
  860. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.laser_port_remote)
  861. }
  862. // optional double mat_r00 = 4 [default = 1];
  863. inline bool laser_parameter::_internal_has_mat_r00() const {
  864. bool value = (_has_bits_[0] & 0x00008000u) != 0;
  865. return value;
  866. }
  867. inline bool laser_parameter::has_mat_r00() const {
  868. return _internal_has_mat_r00();
  869. }
  870. inline void laser_parameter::clear_mat_r00() {
  871. mat_r00_ = 1;
  872. _has_bits_[0] &= ~0x00008000u;
  873. }
  874. inline double laser_parameter::_internal_mat_r00() const {
  875. return mat_r00_;
  876. }
  877. inline double laser_parameter::mat_r00() const {
  878. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r00)
  879. return _internal_mat_r00();
  880. }
  881. inline void laser_parameter::_internal_set_mat_r00(double value) {
  882. _has_bits_[0] |= 0x00008000u;
  883. mat_r00_ = value;
  884. }
  885. inline void laser_parameter::set_mat_r00(double value) {
  886. _internal_set_mat_r00(value);
  887. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r00)
  888. }
  889. // optional double mat_r01 = 5 [default = 1];
  890. inline bool laser_parameter::_internal_has_mat_r01() const {
  891. bool value = (_has_bits_[0] & 0x00010000u) != 0;
  892. return value;
  893. }
  894. inline bool laser_parameter::has_mat_r01() const {
  895. return _internal_has_mat_r01();
  896. }
  897. inline void laser_parameter::clear_mat_r01() {
  898. mat_r01_ = 1;
  899. _has_bits_[0] &= ~0x00010000u;
  900. }
  901. inline double laser_parameter::_internal_mat_r01() const {
  902. return mat_r01_;
  903. }
  904. inline double laser_parameter::mat_r01() const {
  905. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r01)
  906. return _internal_mat_r01();
  907. }
  908. inline void laser_parameter::_internal_set_mat_r01(double value) {
  909. _has_bits_[0] |= 0x00010000u;
  910. mat_r01_ = value;
  911. }
  912. inline void laser_parameter::set_mat_r01(double value) {
  913. _internal_set_mat_r01(value);
  914. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r01)
  915. }
  916. // optional double mat_r02 = 6 [default = 1];
  917. inline bool laser_parameter::_internal_has_mat_r02() const {
  918. bool value = (_has_bits_[0] & 0x00020000u) != 0;
  919. return value;
  920. }
  921. inline bool laser_parameter::has_mat_r02() const {
  922. return _internal_has_mat_r02();
  923. }
  924. inline void laser_parameter::clear_mat_r02() {
  925. mat_r02_ = 1;
  926. _has_bits_[0] &= ~0x00020000u;
  927. }
  928. inline double laser_parameter::_internal_mat_r02() const {
  929. return mat_r02_;
  930. }
  931. inline double laser_parameter::mat_r02() const {
  932. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r02)
  933. return _internal_mat_r02();
  934. }
  935. inline void laser_parameter::_internal_set_mat_r02(double value) {
  936. _has_bits_[0] |= 0x00020000u;
  937. mat_r02_ = value;
  938. }
  939. inline void laser_parameter::set_mat_r02(double value) {
  940. _internal_set_mat_r02(value);
  941. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r02)
  942. }
  943. // optional double mat_r03 = 7 [default = 1];
  944. inline bool laser_parameter::_internal_has_mat_r03() const {
  945. bool value = (_has_bits_[0] & 0x00040000u) != 0;
  946. return value;
  947. }
  948. inline bool laser_parameter::has_mat_r03() const {
  949. return _internal_has_mat_r03();
  950. }
  951. inline void laser_parameter::clear_mat_r03() {
  952. mat_r03_ = 1;
  953. _has_bits_[0] &= ~0x00040000u;
  954. }
  955. inline double laser_parameter::_internal_mat_r03() const {
  956. return mat_r03_;
  957. }
  958. inline double laser_parameter::mat_r03() const {
  959. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r03)
  960. return _internal_mat_r03();
  961. }
  962. inline void laser_parameter::_internal_set_mat_r03(double value) {
  963. _has_bits_[0] |= 0x00040000u;
  964. mat_r03_ = value;
  965. }
  966. inline void laser_parameter::set_mat_r03(double value) {
  967. _internal_set_mat_r03(value);
  968. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r03)
  969. }
  970. // optional double mat_r10 = 8 [default = 1];
  971. inline bool laser_parameter::_internal_has_mat_r10() const {
  972. bool value = (_has_bits_[0] & 0x00080000u) != 0;
  973. return value;
  974. }
  975. inline bool laser_parameter::has_mat_r10() const {
  976. return _internal_has_mat_r10();
  977. }
  978. inline void laser_parameter::clear_mat_r10() {
  979. mat_r10_ = 1;
  980. _has_bits_[0] &= ~0x00080000u;
  981. }
  982. inline double laser_parameter::_internal_mat_r10() const {
  983. return mat_r10_;
  984. }
  985. inline double laser_parameter::mat_r10() const {
  986. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r10)
  987. return _internal_mat_r10();
  988. }
  989. inline void laser_parameter::_internal_set_mat_r10(double value) {
  990. _has_bits_[0] |= 0x00080000u;
  991. mat_r10_ = value;
  992. }
  993. inline void laser_parameter::set_mat_r10(double value) {
  994. _internal_set_mat_r10(value);
  995. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r10)
  996. }
  997. // optional double mat_r11 = 9 [default = 1];
  998. inline bool laser_parameter::_internal_has_mat_r11() const {
  999. bool value = (_has_bits_[0] & 0x00100000u) != 0;
  1000. return value;
  1001. }
  1002. inline bool laser_parameter::has_mat_r11() const {
  1003. return _internal_has_mat_r11();
  1004. }
  1005. inline void laser_parameter::clear_mat_r11() {
  1006. mat_r11_ = 1;
  1007. _has_bits_[0] &= ~0x00100000u;
  1008. }
  1009. inline double laser_parameter::_internal_mat_r11() const {
  1010. return mat_r11_;
  1011. }
  1012. inline double laser_parameter::mat_r11() const {
  1013. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r11)
  1014. return _internal_mat_r11();
  1015. }
  1016. inline void laser_parameter::_internal_set_mat_r11(double value) {
  1017. _has_bits_[0] |= 0x00100000u;
  1018. mat_r11_ = value;
  1019. }
  1020. inline void laser_parameter::set_mat_r11(double value) {
  1021. _internal_set_mat_r11(value);
  1022. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r11)
  1023. }
  1024. // optional double mat_r12 = 10 [default = 1];
  1025. inline bool laser_parameter::_internal_has_mat_r12() const {
  1026. bool value = (_has_bits_[0] & 0x00200000u) != 0;
  1027. return value;
  1028. }
  1029. inline bool laser_parameter::has_mat_r12() const {
  1030. return _internal_has_mat_r12();
  1031. }
  1032. inline void laser_parameter::clear_mat_r12() {
  1033. mat_r12_ = 1;
  1034. _has_bits_[0] &= ~0x00200000u;
  1035. }
  1036. inline double laser_parameter::_internal_mat_r12() const {
  1037. return mat_r12_;
  1038. }
  1039. inline double laser_parameter::mat_r12() const {
  1040. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r12)
  1041. return _internal_mat_r12();
  1042. }
  1043. inline void laser_parameter::_internal_set_mat_r12(double value) {
  1044. _has_bits_[0] |= 0x00200000u;
  1045. mat_r12_ = value;
  1046. }
  1047. inline void laser_parameter::set_mat_r12(double value) {
  1048. _internal_set_mat_r12(value);
  1049. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r12)
  1050. }
  1051. // optional double mat_r13 = 11 [default = 1];
  1052. inline bool laser_parameter::_internal_has_mat_r13() const {
  1053. bool value = (_has_bits_[0] & 0x00400000u) != 0;
  1054. return value;
  1055. }
  1056. inline bool laser_parameter::has_mat_r13() const {
  1057. return _internal_has_mat_r13();
  1058. }
  1059. inline void laser_parameter::clear_mat_r13() {
  1060. mat_r13_ = 1;
  1061. _has_bits_[0] &= ~0x00400000u;
  1062. }
  1063. inline double laser_parameter::_internal_mat_r13() const {
  1064. return mat_r13_;
  1065. }
  1066. inline double laser_parameter::mat_r13() const {
  1067. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r13)
  1068. return _internal_mat_r13();
  1069. }
  1070. inline void laser_parameter::_internal_set_mat_r13(double value) {
  1071. _has_bits_[0] |= 0x00400000u;
  1072. mat_r13_ = value;
  1073. }
  1074. inline void laser_parameter::set_mat_r13(double value) {
  1075. _internal_set_mat_r13(value);
  1076. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r13)
  1077. }
  1078. // optional double mat_r20 = 12 [default = 1];
  1079. inline bool laser_parameter::_internal_has_mat_r20() const {
  1080. bool value = (_has_bits_[0] & 0x00800000u) != 0;
  1081. return value;
  1082. }
  1083. inline bool laser_parameter::has_mat_r20() const {
  1084. return _internal_has_mat_r20();
  1085. }
  1086. inline void laser_parameter::clear_mat_r20() {
  1087. mat_r20_ = 1;
  1088. _has_bits_[0] &= ~0x00800000u;
  1089. }
  1090. inline double laser_parameter::_internal_mat_r20() const {
  1091. return mat_r20_;
  1092. }
  1093. inline double laser_parameter::mat_r20() const {
  1094. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r20)
  1095. return _internal_mat_r20();
  1096. }
  1097. inline void laser_parameter::_internal_set_mat_r20(double value) {
  1098. _has_bits_[0] |= 0x00800000u;
  1099. mat_r20_ = value;
  1100. }
  1101. inline void laser_parameter::set_mat_r20(double value) {
  1102. _internal_set_mat_r20(value);
  1103. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r20)
  1104. }
  1105. // optional double mat_r21 = 13 [default = 1];
  1106. inline bool laser_parameter::_internal_has_mat_r21() const {
  1107. bool value = (_has_bits_[0] & 0x01000000u) != 0;
  1108. return value;
  1109. }
  1110. inline bool laser_parameter::has_mat_r21() const {
  1111. return _internal_has_mat_r21();
  1112. }
  1113. inline void laser_parameter::clear_mat_r21() {
  1114. mat_r21_ = 1;
  1115. _has_bits_[0] &= ~0x01000000u;
  1116. }
  1117. inline double laser_parameter::_internal_mat_r21() const {
  1118. return mat_r21_;
  1119. }
  1120. inline double laser_parameter::mat_r21() const {
  1121. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r21)
  1122. return _internal_mat_r21();
  1123. }
  1124. inline void laser_parameter::_internal_set_mat_r21(double value) {
  1125. _has_bits_[0] |= 0x01000000u;
  1126. mat_r21_ = value;
  1127. }
  1128. inline void laser_parameter::set_mat_r21(double value) {
  1129. _internal_set_mat_r21(value);
  1130. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r21)
  1131. }
  1132. // optional double mat_r22 = 14 [default = 1];
  1133. inline bool laser_parameter::_internal_has_mat_r22() const {
  1134. bool value = (_has_bits_[0] & 0x02000000u) != 0;
  1135. return value;
  1136. }
  1137. inline bool laser_parameter::has_mat_r22() const {
  1138. return _internal_has_mat_r22();
  1139. }
  1140. inline void laser_parameter::clear_mat_r22() {
  1141. mat_r22_ = 1;
  1142. _has_bits_[0] &= ~0x02000000u;
  1143. }
  1144. inline double laser_parameter::_internal_mat_r22() const {
  1145. return mat_r22_;
  1146. }
  1147. inline double laser_parameter::mat_r22() const {
  1148. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r22)
  1149. return _internal_mat_r22();
  1150. }
  1151. inline void laser_parameter::_internal_set_mat_r22(double value) {
  1152. _has_bits_[0] |= 0x02000000u;
  1153. mat_r22_ = value;
  1154. }
  1155. inline void laser_parameter::set_mat_r22(double value) {
  1156. _internal_set_mat_r22(value);
  1157. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r22)
  1158. }
  1159. // optional double mat_r23 = 15 [default = 1];
  1160. inline bool laser_parameter::_internal_has_mat_r23() const {
  1161. bool value = (_has_bits_[0] & 0x04000000u) != 0;
  1162. return value;
  1163. }
  1164. inline bool laser_parameter::has_mat_r23() const {
  1165. return _internal_has_mat_r23();
  1166. }
  1167. inline void laser_parameter::clear_mat_r23() {
  1168. mat_r23_ = 1;
  1169. _has_bits_[0] &= ~0x04000000u;
  1170. }
  1171. inline double laser_parameter::_internal_mat_r23() const {
  1172. return mat_r23_;
  1173. }
  1174. inline double laser_parameter::mat_r23() const {
  1175. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.mat_r23)
  1176. return _internal_mat_r23();
  1177. }
  1178. inline void laser_parameter::_internal_set_mat_r23(double value) {
  1179. _has_bits_[0] |= 0x04000000u;
  1180. mat_r23_ = value;
  1181. }
  1182. inline void laser_parameter::set_mat_r23(double value) {
  1183. _internal_set_mat_r23(value);
  1184. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.mat_r23)
  1185. }
  1186. // optional double axis_x_theta = 16;
  1187. inline bool laser_parameter::_internal_has_axis_x_theta() const {
  1188. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  1189. return value;
  1190. }
  1191. inline bool laser_parameter::has_axis_x_theta() const {
  1192. return _internal_has_axis_x_theta();
  1193. }
  1194. inline void laser_parameter::clear_axis_x_theta() {
  1195. axis_x_theta_ = 0;
  1196. _has_bits_[0] &= ~0x00000020u;
  1197. }
  1198. inline double laser_parameter::_internal_axis_x_theta() const {
  1199. return axis_x_theta_;
  1200. }
  1201. inline double laser_parameter::axis_x_theta() const {
  1202. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.axis_x_theta)
  1203. return _internal_axis_x_theta();
  1204. }
  1205. inline void laser_parameter::_internal_set_axis_x_theta(double value) {
  1206. _has_bits_[0] |= 0x00000020u;
  1207. axis_x_theta_ = value;
  1208. }
  1209. inline void laser_parameter::set_axis_x_theta(double value) {
  1210. _internal_set_axis_x_theta(value);
  1211. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.axis_x_theta)
  1212. }
  1213. // optional double axis_y_theta = 17;
  1214. inline bool laser_parameter::_internal_has_axis_y_theta() const {
  1215. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  1216. return value;
  1217. }
  1218. inline bool laser_parameter::has_axis_y_theta() const {
  1219. return _internal_has_axis_y_theta();
  1220. }
  1221. inline void laser_parameter::clear_axis_y_theta() {
  1222. axis_y_theta_ = 0;
  1223. _has_bits_[0] &= ~0x00000040u;
  1224. }
  1225. inline double laser_parameter::_internal_axis_y_theta() const {
  1226. return axis_y_theta_;
  1227. }
  1228. inline double laser_parameter::axis_y_theta() const {
  1229. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.axis_y_theta)
  1230. return _internal_axis_y_theta();
  1231. }
  1232. inline void laser_parameter::_internal_set_axis_y_theta(double value) {
  1233. _has_bits_[0] |= 0x00000040u;
  1234. axis_y_theta_ = value;
  1235. }
  1236. inline void laser_parameter::set_axis_y_theta(double value) {
  1237. _internal_set_axis_y_theta(value);
  1238. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.axis_y_theta)
  1239. }
  1240. // optional double axis_z_theta = 18;
  1241. inline bool laser_parameter::_internal_has_axis_z_theta() const {
  1242. bool value = (_has_bits_[0] & 0x00000080u) != 0;
  1243. return value;
  1244. }
  1245. inline bool laser_parameter::has_axis_z_theta() const {
  1246. return _internal_has_axis_z_theta();
  1247. }
  1248. inline void laser_parameter::clear_axis_z_theta() {
  1249. axis_z_theta_ = 0;
  1250. _has_bits_[0] &= ~0x00000080u;
  1251. }
  1252. inline double laser_parameter::_internal_axis_z_theta() const {
  1253. return axis_z_theta_;
  1254. }
  1255. inline double laser_parameter::axis_z_theta() const {
  1256. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.axis_z_theta)
  1257. return _internal_axis_z_theta();
  1258. }
  1259. inline void laser_parameter::_internal_set_axis_z_theta(double value) {
  1260. _has_bits_[0] |= 0x00000080u;
  1261. axis_z_theta_ = value;
  1262. }
  1263. inline void laser_parameter::set_axis_z_theta(double value) {
  1264. _internal_set_axis_z_theta(value);
  1265. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.axis_z_theta)
  1266. }
  1267. // optional double translation_x = 19;
  1268. inline bool laser_parameter::_internal_has_translation_x() const {
  1269. bool value = (_has_bits_[0] & 0x00000100u) != 0;
  1270. return value;
  1271. }
  1272. inline bool laser_parameter::has_translation_x() const {
  1273. return _internal_has_translation_x();
  1274. }
  1275. inline void laser_parameter::clear_translation_x() {
  1276. translation_x_ = 0;
  1277. _has_bits_[0] &= ~0x00000100u;
  1278. }
  1279. inline double laser_parameter::_internal_translation_x() const {
  1280. return translation_x_;
  1281. }
  1282. inline double laser_parameter::translation_x() const {
  1283. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.translation_x)
  1284. return _internal_translation_x();
  1285. }
  1286. inline void laser_parameter::_internal_set_translation_x(double value) {
  1287. _has_bits_[0] |= 0x00000100u;
  1288. translation_x_ = value;
  1289. }
  1290. inline void laser_parameter::set_translation_x(double value) {
  1291. _internal_set_translation_x(value);
  1292. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.translation_x)
  1293. }
  1294. // optional double translation_y = 20;
  1295. inline bool laser_parameter::_internal_has_translation_y() const {
  1296. bool value = (_has_bits_[0] & 0x00000200u) != 0;
  1297. return value;
  1298. }
  1299. inline bool laser_parameter::has_translation_y() const {
  1300. return _internal_has_translation_y();
  1301. }
  1302. inline void laser_parameter::clear_translation_y() {
  1303. translation_y_ = 0;
  1304. _has_bits_[0] &= ~0x00000200u;
  1305. }
  1306. inline double laser_parameter::_internal_translation_y() const {
  1307. return translation_y_;
  1308. }
  1309. inline double laser_parameter::translation_y() const {
  1310. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.translation_y)
  1311. return _internal_translation_y();
  1312. }
  1313. inline void laser_parameter::_internal_set_translation_y(double value) {
  1314. _has_bits_[0] |= 0x00000200u;
  1315. translation_y_ = value;
  1316. }
  1317. inline void laser_parameter::set_translation_y(double value) {
  1318. _internal_set_translation_y(value);
  1319. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.translation_y)
  1320. }
  1321. // optional double translation_z = 21;
  1322. inline bool laser_parameter::_internal_has_translation_z() const {
  1323. bool value = (_has_bits_[0] & 0x00000400u) != 0;
  1324. return value;
  1325. }
  1326. inline bool laser_parameter::has_translation_z() const {
  1327. return _internal_has_translation_z();
  1328. }
  1329. inline void laser_parameter::clear_translation_z() {
  1330. translation_z_ = 0;
  1331. _has_bits_[0] &= ~0x00000400u;
  1332. }
  1333. inline double laser_parameter::_internal_translation_z() const {
  1334. return translation_z_;
  1335. }
  1336. inline double laser_parameter::translation_z() const {
  1337. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.translation_z)
  1338. return _internal_translation_z();
  1339. }
  1340. inline void laser_parameter::_internal_set_translation_z(double value) {
  1341. _has_bits_[0] |= 0x00000400u;
  1342. translation_z_ = value;
  1343. }
  1344. inline void laser_parameter::set_translation_z(double value) {
  1345. _internal_set_translation_z(value);
  1346. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.translation_z)
  1347. }
  1348. // optional double install_angle = 22 [default = 0];
  1349. inline bool laser_parameter::_internal_has_install_angle() const {
  1350. bool value = (_has_bits_[0] & 0x00000800u) != 0;
  1351. return value;
  1352. }
  1353. inline bool laser_parameter::has_install_angle() const {
  1354. return _internal_has_install_angle();
  1355. }
  1356. inline void laser_parameter::clear_install_angle() {
  1357. install_angle_ = 0;
  1358. _has_bits_[0] &= ~0x00000800u;
  1359. }
  1360. inline double laser_parameter::_internal_install_angle() const {
  1361. return install_angle_;
  1362. }
  1363. inline double laser_parameter::install_angle() const {
  1364. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.install_angle)
  1365. return _internal_install_angle();
  1366. }
  1367. inline void laser_parameter::_internal_set_install_angle(double value) {
  1368. _has_bits_[0] |= 0x00000800u;
  1369. install_angle_ = value;
  1370. }
  1371. inline void laser_parameter::set_install_angle(double value) {
  1372. _internal_set_install_angle(value);
  1373. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.install_angle)
  1374. }
  1375. // optional bool scan_direction = 23 [default = true];
  1376. inline bool laser_parameter::_internal_has_scan_direction() const {
  1377. bool value = (_has_bits_[0] & 0x00002000u) != 0;
  1378. return value;
  1379. }
  1380. inline bool laser_parameter::has_scan_direction() const {
  1381. return _internal_has_scan_direction();
  1382. }
  1383. inline void laser_parameter::clear_scan_direction() {
  1384. scan_direction_ = true;
  1385. _has_bits_[0] &= ~0x00002000u;
  1386. }
  1387. inline bool laser_parameter::_internal_scan_direction() const {
  1388. return scan_direction_;
  1389. }
  1390. inline bool laser_parameter::scan_direction() const {
  1391. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.scan_direction)
  1392. return _internal_scan_direction();
  1393. }
  1394. inline void laser_parameter::_internal_set_scan_direction(bool value) {
  1395. _has_bits_[0] |= 0x00002000u;
  1396. scan_direction_ = value;
  1397. }
  1398. inline void laser_parameter::set_scan_direction(bool value) {
  1399. _internal_set_scan_direction(value);
  1400. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.scan_direction)
  1401. }
  1402. // optional string sn = 24;
  1403. inline bool laser_parameter::_internal_has_sn() const {
  1404. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  1405. return value;
  1406. }
  1407. inline bool laser_parameter::has_sn() const {
  1408. return _internal_has_sn();
  1409. }
  1410. inline void laser_parameter::clear_sn() {
  1411. sn_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1412. _has_bits_[0] &= ~0x00000002u;
  1413. }
  1414. inline const std::string& laser_parameter::sn() const {
  1415. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.sn)
  1416. return _internal_sn();
  1417. }
  1418. inline void laser_parameter::set_sn(const std::string& value) {
  1419. _internal_set_sn(value);
  1420. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.sn)
  1421. }
  1422. inline std::string* laser_parameter::mutable_sn() {
  1423. // @@protoc_insertion_point(field_mutable:Laser_proto.laser_parameter.sn)
  1424. return _internal_mutable_sn();
  1425. }
  1426. inline const std::string& laser_parameter::_internal_sn() const {
  1427. return sn_.Get();
  1428. }
  1429. inline void laser_parameter::_internal_set_sn(const std::string& value) {
  1430. _has_bits_[0] |= 0x00000002u;
  1431. sn_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1432. }
  1433. inline void laser_parameter::set_sn(std::string&& value) {
  1434. _has_bits_[0] |= 0x00000002u;
  1435. sn_.Set(
  1436. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1437. // @@protoc_insertion_point(field_set_rvalue:Laser_proto.laser_parameter.sn)
  1438. }
  1439. inline void laser_parameter::set_sn(const char* value) {
  1440. GOOGLE_DCHECK(value != nullptr);
  1441. _has_bits_[0] |= 0x00000002u;
  1442. sn_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1443. GetArena());
  1444. // @@protoc_insertion_point(field_set_char:Laser_proto.laser_parameter.sn)
  1445. }
  1446. inline void laser_parameter::set_sn(const char* value,
  1447. size_t size) {
  1448. _has_bits_[0] |= 0x00000002u;
  1449. sn_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1450. reinterpret_cast<const char*>(value), size), GetArena());
  1451. // @@protoc_insertion_point(field_set_pointer:Laser_proto.laser_parameter.sn)
  1452. }
  1453. inline std::string* laser_parameter::_internal_mutable_sn() {
  1454. _has_bits_[0] |= 0x00000002u;
  1455. return sn_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1456. }
  1457. inline std::string* laser_parameter::release_sn() {
  1458. // @@protoc_insertion_point(field_release:Laser_proto.laser_parameter.sn)
  1459. if (!_internal_has_sn()) {
  1460. return nullptr;
  1461. }
  1462. _has_bits_[0] &= ~0x00000002u;
  1463. return sn_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1464. }
  1465. inline void laser_parameter::set_allocated_sn(std::string* sn) {
  1466. if (sn != nullptr) {
  1467. _has_bits_[0] |= 0x00000002u;
  1468. } else {
  1469. _has_bits_[0] &= ~0x00000002u;
  1470. }
  1471. sn_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sn,
  1472. GetArena());
  1473. // @@protoc_insertion_point(field_set_allocated:Laser_proto.laser_parameter.sn)
  1474. }
  1475. // optional int64 frame_num = 25 [default = 3000];
  1476. inline bool laser_parameter::_internal_has_frame_num() const {
  1477. bool value = (_has_bits_[0] & 0x08000000u) != 0;
  1478. return value;
  1479. }
  1480. inline bool laser_parameter::has_frame_num() const {
  1481. return _internal_has_frame_num();
  1482. }
  1483. inline void laser_parameter::clear_frame_num() {
  1484. frame_num_ = PROTOBUF_LONGLONG(3000);
  1485. _has_bits_[0] &= ~0x08000000u;
  1486. }
  1487. inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::_internal_frame_num() const {
  1488. return frame_num_;
  1489. }
  1490. inline ::PROTOBUF_NAMESPACE_ID::int64 laser_parameter::frame_num() const {
  1491. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.frame_num)
  1492. return _internal_frame_num();
  1493. }
  1494. inline void laser_parameter::_internal_set_frame_num(::PROTOBUF_NAMESPACE_ID::int64 value) {
  1495. _has_bits_[0] |= 0x08000000u;
  1496. frame_num_ = value;
  1497. }
  1498. inline void laser_parameter::set_frame_num(::PROTOBUF_NAMESPACE_ID::int64 value) {
  1499. _internal_set_frame_num(value);
  1500. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.frame_num)
  1501. }
  1502. // optional string type = 26 [default = ""];
  1503. inline bool laser_parameter::_internal_has_type() const {
  1504. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  1505. return value;
  1506. }
  1507. inline bool laser_parameter::has_type() const {
  1508. return _internal_has_type();
  1509. }
  1510. inline void laser_parameter::clear_type() {
  1511. type_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1512. _has_bits_[0] &= ~0x00000004u;
  1513. }
  1514. inline const std::string& laser_parameter::type() const {
  1515. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.type)
  1516. return _internal_type();
  1517. }
  1518. inline void laser_parameter::set_type(const std::string& value) {
  1519. _internal_set_type(value);
  1520. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.type)
  1521. }
  1522. inline std::string* laser_parameter::mutable_type() {
  1523. // @@protoc_insertion_point(field_mutable:Laser_proto.laser_parameter.type)
  1524. return _internal_mutable_type();
  1525. }
  1526. inline const std::string& laser_parameter::_internal_type() const {
  1527. return type_.Get();
  1528. }
  1529. inline void laser_parameter::_internal_set_type(const std::string& value) {
  1530. _has_bits_[0] |= 0x00000004u;
  1531. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1532. }
  1533. inline void laser_parameter::set_type(std::string&& value) {
  1534. _has_bits_[0] |= 0x00000004u;
  1535. type_.Set(
  1536. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1537. // @@protoc_insertion_point(field_set_rvalue:Laser_proto.laser_parameter.type)
  1538. }
  1539. inline void laser_parameter::set_type(const char* value) {
  1540. GOOGLE_DCHECK(value != nullptr);
  1541. _has_bits_[0] |= 0x00000004u;
  1542. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1543. GetArena());
  1544. // @@protoc_insertion_point(field_set_char:Laser_proto.laser_parameter.type)
  1545. }
  1546. inline void laser_parameter::set_type(const char* value,
  1547. size_t size) {
  1548. _has_bits_[0] |= 0x00000004u;
  1549. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1550. reinterpret_cast<const char*>(value), size), GetArena());
  1551. // @@protoc_insertion_point(field_set_pointer:Laser_proto.laser_parameter.type)
  1552. }
  1553. inline std::string* laser_parameter::_internal_mutable_type() {
  1554. _has_bits_[0] |= 0x00000004u;
  1555. return type_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1556. }
  1557. inline std::string* laser_parameter::release_type() {
  1558. // @@protoc_insertion_point(field_release:Laser_proto.laser_parameter.type)
  1559. if (!_internal_has_type()) {
  1560. return nullptr;
  1561. }
  1562. _has_bits_[0] &= ~0x00000004u;
  1563. return type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1564. }
  1565. inline void laser_parameter::set_allocated_type(std::string* type) {
  1566. if (type != nullptr) {
  1567. _has_bits_[0] |= 0x00000004u;
  1568. } else {
  1569. _has_bits_[0] &= ~0x00000004u;
  1570. }
  1571. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  1572. GetArena());
  1573. // @@protoc_insertion_point(field_set_allocated:Laser_proto.laser_parameter.type)
  1574. }
  1575. // optional bool is_save_banary = 27 [default = false];
  1576. inline bool laser_parameter::_internal_has_is_save_banary() const {
  1577. bool value = (_has_bits_[0] & 0x00001000u) != 0;
  1578. return value;
  1579. }
  1580. inline bool laser_parameter::has_is_save_banary() const {
  1581. return _internal_has_is_save_banary();
  1582. }
  1583. inline void laser_parameter::clear_is_save_banary() {
  1584. is_save_banary_ = false;
  1585. _has_bits_[0] &= ~0x00001000u;
  1586. }
  1587. inline bool laser_parameter::_internal_is_save_banary() const {
  1588. return is_save_banary_;
  1589. }
  1590. inline bool laser_parameter::is_save_banary() const {
  1591. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.is_save_banary)
  1592. return _internal_is_save_banary();
  1593. }
  1594. inline void laser_parameter::_internal_set_is_save_banary(bool value) {
  1595. _has_bits_[0] |= 0x00001000u;
  1596. is_save_banary_ = value;
  1597. }
  1598. inline void laser_parameter::set_is_save_banary(bool value) {
  1599. _internal_set_is_save_banary(value);
  1600. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.is_save_banary)
  1601. }
  1602. // optional bool is_save_txt = 28 [default = true];
  1603. inline bool laser_parameter::_internal_has_is_save_txt() const {
  1604. bool value = (_has_bits_[0] & 0x00004000u) != 0;
  1605. return value;
  1606. }
  1607. inline bool laser_parameter::has_is_save_txt() const {
  1608. return _internal_has_is_save_txt();
  1609. }
  1610. inline void laser_parameter::clear_is_save_txt() {
  1611. is_save_txt_ = true;
  1612. _has_bits_[0] &= ~0x00004000u;
  1613. }
  1614. inline bool laser_parameter::_internal_is_save_txt() const {
  1615. return is_save_txt_;
  1616. }
  1617. inline bool laser_parameter::is_save_txt() const {
  1618. // @@protoc_insertion_point(field_get:Laser_proto.laser_parameter.is_save_txt)
  1619. return _internal_is_save_txt();
  1620. }
  1621. inline void laser_parameter::_internal_set_is_save_txt(bool value) {
  1622. _has_bits_[0] |= 0x00004000u;
  1623. is_save_txt_ = value;
  1624. }
  1625. inline void laser_parameter::set_is_save_txt(bool value) {
  1626. _internal_set_is_save_txt(value);
  1627. // @@protoc_insertion_point(field_set:Laser_proto.laser_parameter.is_save_txt)
  1628. }
  1629. // -------------------------------------------------------------------
  1630. // Laser_parameter_all
  1631. // repeated .Laser_proto.laser_parameter laser_parameters = 1;
  1632. inline int Laser_parameter_all::_internal_laser_parameters_size() const {
  1633. return laser_parameters_.size();
  1634. }
  1635. inline int Laser_parameter_all::laser_parameters_size() const {
  1636. return _internal_laser_parameters_size();
  1637. }
  1638. inline void Laser_parameter_all::clear_laser_parameters() {
  1639. laser_parameters_.Clear();
  1640. }
  1641. inline ::Laser_proto::laser_parameter* Laser_parameter_all::mutable_laser_parameters(int index) {
  1642. // @@protoc_insertion_point(field_mutable:Laser_proto.Laser_parameter_all.laser_parameters)
  1643. return laser_parameters_.Mutable(index);
  1644. }
  1645. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Laser_proto::laser_parameter >*
  1646. Laser_parameter_all::mutable_laser_parameters() {
  1647. // @@protoc_insertion_point(field_mutable_list:Laser_proto.Laser_parameter_all.laser_parameters)
  1648. return &laser_parameters_;
  1649. }
  1650. inline const ::Laser_proto::laser_parameter& Laser_parameter_all::_internal_laser_parameters(int index) const {
  1651. return laser_parameters_.Get(index);
  1652. }
  1653. inline const ::Laser_proto::laser_parameter& Laser_parameter_all::laser_parameters(int index) const {
  1654. // @@protoc_insertion_point(field_get:Laser_proto.Laser_parameter_all.laser_parameters)
  1655. return _internal_laser_parameters(index);
  1656. }
  1657. inline ::Laser_proto::laser_parameter* Laser_parameter_all::_internal_add_laser_parameters() {
  1658. return laser_parameters_.Add();
  1659. }
  1660. inline ::Laser_proto::laser_parameter* Laser_parameter_all::add_laser_parameters() {
  1661. // @@protoc_insertion_point(field_add:Laser_proto.Laser_parameter_all.laser_parameters)
  1662. return _internal_add_laser_parameters();
  1663. }
  1664. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Laser_proto::laser_parameter >&
  1665. Laser_parameter_all::laser_parameters() const {
  1666. // @@protoc_insertion_point(field_list:Laser_proto.Laser_parameter_all.laser_parameters)
  1667. return laser_parameters_;
  1668. }
  1669. #ifdef __GNUC__
  1670. #pragma GCC diagnostic pop
  1671. #endif // __GNUC__
  1672. // -------------------------------------------------------------------
  1673. // @@protoc_insertion_point(namespace_scope)
  1674. } // namespace Laser_proto
  1675. // @@protoc_insertion_point(global_scope)
  1676. #include <google/protobuf/port_undef.inc>
  1677. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_laser_5fparameter_2eproto