velodyne_config.pb.h 85 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: velodyne_config.proto
  3. #ifndef PROTOBUF_INCLUDED_velodyne_5fconfig_2eproto
  4. #define PROTOBUF_INCLUDED_velodyne_5fconfig_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/unknown_field_set.h>
  28. // @@protoc_insertion_point(includes)
  29. #define PROTOBUF_INTERNAL_EXPORT_protobuf_velodyne_5fconfig_2eproto
  30. namespace protobuf_velodyne_5fconfig_2eproto {
  31. // Internal implementation detail -- do not use these members.
  32. struct TableStruct {
  33. static const ::google::protobuf::internal::ParseTableField entries[];
  34. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  35. static const ::google::protobuf::internal::ParseTable schema[5];
  36. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  37. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  38. static const ::google::protobuf::uint32 offsets[];
  39. };
  40. void AddDescriptors();
  41. } // namespace protobuf_velodyne_5fconfig_2eproto
  42. namespace velodyne {
  43. class CalibParameter;
  44. class CalibParameterDefaultTypeInternal;
  45. extern CalibParameterDefaultTypeInternal _CalibParameter_default_instance_;
  46. class Region;
  47. class RegionDefaultTypeInternal;
  48. extern RegionDefaultTypeInternal _Region_default_instance_;
  49. class lidarExtrinsic;
  50. class lidarExtrinsicDefaultTypeInternal;
  51. extern lidarExtrinsicDefaultTypeInternal _lidarExtrinsic_default_instance_;
  52. class velodyneLidarParams;
  53. class velodyneLidarParamsDefaultTypeInternal;
  54. extern velodyneLidarParamsDefaultTypeInternal _velodyneLidarParams_default_instance_;
  55. class velodyneManagerParams;
  56. class velodyneManagerParamsDefaultTypeInternal;
  57. extern velodyneManagerParamsDefaultTypeInternal _velodyneManagerParams_default_instance_;
  58. } // namespace velodyne
  59. namespace google {
  60. namespace protobuf {
  61. template<> ::velodyne::CalibParameter* Arena::CreateMaybeMessage<::velodyne::CalibParameter>(Arena*);
  62. template<> ::velodyne::Region* Arena::CreateMaybeMessage<::velodyne::Region>(Arena*);
  63. template<> ::velodyne::lidarExtrinsic* Arena::CreateMaybeMessage<::velodyne::lidarExtrinsic>(Arena*);
  64. template<> ::velodyne::velodyneLidarParams* Arena::CreateMaybeMessage<::velodyne::velodyneLidarParams>(Arena*);
  65. template<> ::velodyne::velodyneManagerParams* Arena::CreateMaybeMessage<::velodyne::velodyneManagerParams>(Arena*);
  66. } // namespace protobuf
  67. } // namespace google
  68. namespace velodyne {
  69. // ===================================================================
  70. class velodyneManagerParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.velodyneManagerParams) */ {
  71. public:
  72. velodyneManagerParams();
  73. virtual ~velodyneManagerParams();
  74. velodyneManagerParams(const velodyneManagerParams& from);
  75. inline velodyneManagerParams& operator=(const velodyneManagerParams& from) {
  76. CopyFrom(from);
  77. return *this;
  78. }
  79. #if LANG_CXX11
  80. velodyneManagerParams(velodyneManagerParams&& from) noexcept
  81. : velodyneManagerParams() {
  82. *this = ::std::move(from);
  83. }
  84. inline velodyneManagerParams& operator=(velodyneManagerParams&& from) noexcept {
  85. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  86. if (this != &from) InternalSwap(&from);
  87. } else {
  88. CopyFrom(from);
  89. }
  90. return *this;
  91. }
  92. #endif
  93. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  94. return _internal_metadata_.unknown_fields();
  95. }
  96. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  97. return _internal_metadata_.mutable_unknown_fields();
  98. }
  99. static const ::google::protobuf::Descriptor* descriptor();
  100. static const velodyneManagerParams& default_instance();
  101. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  102. static inline const velodyneManagerParams* internal_default_instance() {
  103. return reinterpret_cast<const velodyneManagerParams*>(
  104. &_velodyneManagerParams_default_instance_);
  105. }
  106. static constexpr int kIndexInFileMessages =
  107. 0;
  108. void Swap(velodyneManagerParams* other);
  109. friend void swap(velodyneManagerParams& a, velodyneManagerParams& b) {
  110. a.Swap(&b);
  111. }
  112. // implements Message ----------------------------------------------
  113. inline velodyneManagerParams* New() const final {
  114. return CreateMaybeMessage<velodyneManagerParams>(NULL);
  115. }
  116. velodyneManagerParams* New(::google::protobuf::Arena* arena) const final {
  117. return CreateMaybeMessage<velodyneManagerParams>(arena);
  118. }
  119. void CopyFrom(const ::google::protobuf::Message& from) final;
  120. void MergeFrom(const ::google::protobuf::Message& from) final;
  121. void CopyFrom(const velodyneManagerParams& from);
  122. void MergeFrom(const velodyneManagerParams& from);
  123. void Clear() final;
  124. bool IsInitialized() const final;
  125. size_t ByteSizeLong() const final;
  126. bool MergePartialFromCodedStream(
  127. ::google::protobuf::io::CodedInputStream* input) final;
  128. void SerializeWithCachedSizes(
  129. ::google::protobuf::io::CodedOutputStream* output) const final;
  130. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  131. bool deterministic, ::google::protobuf::uint8* target) const final;
  132. int GetCachedSize() const final { return _cached_size_.Get(); }
  133. private:
  134. void SharedCtor();
  135. void SharedDtor();
  136. void SetCachedSize(int size) const final;
  137. void InternalSwap(velodyneManagerParams* other);
  138. private:
  139. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  140. return NULL;
  141. }
  142. inline void* MaybeArenaPtr() const {
  143. return NULL;
  144. }
  145. public:
  146. ::google::protobuf::Metadata GetMetadata() const final;
  147. // nested types ----------------------------------------------------
  148. // accessors -------------------------------------------------------
  149. // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
  150. int velodyne_lidars_size() const;
  151. void clear_velodyne_lidars();
  152. static const int kVelodyneLidarsFieldNumber = 1;
  153. ::velodyne::velodyneLidarParams* mutable_velodyne_lidars(int index);
  154. ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
  155. mutable_velodyne_lidars();
  156. const ::velodyne::velodyneLidarParams& velodyne_lidars(int index) const;
  157. ::velodyne::velodyneLidarParams* add_velodyne_lidars();
  158. const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
  159. velodyne_lidars() const;
  160. // repeated .velodyne.Region region = 2;
  161. int region_size() const;
  162. void clear_region();
  163. static const int kRegionFieldNumber = 2;
  164. ::velodyne::Region* mutable_region(int index);
  165. ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
  166. mutable_region();
  167. const ::velodyne::Region& region(int index) const;
  168. ::velodyne::Region* add_region();
  169. const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
  170. region() const;
  171. // optional string fence_data_path = 3 [default = ""];
  172. bool has_fence_data_path() const;
  173. void clear_fence_data_path();
  174. static const int kFenceDataPathFieldNumber = 3;
  175. const ::std::string& fence_data_path() const;
  176. void set_fence_data_path(const ::std::string& value);
  177. #if LANG_CXX11
  178. void set_fence_data_path(::std::string&& value);
  179. #endif
  180. void set_fence_data_path(const char* value);
  181. void set_fence_data_path(const char* value, size_t size);
  182. ::std::string* mutable_fence_data_path();
  183. ::std::string* release_fence_data_path();
  184. void set_allocated_fence_data_path(::std::string* fence_data_path);
  185. // optional string fence_log_path = 4 [default = ""];
  186. bool has_fence_log_path() const;
  187. void clear_fence_log_path();
  188. static const int kFenceLogPathFieldNumber = 4;
  189. const ::std::string& fence_log_path() const;
  190. void set_fence_log_path(const ::std::string& value);
  191. #if LANG_CXX11
  192. void set_fence_log_path(::std::string&& value);
  193. #endif
  194. void set_fence_log_path(const char* value);
  195. void set_fence_log_path(const char* value, size_t size);
  196. ::std::string* mutable_fence_log_path();
  197. ::std::string* release_fence_log_path();
  198. void set_allocated_fence_log_path(::std::string* fence_log_path);
  199. // optional string left_model_path = 5 [default = ""];
  200. bool has_left_model_path() const;
  201. void clear_left_model_path();
  202. static const int kLeftModelPathFieldNumber = 5;
  203. const ::std::string& left_model_path() const;
  204. void set_left_model_path(const ::std::string& value);
  205. #if LANG_CXX11
  206. void set_left_model_path(::std::string&& value);
  207. #endif
  208. void set_left_model_path(const char* value);
  209. void set_left_model_path(const char* value, size_t size);
  210. ::std::string* mutable_left_model_path();
  211. ::std::string* release_left_model_path();
  212. void set_allocated_left_model_path(::std::string* left_model_path);
  213. // optional string right_model_path = 6 [default = ""];
  214. bool has_right_model_path() const;
  215. void clear_right_model_path();
  216. static const int kRightModelPathFieldNumber = 6;
  217. const ::std::string& right_model_path() const;
  218. void set_right_model_path(const ::std::string& value);
  219. #if LANG_CXX11
  220. void set_right_model_path(::std::string&& value);
  221. #endif
  222. void set_right_model_path(const char* value);
  223. void set_right_model_path(const char* value, size_t size);
  224. ::std::string* mutable_right_model_path();
  225. ::std::string* release_right_model_path();
  226. void set_allocated_right_model_path(::std::string* right_model_path);
  227. // required bool distribution_mode = 7 [default = false];
  228. bool has_distribution_mode() const;
  229. void clear_distribution_mode();
  230. static const int kDistributionModeFieldNumber = 7;
  231. bool distribution_mode() const;
  232. void set_distribution_mode(bool value);
  233. // @@protoc_insertion_point(class_scope:velodyne.velodyneManagerParams)
  234. private:
  235. void set_has_fence_data_path();
  236. void clear_has_fence_data_path();
  237. void set_has_fence_log_path();
  238. void clear_has_fence_log_path();
  239. void set_has_left_model_path();
  240. void clear_has_left_model_path();
  241. void set_has_right_model_path();
  242. void clear_has_right_model_path();
  243. void set_has_distribution_mode();
  244. void clear_has_distribution_mode();
  245. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  246. ::google::protobuf::internal::HasBits<1> _has_bits_;
  247. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  248. ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams > velodyne_lidars_;
  249. ::google::protobuf::RepeatedPtrField< ::velodyne::Region > region_;
  250. ::google::protobuf::internal::ArenaStringPtr fence_data_path_;
  251. ::google::protobuf::internal::ArenaStringPtr fence_log_path_;
  252. ::google::protobuf::internal::ArenaStringPtr left_model_path_;
  253. ::google::protobuf::internal::ArenaStringPtr right_model_path_;
  254. bool distribution_mode_;
  255. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  256. };
  257. // -------------------------------------------------------------------
  258. class velodyneLidarParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.velodyneLidarParams) */ {
  259. public:
  260. velodyneLidarParams();
  261. virtual ~velodyneLidarParams();
  262. velodyneLidarParams(const velodyneLidarParams& from);
  263. inline velodyneLidarParams& operator=(const velodyneLidarParams& from) {
  264. CopyFrom(from);
  265. return *this;
  266. }
  267. #if LANG_CXX11
  268. velodyneLidarParams(velodyneLidarParams&& from) noexcept
  269. : velodyneLidarParams() {
  270. *this = ::std::move(from);
  271. }
  272. inline velodyneLidarParams& operator=(velodyneLidarParams&& from) noexcept {
  273. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  274. if (this != &from) InternalSwap(&from);
  275. } else {
  276. CopyFrom(from);
  277. }
  278. return *this;
  279. }
  280. #endif
  281. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  282. return _internal_metadata_.unknown_fields();
  283. }
  284. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  285. return _internal_metadata_.mutable_unknown_fields();
  286. }
  287. static const ::google::protobuf::Descriptor* descriptor();
  288. static const velodyneLidarParams& default_instance();
  289. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  290. static inline const velodyneLidarParams* internal_default_instance() {
  291. return reinterpret_cast<const velodyneLidarParams*>(
  292. &_velodyneLidarParams_default_instance_);
  293. }
  294. static constexpr int kIndexInFileMessages =
  295. 1;
  296. void Swap(velodyneLidarParams* other);
  297. friend void swap(velodyneLidarParams& a, velodyneLidarParams& b) {
  298. a.Swap(&b);
  299. }
  300. // implements Message ----------------------------------------------
  301. inline velodyneLidarParams* New() const final {
  302. return CreateMaybeMessage<velodyneLidarParams>(NULL);
  303. }
  304. velodyneLidarParams* New(::google::protobuf::Arena* arena) const final {
  305. return CreateMaybeMessage<velodyneLidarParams>(arena);
  306. }
  307. void CopyFrom(const ::google::protobuf::Message& from) final;
  308. void MergeFrom(const ::google::protobuf::Message& from) final;
  309. void CopyFrom(const velodyneLidarParams& from);
  310. void MergeFrom(const velodyneLidarParams& from);
  311. void Clear() final;
  312. bool IsInitialized() const final;
  313. size_t ByteSizeLong() const final;
  314. bool MergePartialFromCodedStream(
  315. ::google::protobuf::io::CodedInputStream* input) final;
  316. void SerializeWithCachedSizes(
  317. ::google::protobuf::io::CodedOutputStream* output) const final;
  318. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  319. bool deterministic, ::google::protobuf::uint8* target) const final;
  320. int GetCachedSize() const final { return _cached_size_.Get(); }
  321. private:
  322. void SharedCtor();
  323. void SharedDtor();
  324. void SetCachedSize(int size) const final;
  325. void InternalSwap(velodyneLidarParams* other);
  326. private:
  327. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  328. return NULL;
  329. }
  330. inline void* MaybeArenaPtr() const {
  331. return NULL;
  332. }
  333. public:
  334. ::google::protobuf::Metadata GetMetadata() const final;
  335. // nested types ----------------------------------------------------
  336. // accessors -------------------------------------------------------
  337. // required string ip = 1 [default = ""];
  338. bool has_ip() const;
  339. void clear_ip();
  340. static const int kIpFieldNumber = 1;
  341. const ::std::string& ip() const;
  342. void set_ip(const ::std::string& value);
  343. #if LANG_CXX11
  344. void set_ip(::std::string&& value);
  345. #endif
  346. void set_ip(const char* value);
  347. void set_ip(const char* value, size_t size);
  348. ::std::string* mutable_ip();
  349. ::std::string* release_ip();
  350. void set_allocated_ip(::std::string* ip);
  351. // required string model = 3 [default = "VLP16"];
  352. bool has_model() const;
  353. void clear_model();
  354. static const int kModelFieldNumber = 3;
  355. const ::std::string& model() const;
  356. void set_model(const ::std::string& value);
  357. #if LANG_CXX11
  358. void set_model(::std::string&& value);
  359. #endif
  360. void set_model(const char* value);
  361. void set_model(const char* value, size_t size);
  362. ::std::string* mutable_model();
  363. ::std::string* release_model();
  364. void set_allocated_model(::std::string* model);
  365. // required string calibrationFile = 4 [default = ""];
  366. bool has_calibrationfile() const;
  367. void clear_calibrationfile();
  368. static const int kCalibrationFileFieldNumber = 4;
  369. const ::std::string& calibrationfile() const;
  370. void set_calibrationfile(const ::std::string& value);
  371. #if LANG_CXX11
  372. void set_calibrationfile(::std::string&& value);
  373. #endif
  374. void set_calibrationfile(const char* value);
  375. void set_calibrationfile(const char* value, size_t size);
  376. ::std::string* mutable_calibrationfile();
  377. ::std::string* release_calibrationfile();
  378. void set_allocated_calibrationfile(::std::string* calibrationfile);
  379. // optional .velodyne.CalibParameter calib = 11;
  380. bool has_calib() const;
  381. void clear_calib();
  382. static const int kCalibFieldNumber = 11;
  383. private:
  384. const ::velodyne::CalibParameter& _internal_calib() const;
  385. public:
  386. const ::velodyne::CalibParameter& calib() const;
  387. ::velodyne::CalibParameter* release_calib();
  388. ::velodyne::CalibParameter* mutable_calib();
  389. void set_allocated_calib(::velodyne::CalibParameter* calib);
  390. // required int32 lidar_id = 5 [default = 0];
  391. bool has_lidar_id() const;
  392. void clear_lidar_id();
  393. static const int kLidarIdFieldNumber = 5;
  394. ::google::protobuf::int32 lidar_id() const;
  395. void set_lidar_id(::google::protobuf::int32 value);
  396. // optional int32 min_angle = 8 [default = 0];
  397. bool has_min_angle() const;
  398. void clear_min_angle();
  399. static const int kMinAngleFieldNumber = 8;
  400. ::google::protobuf::int32 min_angle() const;
  401. void set_min_angle(::google::protobuf::int32 value);
  402. // optional int32 rpm = 10 [default = 600];
  403. bool has_rpm() const;
  404. void clear_rpm();
  405. static const int kRpmFieldNumber = 10;
  406. ::google::protobuf::int32 rpm() const;
  407. void set_rpm(::google::protobuf::int32 value);
  408. // required int32 port = 2 [default = 2368];
  409. bool has_port() const;
  410. void clear_port();
  411. static const int kPortFieldNumber = 2;
  412. ::google::protobuf::int32 port() const;
  413. void set_port(::google::protobuf::int32 value);
  414. // optional float max_range = 6 [default = 10];
  415. bool has_max_range() const;
  416. void clear_max_range();
  417. static const int kMaxRangeFieldNumber = 6;
  418. float max_range() const;
  419. void set_max_range(float value);
  420. // optional float min_range = 7 [default = 0.15];
  421. bool has_min_range() const;
  422. void clear_min_range();
  423. static const int kMinRangeFieldNumber = 7;
  424. float min_range() const;
  425. void set_min_range(float value);
  426. // optional int32 max_angle = 9 [default = 360];
  427. bool has_max_angle() const;
  428. void clear_max_angle();
  429. static const int kMaxAngleFieldNumber = 9;
  430. ::google::protobuf::int32 max_angle() const;
  431. void set_max_angle(::google::protobuf::int32 value);
  432. // @@protoc_insertion_point(class_scope:velodyne.velodyneLidarParams)
  433. private:
  434. void set_has_ip();
  435. void clear_has_ip();
  436. void set_has_port();
  437. void clear_has_port();
  438. void set_has_model();
  439. void clear_has_model();
  440. void set_has_calibrationfile();
  441. void clear_has_calibrationfile();
  442. void set_has_lidar_id();
  443. void clear_has_lidar_id();
  444. void set_has_max_range();
  445. void clear_has_max_range();
  446. void set_has_min_range();
  447. void clear_has_min_range();
  448. void set_has_min_angle();
  449. void clear_has_min_angle();
  450. void set_has_max_angle();
  451. void clear_has_max_angle();
  452. void set_has_rpm();
  453. void clear_has_rpm();
  454. void set_has_calib();
  455. void clear_has_calib();
  456. // helper for ByteSizeLong()
  457. size_t RequiredFieldsByteSizeFallback() const;
  458. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  459. ::google::protobuf::internal::HasBits<1> _has_bits_;
  460. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  461. ::google::protobuf::internal::ArenaStringPtr ip_;
  462. public:
  463. static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_model_;
  464. private:
  465. ::google::protobuf::internal::ArenaStringPtr model_;
  466. ::google::protobuf::internal::ArenaStringPtr calibrationfile_;
  467. ::velodyne::CalibParameter* calib_;
  468. ::google::protobuf::int32 lidar_id_;
  469. ::google::protobuf::int32 min_angle_;
  470. ::google::protobuf::int32 rpm_;
  471. ::google::protobuf::int32 port_;
  472. float max_range_;
  473. float min_range_;
  474. ::google::protobuf::int32 max_angle_;
  475. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  476. };
  477. // -------------------------------------------------------------------
  478. class CalibParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.CalibParameter) */ {
  479. public:
  480. CalibParameter();
  481. virtual ~CalibParameter();
  482. CalibParameter(const CalibParameter& from);
  483. inline CalibParameter& operator=(const CalibParameter& from) {
  484. CopyFrom(from);
  485. return *this;
  486. }
  487. #if LANG_CXX11
  488. CalibParameter(CalibParameter&& from) noexcept
  489. : CalibParameter() {
  490. *this = ::std::move(from);
  491. }
  492. inline CalibParameter& operator=(CalibParameter&& from) noexcept {
  493. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  494. if (this != &from) InternalSwap(&from);
  495. } else {
  496. CopyFrom(from);
  497. }
  498. return *this;
  499. }
  500. #endif
  501. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  502. return _internal_metadata_.unknown_fields();
  503. }
  504. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  505. return _internal_metadata_.mutable_unknown_fields();
  506. }
  507. static const ::google::protobuf::Descriptor* descriptor();
  508. static const CalibParameter& default_instance();
  509. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  510. static inline const CalibParameter* internal_default_instance() {
  511. return reinterpret_cast<const CalibParameter*>(
  512. &_CalibParameter_default_instance_);
  513. }
  514. static constexpr int kIndexInFileMessages =
  515. 2;
  516. void Swap(CalibParameter* other);
  517. friend void swap(CalibParameter& a, CalibParameter& b) {
  518. a.Swap(&b);
  519. }
  520. // implements Message ----------------------------------------------
  521. inline CalibParameter* New() const final {
  522. return CreateMaybeMessage<CalibParameter>(NULL);
  523. }
  524. CalibParameter* New(::google::protobuf::Arena* arena) const final {
  525. return CreateMaybeMessage<CalibParameter>(arena);
  526. }
  527. void CopyFrom(const ::google::protobuf::Message& from) final;
  528. void MergeFrom(const ::google::protobuf::Message& from) final;
  529. void CopyFrom(const CalibParameter& from);
  530. void MergeFrom(const CalibParameter& from);
  531. void Clear() final;
  532. bool IsInitialized() const final;
  533. size_t ByteSizeLong() const final;
  534. bool MergePartialFromCodedStream(
  535. ::google::protobuf::io::CodedInputStream* input) final;
  536. void SerializeWithCachedSizes(
  537. ::google::protobuf::io::CodedOutputStream* output) const final;
  538. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  539. bool deterministic, ::google::protobuf::uint8* target) const final;
  540. int GetCachedSize() const final { return _cached_size_.Get(); }
  541. private:
  542. void SharedCtor();
  543. void SharedDtor();
  544. void SetCachedSize(int size) const final;
  545. void InternalSwap(CalibParameter* other);
  546. private:
  547. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  548. return NULL;
  549. }
  550. inline void* MaybeArenaPtr() const {
  551. return NULL;
  552. }
  553. public:
  554. ::google::protobuf::Metadata GetMetadata() const final;
  555. // nested types ----------------------------------------------------
  556. // accessors -------------------------------------------------------
  557. // optional float r = 1 [default = 0];
  558. bool has_r() const;
  559. void clear_r();
  560. static const int kRFieldNumber = 1;
  561. float r() const;
  562. void set_r(float value);
  563. // optional float p = 2 [default = 0];
  564. bool has_p() const;
  565. void clear_p();
  566. static const int kPFieldNumber = 2;
  567. float p() const;
  568. void set_p(float value);
  569. // optional float y = 3 [default = 0];
  570. bool has_y() const;
  571. void clear_y();
  572. static const int kYFieldNumber = 3;
  573. float y() const;
  574. void set_y(float value);
  575. // optional float cx = 4 [default = 0];
  576. bool has_cx() const;
  577. void clear_cx();
  578. static const int kCxFieldNumber = 4;
  579. float cx() const;
  580. void set_cx(float value);
  581. // optional float cy = 5 [default = 0];
  582. bool has_cy() const;
  583. void clear_cy();
  584. static const int kCyFieldNumber = 5;
  585. float cy() const;
  586. void set_cy(float value);
  587. // optional float cz = 6 [default = 0];
  588. bool has_cz() const;
  589. void clear_cz();
  590. static const int kCzFieldNumber = 6;
  591. float cz() const;
  592. void set_cz(float value);
  593. // @@protoc_insertion_point(class_scope:velodyne.CalibParameter)
  594. private:
  595. void set_has_r();
  596. void clear_has_r();
  597. void set_has_p();
  598. void clear_has_p();
  599. void set_has_y();
  600. void clear_has_y();
  601. void set_has_cx();
  602. void clear_has_cx();
  603. void set_has_cy();
  604. void clear_has_cy();
  605. void set_has_cz();
  606. void clear_has_cz();
  607. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  608. ::google::protobuf::internal::HasBits<1> _has_bits_;
  609. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  610. float r_;
  611. float p_;
  612. float y_;
  613. float cx_;
  614. float cy_;
  615. float cz_;
  616. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  617. };
  618. // -------------------------------------------------------------------
  619. class lidarExtrinsic : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.lidarExtrinsic) */ {
  620. public:
  621. lidarExtrinsic();
  622. virtual ~lidarExtrinsic();
  623. lidarExtrinsic(const lidarExtrinsic& from);
  624. inline lidarExtrinsic& operator=(const lidarExtrinsic& from) {
  625. CopyFrom(from);
  626. return *this;
  627. }
  628. #if LANG_CXX11
  629. lidarExtrinsic(lidarExtrinsic&& from) noexcept
  630. : lidarExtrinsic() {
  631. *this = ::std::move(from);
  632. }
  633. inline lidarExtrinsic& operator=(lidarExtrinsic&& from) noexcept {
  634. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  635. if (this != &from) InternalSwap(&from);
  636. } else {
  637. CopyFrom(from);
  638. }
  639. return *this;
  640. }
  641. #endif
  642. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  643. return _internal_metadata_.unknown_fields();
  644. }
  645. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  646. return _internal_metadata_.mutable_unknown_fields();
  647. }
  648. static const ::google::protobuf::Descriptor* descriptor();
  649. static const lidarExtrinsic& default_instance();
  650. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  651. static inline const lidarExtrinsic* internal_default_instance() {
  652. return reinterpret_cast<const lidarExtrinsic*>(
  653. &_lidarExtrinsic_default_instance_);
  654. }
  655. static constexpr int kIndexInFileMessages =
  656. 3;
  657. void Swap(lidarExtrinsic* other);
  658. friend void swap(lidarExtrinsic& a, lidarExtrinsic& b) {
  659. a.Swap(&b);
  660. }
  661. // implements Message ----------------------------------------------
  662. inline lidarExtrinsic* New() const final {
  663. return CreateMaybeMessage<lidarExtrinsic>(NULL);
  664. }
  665. lidarExtrinsic* New(::google::protobuf::Arena* arena) const final {
  666. return CreateMaybeMessage<lidarExtrinsic>(arena);
  667. }
  668. void CopyFrom(const ::google::protobuf::Message& from) final;
  669. void MergeFrom(const ::google::protobuf::Message& from) final;
  670. void CopyFrom(const lidarExtrinsic& from);
  671. void MergeFrom(const lidarExtrinsic& from);
  672. void Clear() final;
  673. bool IsInitialized() const final;
  674. size_t ByteSizeLong() const final;
  675. bool MergePartialFromCodedStream(
  676. ::google::protobuf::io::CodedInputStream* input) final;
  677. void SerializeWithCachedSizes(
  678. ::google::protobuf::io::CodedOutputStream* output) const final;
  679. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  680. bool deterministic, ::google::protobuf::uint8* target) const final;
  681. int GetCachedSize() const final { return _cached_size_.Get(); }
  682. private:
  683. void SharedCtor();
  684. void SharedDtor();
  685. void SetCachedSize(int size) const final;
  686. void InternalSwap(lidarExtrinsic* other);
  687. private:
  688. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  689. return NULL;
  690. }
  691. inline void* MaybeArenaPtr() const {
  692. return NULL;
  693. }
  694. public:
  695. ::google::protobuf::Metadata GetMetadata() const final;
  696. // nested types ----------------------------------------------------
  697. // accessors -------------------------------------------------------
  698. // optional .velodyne.CalibParameter calib = 2;
  699. bool has_calib() const;
  700. void clear_calib();
  701. static const int kCalibFieldNumber = 2;
  702. private:
  703. const ::velodyne::CalibParameter& _internal_calib() const;
  704. public:
  705. const ::velodyne::CalibParameter& calib() const;
  706. ::velodyne::CalibParameter* release_calib();
  707. ::velodyne::CalibParameter* mutable_calib();
  708. void set_allocated_calib(::velodyne::CalibParameter* calib);
  709. // required int32 lidar_id = 1;
  710. bool has_lidar_id() const;
  711. void clear_lidar_id();
  712. static const int kLidarIdFieldNumber = 1;
  713. ::google::protobuf::int32 lidar_id() const;
  714. void set_lidar_id(::google::protobuf::int32 value);
  715. // @@protoc_insertion_point(class_scope:velodyne.lidarExtrinsic)
  716. private:
  717. void set_has_lidar_id();
  718. void clear_has_lidar_id();
  719. void set_has_calib();
  720. void clear_has_calib();
  721. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  722. ::google::protobuf::internal::HasBits<1> _has_bits_;
  723. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  724. ::velodyne::CalibParameter* calib_;
  725. ::google::protobuf::int32 lidar_id_;
  726. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  727. };
  728. // -------------------------------------------------------------------
  729. class Region : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.Region) */ {
  730. public:
  731. Region();
  732. virtual ~Region();
  733. Region(const Region& from);
  734. inline Region& operator=(const Region& from) {
  735. CopyFrom(from);
  736. return *this;
  737. }
  738. #if LANG_CXX11
  739. Region(Region&& from) noexcept
  740. : Region() {
  741. *this = ::std::move(from);
  742. }
  743. inline Region& operator=(Region&& from) noexcept {
  744. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  745. if (this != &from) InternalSwap(&from);
  746. } else {
  747. CopyFrom(from);
  748. }
  749. return *this;
  750. }
  751. #endif
  752. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  753. return _internal_metadata_.unknown_fields();
  754. }
  755. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  756. return _internal_metadata_.mutable_unknown_fields();
  757. }
  758. static const ::google::protobuf::Descriptor* descriptor();
  759. static const Region& default_instance();
  760. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  761. static inline const Region* internal_default_instance() {
  762. return reinterpret_cast<const Region*>(
  763. &_Region_default_instance_);
  764. }
  765. static constexpr int kIndexInFileMessages =
  766. 4;
  767. void Swap(Region* other);
  768. friend void swap(Region& a, Region& b) {
  769. a.Swap(&b);
  770. }
  771. // implements Message ----------------------------------------------
  772. inline Region* New() const final {
  773. return CreateMaybeMessage<Region>(NULL);
  774. }
  775. Region* New(::google::protobuf::Arena* arena) const final {
  776. return CreateMaybeMessage<Region>(arena);
  777. }
  778. void CopyFrom(const ::google::protobuf::Message& from) final;
  779. void MergeFrom(const ::google::protobuf::Message& from) final;
  780. void CopyFrom(const Region& from);
  781. void MergeFrom(const Region& from);
  782. void Clear() final;
  783. bool IsInitialized() const final;
  784. size_t ByteSizeLong() const final;
  785. bool MergePartialFromCodedStream(
  786. ::google::protobuf::io::CodedInputStream* input) final;
  787. void SerializeWithCachedSizes(
  788. ::google::protobuf::io::CodedOutputStream* output) const final;
  789. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  790. bool deterministic, ::google::protobuf::uint8* target) const final;
  791. int GetCachedSize() const final { return _cached_size_.Get(); }
  792. private:
  793. void SharedCtor();
  794. void SharedDtor();
  795. void SetCachedSize(int size) const final;
  796. void InternalSwap(Region* other);
  797. private:
  798. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  799. return NULL;
  800. }
  801. inline void* MaybeArenaPtr() const {
  802. return NULL;
  803. }
  804. public:
  805. ::google::protobuf::Metadata GetMetadata() const final;
  806. // nested types ----------------------------------------------------
  807. // accessors -------------------------------------------------------
  808. // repeated .velodyne.lidarExtrinsic lidar_exts = 8;
  809. int lidar_exts_size() const;
  810. void clear_lidar_exts();
  811. static const int kLidarExtsFieldNumber = 8;
  812. ::velodyne::lidarExtrinsic* mutable_lidar_exts(int index);
  813. ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >*
  814. mutable_lidar_exts();
  815. const ::velodyne::lidarExtrinsic& lidar_exts(int index) const;
  816. ::velodyne::lidarExtrinsic* add_lidar_exts();
  817. const ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >&
  818. lidar_exts() const;
  819. // required float minx = 1;
  820. bool has_minx() const;
  821. void clear_minx();
  822. static const int kMinxFieldNumber = 1;
  823. float minx() const;
  824. void set_minx(float value);
  825. // required float maxx = 2;
  826. bool has_maxx() const;
  827. void clear_maxx();
  828. static const int kMaxxFieldNumber = 2;
  829. float maxx() const;
  830. void set_maxx(float value);
  831. // required float miny = 3;
  832. bool has_miny() const;
  833. void clear_miny();
  834. static const int kMinyFieldNumber = 3;
  835. float miny() const;
  836. void set_miny(float value);
  837. // required float maxy = 4;
  838. bool has_maxy() const;
  839. void clear_maxy();
  840. static const int kMaxyFieldNumber = 4;
  841. float maxy() const;
  842. void set_maxy(float value);
  843. // required float minz = 5;
  844. bool has_minz() const;
  845. void clear_minz();
  846. static const int kMinzFieldNumber = 5;
  847. float minz() const;
  848. void set_minz(float value);
  849. // required float maxz = 6;
  850. bool has_maxz() const;
  851. void clear_maxz();
  852. static const int kMaxzFieldNumber = 6;
  853. float maxz() const;
  854. void set_maxz(float value);
  855. // required int32 region_id = 7;
  856. bool has_region_id() const;
  857. void clear_region_id();
  858. static const int kRegionIdFieldNumber = 7;
  859. ::google::protobuf::int32 region_id() const;
  860. void set_region_id(::google::protobuf::int32 value);
  861. // required float turnplate_cx = 9;
  862. bool has_turnplate_cx() const;
  863. void clear_turnplate_cx();
  864. static const int kTurnplateCxFieldNumber = 9;
  865. float turnplate_cx() const;
  866. void set_turnplate_cx(float value);
  867. // required float turnplate_cy = 10;
  868. bool has_turnplate_cy() const;
  869. void clear_turnplate_cy();
  870. static const int kTurnplateCyFieldNumber = 10;
  871. float turnplate_cy() const;
  872. void set_turnplate_cy(float value);
  873. // required float border_minx = 11;
  874. bool has_border_minx() const;
  875. void clear_border_minx();
  876. static const int kBorderMinxFieldNumber = 11;
  877. float border_minx() const;
  878. void set_border_minx(float value);
  879. // required float border_maxx = 12;
  880. bool has_border_maxx() const;
  881. void clear_border_maxx();
  882. static const int kBorderMaxxFieldNumber = 12;
  883. float border_maxx() const;
  884. void set_border_maxx(float value);
  885. // required float plc_offsetx = 13;
  886. bool has_plc_offsetx() const;
  887. void clear_plc_offsetx();
  888. static const int kPlcOffsetxFieldNumber = 13;
  889. float plc_offsetx() const;
  890. void set_plc_offsetx(float value);
  891. // required float plc_offsety = 14;
  892. bool has_plc_offsety() const;
  893. void clear_plc_offsety();
  894. static const int kPlcOffsetyFieldNumber = 14;
  895. float plc_offsety() const;
  896. void set_plc_offsety(float value);
  897. // @@protoc_insertion_point(class_scope:velodyne.Region)
  898. private:
  899. void set_has_minx();
  900. void clear_has_minx();
  901. void set_has_maxx();
  902. void clear_has_maxx();
  903. void set_has_miny();
  904. void clear_has_miny();
  905. void set_has_maxy();
  906. void clear_has_maxy();
  907. void set_has_minz();
  908. void clear_has_minz();
  909. void set_has_maxz();
  910. void clear_has_maxz();
  911. void set_has_region_id();
  912. void clear_has_region_id();
  913. void set_has_turnplate_cx();
  914. void clear_has_turnplate_cx();
  915. void set_has_turnplate_cy();
  916. void clear_has_turnplate_cy();
  917. void set_has_border_minx();
  918. void clear_has_border_minx();
  919. void set_has_border_maxx();
  920. void clear_has_border_maxx();
  921. void set_has_plc_offsetx();
  922. void clear_has_plc_offsetx();
  923. void set_has_plc_offsety();
  924. void clear_has_plc_offsety();
  925. // helper for ByteSizeLong()
  926. size_t RequiredFieldsByteSizeFallback() const;
  927. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  928. ::google::protobuf::internal::HasBits<1> _has_bits_;
  929. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  930. ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic > lidar_exts_;
  931. float minx_;
  932. float maxx_;
  933. float miny_;
  934. float maxy_;
  935. float minz_;
  936. float maxz_;
  937. ::google::protobuf::int32 region_id_;
  938. float turnplate_cx_;
  939. float turnplate_cy_;
  940. float border_minx_;
  941. float border_maxx_;
  942. float plc_offsetx_;
  943. float plc_offsety_;
  944. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  945. };
  946. // ===================================================================
  947. // ===================================================================
  948. #ifdef __GNUC__
  949. #pragma GCC diagnostic push
  950. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  951. #endif // __GNUC__
  952. // velodyneManagerParams
  953. // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
  954. inline int velodyneManagerParams::velodyne_lidars_size() const {
  955. return velodyne_lidars_.size();
  956. }
  957. inline void velodyneManagerParams::clear_velodyne_lidars() {
  958. velodyne_lidars_.Clear();
  959. }
  960. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::mutable_velodyne_lidars(int index) {
  961. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.velodyne_lidars)
  962. return velodyne_lidars_.Mutable(index);
  963. }
  964. inline ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
  965. velodyneManagerParams::mutable_velodyne_lidars() {
  966. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.velodyne_lidars)
  967. return &velodyne_lidars_;
  968. }
  969. inline const ::velodyne::velodyneLidarParams& velodyneManagerParams::velodyne_lidars(int index) const {
  970. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.velodyne_lidars)
  971. return velodyne_lidars_.Get(index);
  972. }
  973. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::add_velodyne_lidars() {
  974. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.velodyne_lidars)
  975. return velodyne_lidars_.Add();
  976. }
  977. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
  978. velodyneManagerParams::velodyne_lidars() const {
  979. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.velodyne_lidars)
  980. return velodyne_lidars_;
  981. }
  982. // repeated .velodyne.Region region = 2;
  983. inline int velodyneManagerParams::region_size() const {
  984. return region_.size();
  985. }
  986. inline void velodyneManagerParams::clear_region() {
  987. region_.Clear();
  988. }
  989. inline ::velodyne::Region* velodyneManagerParams::mutable_region(int index) {
  990. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.region)
  991. return region_.Mutable(index);
  992. }
  993. inline ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
  994. velodyneManagerParams::mutable_region() {
  995. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.region)
  996. return &region_;
  997. }
  998. inline const ::velodyne::Region& velodyneManagerParams::region(int index) const {
  999. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.region)
  1000. return region_.Get(index);
  1001. }
  1002. inline ::velodyne::Region* velodyneManagerParams::add_region() {
  1003. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.region)
  1004. return region_.Add();
  1005. }
  1006. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
  1007. velodyneManagerParams::region() const {
  1008. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.region)
  1009. return region_;
  1010. }
  1011. // optional string fence_data_path = 3 [default = ""];
  1012. inline bool velodyneManagerParams::has_fence_data_path() const {
  1013. return (_has_bits_[0] & 0x00000001u) != 0;
  1014. }
  1015. inline void velodyneManagerParams::set_has_fence_data_path() {
  1016. _has_bits_[0] |= 0x00000001u;
  1017. }
  1018. inline void velodyneManagerParams::clear_has_fence_data_path() {
  1019. _has_bits_[0] &= ~0x00000001u;
  1020. }
  1021. inline void velodyneManagerParams::clear_fence_data_path() {
  1022. fence_data_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1023. clear_has_fence_data_path();
  1024. }
  1025. inline const ::std::string& velodyneManagerParams::fence_data_path() const {
  1026. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_data_path)
  1027. return fence_data_path_.GetNoArena();
  1028. }
  1029. inline void velodyneManagerParams::set_fence_data_path(const ::std::string& value) {
  1030. set_has_fence_data_path();
  1031. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1032. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_data_path)
  1033. }
  1034. #if LANG_CXX11
  1035. inline void velodyneManagerParams::set_fence_data_path(::std::string&& value) {
  1036. set_has_fence_data_path();
  1037. fence_data_path_.SetNoArena(
  1038. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1039. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_data_path)
  1040. }
  1041. #endif
  1042. inline void velodyneManagerParams::set_fence_data_path(const char* value) {
  1043. GOOGLE_DCHECK(value != NULL);
  1044. set_has_fence_data_path();
  1045. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1046. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_data_path)
  1047. }
  1048. inline void velodyneManagerParams::set_fence_data_path(const char* value, size_t size) {
  1049. set_has_fence_data_path();
  1050. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1051. ::std::string(reinterpret_cast<const char*>(value), size));
  1052. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_data_path)
  1053. }
  1054. inline ::std::string* velodyneManagerParams::mutable_fence_data_path() {
  1055. set_has_fence_data_path();
  1056. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_data_path)
  1057. return fence_data_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1058. }
  1059. inline ::std::string* velodyneManagerParams::release_fence_data_path() {
  1060. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_data_path)
  1061. if (!has_fence_data_path()) {
  1062. return NULL;
  1063. }
  1064. clear_has_fence_data_path();
  1065. return fence_data_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1066. }
  1067. inline void velodyneManagerParams::set_allocated_fence_data_path(::std::string* fence_data_path) {
  1068. if (fence_data_path != NULL) {
  1069. set_has_fence_data_path();
  1070. } else {
  1071. clear_has_fence_data_path();
  1072. }
  1073. fence_data_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_data_path);
  1074. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_data_path)
  1075. }
  1076. // optional string fence_log_path = 4 [default = ""];
  1077. inline bool velodyneManagerParams::has_fence_log_path() const {
  1078. return (_has_bits_[0] & 0x00000002u) != 0;
  1079. }
  1080. inline void velodyneManagerParams::set_has_fence_log_path() {
  1081. _has_bits_[0] |= 0x00000002u;
  1082. }
  1083. inline void velodyneManagerParams::clear_has_fence_log_path() {
  1084. _has_bits_[0] &= ~0x00000002u;
  1085. }
  1086. inline void velodyneManagerParams::clear_fence_log_path() {
  1087. fence_log_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1088. clear_has_fence_log_path();
  1089. }
  1090. inline const ::std::string& velodyneManagerParams::fence_log_path() const {
  1091. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_log_path)
  1092. return fence_log_path_.GetNoArena();
  1093. }
  1094. inline void velodyneManagerParams::set_fence_log_path(const ::std::string& value) {
  1095. set_has_fence_log_path();
  1096. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1097. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_log_path)
  1098. }
  1099. #if LANG_CXX11
  1100. inline void velodyneManagerParams::set_fence_log_path(::std::string&& value) {
  1101. set_has_fence_log_path();
  1102. fence_log_path_.SetNoArena(
  1103. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1104. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_log_path)
  1105. }
  1106. #endif
  1107. inline void velodyneManagerParams::set_fence_log_path(const char* value) {
  1108. GOOGLE_DCHECK(value != NULL);
  1109. set_has_fence_log_path();
  1110. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1111. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_log_path)
  1112. }
  1113. inline void velodyneManagerParams::set_fence_log_path(const char* value, size_t size) {
  1114. set_has_fence_log_path();
  1115. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1116. ::std::string(reinterpret_cast<const char*>(value), size));
  1117. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_log_path)
  1118. }
  1119. inline ::std::string* velodyneManagerParams::mutable_fence_log_path() {
  1120. set_has_fence_log_path();
  1121. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_log_path)
  1122. return fence_log_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1123. }
  1124. inline ::std::string* velodyneManagerParams::release_fence_log_path() {
  1125. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_log_path)
  1126. if (!has_fence_log_path()) {
  1127. return NULL;
  1128. }
  1129. clear_has_fence_log_path();
  1130. return fence_log_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1131. }
  1132. inline void velodyneManagerParams::set_allocated_fence_log_path(::std::string* fence_log_path) {
  1133. if (fence_log_path != NULL) {
  1134. set_has_fence_log_path();
  1135. } else {
  1136. clear_has_fence_log_path();
  1137. }
  1138. fence_log_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_log_path);
  1139. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_log_path)
  1140. }
  1141. // optional string left_model_path = 5 [default = ""];
  1142. inline bool velodyneManagerParams::has_left_model_path() const {
  1143. return (_has_bits_[0] & 0x00000004u) != 0;
  1144. }
  1145. inline void velodyneManagerParams::set_has_left_model_path() {
  1146. _has_bits_[0] |= 0x00000004u;
  1147. }
  1148. inline void velodyneManagerParams::clear_has_left_model_path() {
  1149. _has_bits_[0] &= ~0x00000004u;
  1150. }
  1151. inline void velodyneManagerParams::clear_left_model_path() {
  1152. left_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1153. clear_has_left_model_path();
  1154. }
  1155. inline const ::std::string& velodyneManagerParams::left_model_path() const {
  1156. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.left_model_path)
  1157. return left_model_path_.GetNoArena();
  1158. }
  1159. inline void velodyneManagerParams::set_left_model_path(const ::std::string& value) {
  1160. set_has_left_model_path();
  1161. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1162. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.left_model_path)
  1163. }
  1164. #if LANG_CXX11
  1165. inline void velodyneManagerParams::set_left_model_path(::std::string&& value) {
  1166. set_has_left_model_path();
  1167. left_model_path_.SetNoArena(
  1168. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1169. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.left_model_path)
  1170. }
  1171. #endif
  1172. inline void velodyneManagerParams::set_left_model_path(const char* value) {
  1173. GOOGLE_DCHECK(value != NULL);
  1174. set_has_left_model_path();
  1175. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1176. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.left_model_path)
  1177. }
  1178. inline void velodyneManagerParams::set_left_model_path(const char* value, size_t size) {
  1179. set_has_left_model_path();
  1180. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1181. ::std::string(reinterpret_cast<const char*>(value), size));
  1182. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.left_model_path)
  1183. }
  1184. inline ::std::string* velodyneManagerParams::mutable_left_model_path() {
  1185. set_has_left_model_path();
  1186. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.left_model_path)
  1187. return left_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1188. }
  1189. inline ::std::string* velodyneManagerParams::release_left_model_path() {
  1190. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.left_model_path)
  1191. if (!has_left_model_path()) {
  1192. return NULL;
  1193. }
  1194. clear_has_left_model_path();
  1195. return left_model_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1196. }
  1197. inline void velodyneManagerParams::set_allocated_left_model_path(::std::string* left_model_path) {
  1198. if (left_model_path != NULL) {
  1199. set_has_left_model_path();
  1200. } else {
  1201. clear_has_left_model_path();
  1202. }
  1203. left_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), left_model_path);
  1204. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.left_model_path)
  1205. }
  1206. // optional string right_model_path = 6 [default = ""];
  1207. inline bool velodyneManagerParams::has_right_model_path() const {
  1208. return (_has_bits_[0] & 0x00000008u) != 0;
  1209. }
  1210. inline void velodyneManagerParams::set_has_right_model_path() {
  1211. _has_bits_[0] |= 0x00000008u;
  1212. }
  1213. inline void velodyneManagerParams::clear_has_right_model_path() {
  1214. _has_bits_[0] &= ~0x00000008u;
  1215. }
  1216. inline void velodyneManagerParams::clear_right_model_path() {
  1217. right_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1218. clear_has_right_model_path();
  1219. }
  1220. inline const ::std::string& velodyneManagerParams::right_model_path() const {
  1221. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.right_model_path)
  1222. return right_model_path_.GetNoArena();
  1223. }
  1224. inline void velodyneManagerParams::set_right_model_path(const ::std::string& value) {
  1225. set_has_right_model_path();
  1226. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1227. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.right_model_path)
  1228. }
  1229. #if LANG_CXX11
  1230. inline void velodyneManagerParams::set_right_model_path(::std::string&& value) {
  1231. set_has_right_model_path();
  1232. right_model_path_.SetNoArena(
  1233. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1234. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.right_model_path)
  1235. }
  1236. #endif
  1237. inline void velodyneManagerParams::set_right_model_path(const char* value) {
  1238. GOOGLE_DCHECK(value != NULL);
  1239. set_has_right_model_path();
  1240. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1241. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.right_model_path)
  1242. }
  1243. inline void velodyneManagerParams::set_right_model_path(const char* value, size_t size) {
  1244. set_has_right_model_path();
  1245. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1246. ::std::string(reinterpret_cast<const char*>(value), size));
  1247. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.right_model_path)
  1248. }
  1249. inline ::std::string* velodyneManagerParams::mutable_right_model_path() {
  1250. set_has_right_model_path();
  1251. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.right_model_path)
  1252. return right_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1253. }
  1254. inline ::std::string* velodyneManagerParams::release_right_model_path() {
  1255. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.right_model_path)
  1256. if (!has_right_model_path()) {
  1257. return NULL;
  1258. }
  1259. clear_has_right_model_path();
  1260. return right_model_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1261. }
  1262. inline void velodyneManagerParams::set_allocated_right_model_path(::std::string* right_model_path) {
  1263. if (right_model_path != NULL) {
  1264. set_has_right_model_path();
  1265. } else {
  1266. clear_has_right_model_path();
  1267. }
  1268. right_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), right_model_path);
  1269. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.right_model_path)
  1270. }
  1271. // required bool distribution_mode = 7 [default = false];
  1272. inline bool velodyneManagerParams::has_distribution_mode() const {
  1273. return (_has_bits_[0] & 0x00000010u) != 0;
  1274. }
  1275. inline void velodyneManagerParams::set_has_distribution_mode() {
  1276. _has_bits_[0] |= 0x00000010u;
  1277. }
  1278. inline void velodyneManagerParams::clear_has_distribution_mode() {
  1279. _has_bits_[0] &= ~0x00000010u;
  1280. }
  1281. inline void velodyneManagerParams::clear_distribution_mode() {
  1282. distribution_mode_ = false;
  1283. clear_has_distribution_mode();
  1284. }
  1285. inline bool velodyneManagerParams::distribution_mode() const {
  1286. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.distribution_mode)
  1287. return distribution_mode_;
  1288. }
  1289. inline void velodyneManagerParams::set_distribution_mode(bool value) {
  1290. set_has_distribution_mode();
  1291. distribution_mode_ = value;
  1292. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.distribution_mode)
  1293. }
  1294. // -------------------------------------------------------------------
  1295. // velodyneLidarParams
  1296. // required string ip = 1 [default = ""];
  1297. inline bool velodyneLidarParams::has_ip() const {
  1298. return (_has_bits_[0] & 0x00000001u) != 0;
  1299. }
  1300. inline void velodyneLidarParams::set_has_ip() {
  1301. _has_bits_[0] |= 0x00000001u;
  1302. }
  1303. inline void velodyneLidarParams::clear_has_ip() {
  1304. _has_bits_[0] &= ~0x00000001u;
  1305. }
  1306. inline void velodyneLidarParams::clear_ip() {
  1307. ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1308. clear_has_ip();
  1309. }
  1310. inline const ::std::string& velodyneLidarParams::ip() const {
  1311. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.ip)
  1312. return ip_.GetNoArena();
  1313. }
  1314. inline void velodyneLidarParams::set_ip(const ::std::string& value) {
  1315. set_has_ip();
  1316. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1317. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.ip)
  1318. }
  1319. #if LANG_CXX11
  1320. inline void velodyneLidarParams::set_ip(::std::string&& value) {
  1321. set_has_ip();
  1322. ip_.SetNoArena(
  1323. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1324. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.ip)
  1325. }
  1326. #endif
  1327. inline void velodyneLidarParams::set_ip(const char* value) {
  1328. GOOGLE_DCHECK(value != NULL);
  1329. set_has_ip();
  1330. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1331. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.ip)
  1332. }
  1333. inline void velodyneLidarParams::set_ip(const char* value, size_t size) {
  1334. set_has_ip();
  1335. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1336. ::std::string(reinterpret_cast<const char*>(value), size));
  1337. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.ip)
  1338. }
  1339. inline ::std::string* velodyneLidarParams::mutable_ip() {
  1340. set_has_ip();
  1341. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.ip)
  1342. return ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1343. }
  1344. inline ::std::string* velodyneLidarParams::release_ip() {
  1345. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.ip)
  1346. if (!has_ip()) {
  1347. return NULL;
  1348. }
  1349. clear_has_ip();
  1350. return ip_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1351. }
  1352. inline void velodyneLidarParams::set_allocated_ip(::std::string* ip) {
  1353. if (ip != NULL) {
  1354. set_has_ip();
  1355. } else {
  1356. clear_has_ip();
  1357. }
  1358. ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip);
  1359. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.ip)
  1360. }
  1361. // required int32 port = 2 [default = 2368];
  1362. inline bool velodyneLidarParams::has_port() const {
  1363. return (_has_bits_[0] & 0x00000080u) != 0;
  1364. }
  1365. inline void velodyneLidarParams::set_has_port() {
  1366. _has_bits_[0] |= 0x00000080u;
  1367. }
  1368. inline void velodyneLidarParams::clear_has_port() {
  1369. _has_bits_[0] &= ~0x00000080u;
  1370. }
  1371. inline void velodyneLidarParams::clear_port() {
  1372. port_ = 2368;
  1373. clear_has_port();
  1374. }
  1375. inline ::google::protobuf::int32 velodyneLidarParams::port() const {
  1376. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.port)
  1377. return port_;
  1378. }
  1379. inline void velodyneLidarParams::set_port(::google::protobuf::int32 value) {
  1380. set_has_port();
  1381. port_ = value;
  1382. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.port)
  1383. }
  1384. // required string model = 3 [default = "VLP16"];
  1385. inline bool velodyneLidarParams::has_model() const {
  1386. return (_has_bits_[0] & 0x00000002u) != 0;
  1387. }
  1388. inline void velodyneLidarParams::set_has_model() {
  1389. _has_bits_[0] |= 0x00000002u;
  1390. }
  1391. inline void velodyneLidarParams::clear_has_model() {
  1392. _has_bits_[0] &= ~0x00000002u;
  1393. }
  1394. inline void velodyneLidarParams::clear_model() {
  1395. model_.ClearToDefaultNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1396. clear_has_model();
  1397. }
  1398. inline const ::std::string& velodyneLidarParams::model() const {
  1399. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.model)
  1400. return model_.GetNoArena();
  1401. }
  1402. inline void velodyneLidarParams::set_model(const ::std::string& value) {
  1403. set_has_model();
  1404. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), value);
  1405. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.model)
  1406. }
  1407. #if LANG_CXX11
  1408. inline void velodyneLidarParams::set_model(::std::string&& value) {
  1409. set_has_model();
  1410. model_.SetNoArena(
  1411. &::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), ::std::move(value));
  1412. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.model)
  1413. }
  1414. #endif
  1415. inline void velodyneLidarParams::set_model(const char* value) {
  1416. GOOGLE_DCHECK(value != NULL);
  1417. set_has_model();
  1418. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), ::std::string(value));
  1419. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.model)
  1420. }
  1421. inline void velodyneLidarParams::set_model(const char* value, size_t size) {
  1422. set_has_model();
  1423. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(),
  1424. ::std::string(reinterpret_cast<const char*>(value), size));
  1425. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.model)
  1426. }
  1427. inline ::std::string* velodyneLidarParams::mutable_model() {
  1428. set_has_model();
  1429. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.model)
  1430. return model_.MutableNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1431. }
  1432. inline ::std::string* velodyneLidarParams::release_model() {
  1433. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.model)
  1434. if (!has_model()) {
  1435. return NULL;
  1436. }
  1437. clear_has_model();
  1438. return model_.ReleaseNonDefaultNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1439. }
  1440. inline void velodyneLidarParams::set_allocated_model(::std::string* model) {
  1441. if (model != NULL) {
  1442. set_has_model();
  1443. } else {
  1444. clear_has_model();
  1445. }
  1446. model_.SetAllocatedNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), model);
  1447. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.model)
  1448. }
  1449. // required string calibrationFile = 4 [default = ""];
  1450. inline bool velodyneLidarParams::has_calibrationfile() const {
  1451. return (_has_bits_[0] & 0x00000004u) != 0;
  1452. }
  1453. inline void velodyneLidarParams::set_has_calibrationfile() {
  1454. _has_bits_[0] |= 0x00000004u;
  1455. }
  1456. inline void velodyneLidarParams::clear_has_calibrationfile() {
  1457. _has_bits_[0] &= ~0x00000004u;
  1458. }
  1459. inline void velodyneLidarParams::clear_calibrationfile() {
  1460. calibrationfile_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1461. clear_has_calibrationfile();
  1462. }
  1463. inline const ::std::string& velodyneLidarParams::calibrationfile() const {
  1464. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calibrationFile)
  1465. return calibrationfile_.GetNoArena();
  1466. }
  1467. inline void velodyneLidarParams::set_calibrationfile(const ::std::string& value) {
  1468. set_has_calibrationfile();
  1469. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1470. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.calibrationFile)
  1471. }
  1472. #if LANG_CXX11
  1473. inline void velodyneLidarParams::set_calibrationfile(::std::string&& value) {
  1474. set_has_calibrationfile();
  1475. calibrationfile_.SetNoArena(
  1476. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1477. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.calibrationFile)
  1478. }
  1479. #endif
  1480. inline void velodyneLidarParams::set_calibrationfile(const char* value) {
  1481. GOOGLE_DCHECK(value != NULL);
  1482. set_has_calibrationfile();
  1483. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1484. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.calibrationFile)
  1485. }
  1486. inline void velodyneLidarParams::set_calibrationfile(const char* value, size_t size) {
  1487. set_has_calibrationfile();
  1488. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1489. ::std::string(reinterpret_cast<const char*>(value), size));
  1490. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.calibrationFile)
  1491. }
  1492. inline ::std::string* velodyneLidarParams::mutable_calibrationfile() {
  1493. set_has_calibrationfile();
  1494. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calibrationFile)
  1495. return calibrationfile_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1496. }
  1497. inline ::std::string* velodyneLidarParams::release_calibrationfile() {
  1498. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calibrationFile)
  1499. if (!has_calibrationfile()) {
  1500. return NULL;
  1501. }
  1502. clear_has_calibrationfile();
  1503. return calibrationfile_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1504. }
  1505. inline void velodyneLidarParams::set_allocated_calibrationfile(::std::string* calibrationfile) {
  1506. if (calibrationfile != NULL) {
  1507. set_has_calibrationfile();
  1508. } else {
  1509. clear_has_calibrationfile();
  1510. }
  1511. calibrationfile_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), calibrationfile);
  1512. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calibrationFile)
  1513. }
  1514. // required int32 lidar_id = 5 [default = 0];
  1515. inline bool velodyneLidarParams::has_lidar_id() const {
  1516. return (_has_bits_[0] & 0x00000010u) != 0;
  1517. }
  1518. inline void velodyneLidarParams::set_has_lidar_id() {
  1519. _has_bits_[0] |= 0x00000010u;
  1520. }
  1521. inline void velodyneLidarParams::clear_has_lidar_id() {
  1522. _has_bits_[0] &= ~0x00000010u;
  1523. }
  1524. inline void velodyneLidarParams::clear_lidar_id() {
  1525. lidar_id_ = 0;
  1526. clear_has_lidar_id();
  1527. }
  1528. inline ::google::protobuf::int32 velodyneLidarParams::lidar_id() const {
  1529. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.lidar_id)
  1530. return lidar_id_;
  1531. }
  1532. inline void velodyneLidarParams::set_lidar_id(::google::protobuf::int32 value) {
  1533. set_has_lidar_id();
  1534. lidar_id_ = value;
  1535. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.lidar_id)
  1536. }
  1537. // optional float max_range = 6 [default = 10];
  1538. inline bool velodyneLidarParams::has_max_range() const {
  1539. return (_has_bits_[0] & 0x00000100u) != 0;
  1540. }
  1541. inline void velodyneLidarParams::set_has_max_range() {
  1542. _has_bits_[0] |= 0x00000100u;
  1543. }
  1544. inline void velodyneLidarParams::clear_has_max_range() {
  1545. _has_bits_[0] &= ~0x00000100u;
  1546. }
  1547. inline void velodyneLidarParams::clear_max_range() {
  1548. max_range_ = 10;
  1549. clear_has_max_range();
  1550. }
  1551. inline float velodyneLidarParams::max_range() const {
  1552. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_range)
  1553. return max_range_;
  1554. }
  1555. inline void velodyneLidarParams::set_max_range(float value) {
  1556. set_has_max_range();
  1557. max_range_ = value;
  1558. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_range)
  1559. }
  1560. // optional float min_range = 7 [default = 0.15];
  1561. inline bool velodyneLidarParams::has_min_range() const {
  1562. return (_has_bits_[0] & 0x00000200u) != 0;
  1563. }
  1564. inline void velodyneLidarParams::set_has_min_range() {
  1565. _has_bits_[0] |= 0x00000200u;
  1566. }
  1567. inline void velodyneLidarParams::clear_has_min_range() {
  1568. _has_bits_[0] &= ~0x00000200u;
  1569. }
  1570. inline void velodyneLidarParams::clear_min_range() {
  1571. min_range_ = 0.15f;
  1572. clear_has_min_range();
  1573. }
  1574. inline float velodyneLidarParams::min_range() const {
  1575. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_range)
  1576. return min_range_;
  1577. }
  1578. inline void velodyneLidarParams::set_min_range(float value) {
  1579. set_has_min_range();
  1580. min_range_ = value;
  1581. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_range)
  1582. }
  1583. // optional int32 min_angle = 8 [default = 0];
  1584. inline bool velodyneLidarParams::has_min_angle() const {
  1585. return (_has_bits_[0] & 0x00000020u) != 0;
  1586. }
  1587. inline void velodyneLidarParams::set_has_min_angle() {
  1588. _has_bits_[0] |= 0x00000020u;
  1589. }
  1590. inline void velodyneLidarParams::clear_has_min_angle() {
  1591. _has_bits_[0] &= ~0x00000020u;
  1592. }
  1593. inline void velodyneLidarParams::clear_min_angle() {
  1594. min_angle_ = 0;
  1595. clear_has_min_angle();
  1596. }
  1597. inline ::google::protobuf::int32 velodyneLidarParams::min_angle() const {
  1598. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_angle)
  1599. return min_angle_;
  1600. }
  1601. inline void velodyneLidarParams::set_min_angle(::google::protobuf::int32 value) {
  1602. set_has_min_angle();
  1603. min_angle_ = value;
  1604. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_angle)
  1605. }
  1606. // optional int32 max_angle = 9 [default = 360];
  1607. inline bool velodyneLidarParams::has_max_angle() const {
  1608. return (_has_bits_[0] & 0x00000400u) != 0;
  1609. }
  1610. inline void velodyneLidarParams::set_has_max_angle() {
  1611. _has_bits_[0] |= 0x00000400u;
  1612. }
  1613. inline void velodyneLidarParams::clear_has_max_angle() {
  1614. _has_bits_[0] &= ~0x00000400u;
  1615. }
  1616. inline void velodyneLidarParams::clear_max_angle() {
  1617. max_angle_ = 360;
  1618. clear_has_max_angle();
  1619. }
  1620. inline ::google::protobuf::int32 velodyneLidarParams::max_angle() const {
  1621. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_angle)
  1622. return max_angle_;
  1623. }
  1624. inline void velodyneLidarParams::set_max_angle(::google::protobuf::int32 value) {
  1625. set_has_max_angle();
  1626. max_angle_ = value;
  1627. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_angle)
  1628. }
  1629. // optional int32 rpm = 10 [default = 600];
  1630. inline bool velodyneLidarParams::has_rpm() const {
  1631. return (_has_bits_[0] & 0x00000040u) != 0;
  1632. }
  1633. inline void velodyneLidarParams::set_has_rpm() {
  1634. _has_bits_[0] |= 0x00000040u;
  1635. }
  1636. inline void velodyneLidarParams::clear_has_rpm() {
  1637. _has_bits_[0] &= ~0x00000040u;
  1638. }
  1639. inline void velodyneLidarParams::clear_rpm() {
  1640. rpm_ = 600;
  1641. clear_has_rpm();
  1642. }
  1643. inline ::google::protobuf::int32 velodyneLidarParams::rpm() const {
  1644. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.rpm)
  1645. return rpm_;
  1646. }
  1647. inline void velodyneLidarParams::set_rpm(::google::protobuf::int32 value) {
  1648. set_has_rpm();
  1649. rpm_ = value;
  1650. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.rpm)
  1651. }
  1652. // optional .velodyne.CalibParameter calib = 11;
  1653. inline bool velodyneLidarParams::has_calib() const {
  1654. return (_has_bits_[0] & 0x00000008u) != 0;
  1655. }
  1656. inline void velodyneLidarParams::set_has_calib() {
  1657. _has_bits_[0] |= 0x00000008u;
  1658. }
  1659. inline void velodyneLidarParams::clear_has_calib() {
  1660. _has_bits_[0] &= ~0x00000008u;
  1661. }
  1662. inline void velodyneLidarParams::clear_calib() {
  1663. if (calib_ != NULL) calib_->Clear();
  1664. clear_has_calib();
  1665. }
  1666. inline const ::velodyne::CalibParameter& velodyneLidarParams::_internal_calib() const {
  1667. return *calib_;
  1668. }
  1669. inline const ::velodyne::CalibParameter& velodyneLidarParams::calib() const {
  1670. const ::velodyne::CalibParameter* p = calib_;
  1671. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calib)
  1672. return p != NULL ? *p : *reinterpret_cast<const ::velodyne::CalibParameter*>(
  1673. &::velodyne::_CalibParameter_default_instance_);
  1674. }
  1675. inline ::velodyne::CalibParameter* velodyneLidarParams::release_calib() {
  1676. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calib)
  1677. clear_has_calib();
  1678. ::velodyne::CalibParameter* temp = calib_;
  1679. calib_ = NULL;
  1680. return temp;
  1681. }
  1682. inline ::velodyne::CalibParameter* velodyneLidarParams::mutable_calib() {
  1683. set_has_calib();
  1684. if (calib_ == NULL) {
  1685. auto* p = CreateMaybeMessage<::velodyne::CalibParameter>(GetArenaNoVirtual());
  1686. calib_ = p;
  1687. }
  1688. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calib)
  1689. return calib_;
  1690. }
  1691. inline void velodyneLidarParams::set_allocated_calib(::velodyne::CalibParameter* calib) {
  1692. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1693. if (message_arena == NULL) {
  1694. delete calib_;
  1695. }
  1696. if (calib) {
  1697. ::google::protobuf::Arena* submessage_arena = NULL;
  1698. if (message_arena != submessage_arena) {
  1699. calib = ::google::protobuf::internal::GetOwnedMessage(
  1700. message_arena, calib, submessage_arena);
  1701. }
  1702. set_has_calib();
  1703. } else {
  1704. clear_has_calib();
  1705. }
  1706. calib_ = calib;
  1707. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calib)
  1708. }
  1709. // -------------------------------------------------------------------
  1710. // CalibParameter
  1711. // optional float r = 1 [default = 0];
  1712. inline bool CalibParameter::has_r() const {
  1713. return (_has_bits_[0] & 0x00000001u) != 0;
  1714. }
  1715. inline void CalibParameter::set_has_r() {
  1716. _has_bits_[0] |= 0x00000001u;
  1717. }
  1718. inline void CalibParameter::clear_has_r() {
  1719. _has_bits_[0] &= ~0x00000001u;
  1720. }
  1721. inline void CalibParameter::clear_r() {
  1722. r_ = 0;
  1723. clear_has_r();
  1724. }
  1725. inline float CalibParameter::r() const {
  1726. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.r)
  1727. return r_;
  1728. }
  1729. inline void CalibParameter::set_r(float value) {
  1730. set_has_r();
  1731. r_ = value;
  1732. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.r)
  1733. }
  1734. // optional float p = 2 [default = 0];
  1735. inline bool CalibParameter::has_p() const {
  1736. return (_has_bits_[0] & 0x00000002u) != 0;
  1737. }
  1738. inline void CalibParameter::set_has_p() {
  1739. _has_bits_[0] |= 0x00000002u;
  1740. }
  1741. inline void CalibParameter::clear_has_p() {
  1742. _has_bits_[0] &= ~0x00000002u;
  1743. }
  1744. inline void CalibParameter::clear_p() {
  1745. p_ = 0;
  1746. clear_has_p();
  1747. }
  1748. inline float CalibParameter::p() const {
  1749. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.p)
  1750. return p_;
  1751. }
  1752. inline void CalibParameter::set_p(float value) {
  1753. set_has_p();
  1754. p_ = value;
  1755. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.p)
  1756. }
  1757. // optional float y = 3 [default = 0];
  1758. inline bool CalibParameter::has_y() const {
  1759. return (_has_bits_[0] & 0x00000004u) != 0;
  1760. }
  1761. inline void CalibParameter::set_has_y() {
  1762. _has_bits_[0] |= 0x00000004u;
  1763. }
  1764. inline void CalibParameter::clear_has_y() {
  1765. _has_bits_[0] &= ~0x00000004u;
  1766. }
  1767. inline void CalibParameter::clear_y() {
  1768. y_ = 0;
  1769. clear_has_y();
  1770. }
  1771. inline float CalibParameter::y() const {
  1772. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.y)
  1773. return y_;
  1774. }
  1775. inline void CalibParameter::set_y(float value) {
  1776. set_has_y();
  1777. y_ = value;
  1778. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.y)
  1779. }
  1780. // optional float cx = 4 [default = 0];
  1781. inline bool CalibParameter::has_cx() const {
  1782. return (_has_bits_[0] & 0x00000008u) != 0;
  1783. }
  1784. inline void CalibParameter::set_has_cx() {
  1785. _has_bits_[0] |= 0x00000008u;
  1786. }
  1787. inline void CalibParameter::clear_has_cx() {
  1788. _has_bits_[0] &= ~0x00000008u;
  1789. }
  1790. inline void CalibParameter::clear_cx() {
  1791. cx_ = 0;
  1792. clear_has_cx();
  1793. }
  1794. inline float CalibParameter::cx() const {
  1795. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cx)
  1796. return cx_;
  1797. }
  1798. inline void CalibParameter::set_cx(float value) {
  1799. set_has_cx();
  1800. cx_ = value;
  1801. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cx)
  1802. }
  1803. // optional float cy = 5 [default = 0];
  1804. inline bool CalibParameter::has_cy() const {
  1805. return (_has_bits_[0] & 0x00000010u) != 0;
  1806. }
  1807. inline void CalibParameter::set_has_cy() {
  1808. _has_bits_[0] |= 0x00000010u;
  1809. }
  1810. inline void CalibParameter::clear_has_cy() {
  1811. _has_bits_[0] &= ~0x00000010u;
  1812. }
  1813. inline void CalibParameter::clear_cy() {
  1814. cy_ = 0;
  1815. clear_has_cy();
  1816. }
  1817. inline float CalibParameter::cy() const {
  1818. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cy)
  1819. return cy_;
  1820. }
  1821. inline void CalibParameter::set_cy(float value) {
  1822. set_has_cy();
  1823. cy_ = value;
  1824. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cy)
  1825. }
  1826. // optional float cz = 6 [default = 0];
  1827. inline bool CalibParameter::has_cz() const {
  1828. return (_has_bits_[0] & 0x00000020u) != 0;
  1829. }
  1830. inline void CalibParameter::set_has_cz() {
  1831. _has_bits_[0] |= 0x00000020u;
  1832. }
  1833. inline void CalibParameter::clear_has_cz() {
  1834. _has_bits_[0] &= ~0x00000020u;
  1835. }
  1836. inline void CalibParameter::clear_cz() {
  1837. cz_ = 0;
  1838. clear_has_cz();
  1839. }
  1840. inline float CalibParameter::cz() const {
  1841. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cz)
  1842. return cz_;
  1843. }
  1844. inline void CalibParameter::set_cz(float value) {
  1845. set_has_cz();
  1846. cz_ = value;
  1847. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cz)
  1848. }
  1849. // -------------------------------------------------------------------
  1850. // lidarExtrinsic
  1851. // required int32 lidar_id = 1;
  1852. inline bool lidarExtrinsic::has_lidar_id() const {
  1853. return (_has_bits_[0] & 0x00000002u) != 0;
  1854. }
  1855. inline void lidarExtrinsic::set_has_lidar_id() {
  1856. _has_bits_[0] |= 0x00000002u;
  1857. }
  1858. inline void lidarExtrinsic::clear_has_lidar_id() {
  1859. _has_bits_[0] &= ~0x00000002u;
  1860. }
  1861. inline void lidarExtrinsic::clear_lidar_id() {
  1862. lidar_id_ = 0;
  1863. clear_has_lidar_id();
  1864. }
  1865. inline ::google::protobuf::int32 lidarExtrinsic::lidar_id() const {
  1866. // @@protoc_insertion_point(field_get:velodyne.lidarExtrinsic.lidar_id)
  1867. return lidar_id_;
  1868. }
  1869. inline void lidarExtrinsic::set_lidar_id(::google::protobuf::int32 value) {
  1870. set_has_lidar_id();
  1871. lidar_id_ = value;
  1872. // @@protoc_insertion_point(field_set:velodyne.lidarExtrinsic.lidar_id)
  1873. }
  1874. // optional .velodyne.CalibParameter calib = 2;
  1875. inline bool lidarExtrinsic::has_calib() const {
  1876. return (_has_bits_[0] & 0x00000001u) != 0;
  1877. }
  1878. inline void lidarExtrinsic::set_has_calib() {
  1879. _has_bits_[0] |= 0x00000001u;
  1880. }
  1881. inline void lidarExtrinsic::clear_has_calib() {
  1882. _has_bits_[0] &= ~0x00000001u;
  1883. }
  1884. inline void lidarExtrinsic::clear_calib() {
  1885. if (calib_ != NULL) calib_->Clear();
  1886. clear_has_calib();
  1887. }
  1888. inline const ::velodyne::CalibParameter& lidarExtrinsic::_internal_calib() const {
  1889. return *calib_;
  1890. }
  1891. inline const ::velodyne::CalibParameter& lidarExtrinsic::calib() const {
  1892. const ::velodyne::CalibParameter* p = calib_;
  1893. // @@protoc_insertion_point(field_get:velodyne.lidarExtrinsic.calib)
  1894. return p != NULL ? *p : *reinterpret_cast<const ::velodyne::CalibParameter*>(
  1895. &::velodyne::_CalibParameter_default_instance_);
  1896. }
  1897. inline ::velodyne::CalibParameter* lidarExtrinsic::release_calib() {
  1898. // @@protoc_insertion_point(field_release:velodyne.lidarExtrinsic.calib)
  1899. clear_has_calib();
  1900. ::velodyne::CalibParameter* temp = calib_;
  1901. calib_ = NULL;
  1902. return temp;
  1903. }
  1904. inline ::velodyne::CalibParameter* lidarExtrinsic::mutable_calib() {
  1905. set_has_calib();
  1906. if (calib_ == NULL) {
  1907. auto* p = CreateMaybeMessage<::velodyne::CalibParameter>(GetArenaNoVirtual());
  1908. calib_ = p;
  1909. }
  1910. // @@protoc_insertion_point(field_mutable:velodyne.lidarExtrinsic.calib)
  1911. return calib_;
  1912. }
  1913. inline void lidarExtrinsic::set_allocated_calib(::velodyne::CalibParameter* calib) {
  1914. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1915. if (message_arena == NULL) {
  1916. delete calib_;
  1917. }
  1918. if (calib) {
  1919. ::google::protobuf::Arena* submessage_arena = NULL;
  1920. if (message_arena != submessage_arena) {
  1921. calib = ::google::protobuf::internal::GetOwnedMessage(
  1922. message_arena, calib, submessage_arena);
  1923. }
  1924. set_has_calib();
  1925. } else {
  1926. clear_has_calib();
  1927. }
  1928. calib_ = calib;
  1929. // @@protoc_insertion_point(field_set_allocated:velodyne.lidarExtrinsic.calib)
  1930. }
  1931. // -------------------------------------------------------------------
  1932. // Region
  1933. // required float minx = 1;
  1934. inline bool Region::has_minx() const {
  1935. return (_has_bits_[0] & 0x00000001u) != 0;
  1936. }
  1937. inline void Region::set_has_minx() {
  1938. _has_bits_[0] |= 0x00000001u;
  1939. }
  1940. inline void Region::clear_has_minx() {
  1941. _has_bits_[0] &= ~0x00000001u;
  1942. }
  1943. inline void Region::clear_minx() {
  1944. minx_ = 0;
  1945. clear_has_minx();
  1946. }
  1947. inline float Region::minx() const {
  1948. // @@protoc_insertion_point(field_get:velodyne.Region.minx)
  1949. return minx_;
  1950. }
  1951. inline void Region::set_minx(float value) {
  1952. set_has_minx();
  1953. minx_ = value;
  1954. // @@protoc_insertion_point(field_set:velodyne.Region.minx)
  1955. }
  1956. // required float maxx = 2;
  1957. inline bool Region::has_maxx() const {
  1958. return (_has_bits_[0] & 0x00000002u) != 0;
  1959. }
  1960. inline void Region::set_has_maxx() {
  1961. _has_bits_[0] |= 0x00000002u;
  1962. }
  1963. inline void Region::clear_has_maxx() {
  1964. _has_bits_[0] &= ~0x00000002u;
  1965. }
  1966. inline void Region::clear_maxx() {
  1967. maxx_ = 0;
  1968. clear_has_maxx();
  1969. }
  1970. inline float Region::maxx() const {
  1971. // @@protoc_insertion_point(field_get:velodyne.Region.maxx)
  1972. return maxx_;
  1973. }
  1974. inline void Region::set_maxx(float value) {
  1975. set_has_maxx();
  1976. maxx_ = value;
  1977. // @@protoc_insertion_point(field_set:velodyne.Region.maxx)
  1978. }
  1979. // required float miny = 3;
  1980. inline bool Region::has_miny() const {
  1981. return (_has_bits_[0] & 0x00000004u) != 0;
  1982. }
  1983. inline void Region::set_has_miny() {
  1984. _has_bits_[0] |= 0x00000004u;
  1985. }
  1986. inline void Region::clear_has_miny() {
  1987. _has_bits_[0] &= ~0x00000004u;
  1988. }
  1989. inline void Region::clear_miny() {
  1990. miny_ = 0;
  1991. clear_has_miny();
  1992. }
  1993. inline float Region::miny() const {
  1994. // @@protoc_insertion_point(field_get:velodyne.Region.miny)
  1995. return miny_;
  1996. }
  1997. inline void Region::set_miny(float value) {
  1998. set_has_miny();
  1999. miny_ = value;
  2000. // @@protoc_insertion_point(field_set:velodyne.Region.miny)
  2001. }
  2002. // required float maxy = 4;
  2003. inline bool Region::has_maxy() const {
  2004. return (_has_bits_[0] & 0x00000008u) != 0;
  2005. }
  2006. inline void Region::set_has_maxy() {
  2007. _has_bits_[0] |= 0x00000008u;
  2008. }
  2009. inline void Region::clear_has_maxy() {
  2010. _has_bits_[0] &= ~0x00000008u;
  2011. }
  2012. inline void Region::clear_maxy() {
  2013. maxy_ = 0;
  2014. clear_has_maxy();
  2015. }
  2016. inline float Region::maxy() const {
  2017. // @@protoc_insertion_point(field_get:velodyne.Region.maxy)
  2018. return maxy_;
  2019. }
  2020. inline void Region::set_maxy(float value) {
  2021. set_has_maxy();
  2022. maxy_ = value;
  2023. // @@protoc_insertion_point(field_set:velodyne.Region.maxy)
  2024. }
  2025. // required float minz = 5;
  2026. inline bool Region::has_minz() const {
  2027. return (_has_bits_[0] & 0x00000010u) != 0;
  2028. }
  2029. inline void Region::set_has_minz() {
  2030. _has_bits_[0] |= 0x00000010u;
  2031. }
  2032. inline void Region::clear_has_minz() {
  2033. _has_bits_[0] &= ~0x00000010u;
  2034. }
  2035. inline void Region::clear_minz() {
  2036. minz_ = 0;
  2037. clear_has_minz();
  2038. }
  2039. inline float Region::minz() const {
  2040. // @@protoc_insertion_point(field_get:velodyne.Region.minz)
  2041. return minz_;
  2042. }
  2043. inline void Region::set_minz(float value) {
  2044. set_has_minz();
  2045. minz_ = value;
  2046. // @@protoc_insertion_point(field_set:velodyne.Region.minz)
  2047. }
  2048. // required float maxz = 6;
  2049. inline bool Region::has_maxz() const {
  2050. return (_has_bits_[0] & 0x00000020u) != 0;
  2051. }
  2052. inline void Region::set_has_maxz() {
  2053. _has_bits_[0] |= 0x00000020u;
  2054. }
  2055. inline void Region::clear_has_maxz() {
  2056. _has_bits_[0] &= ~0x00000020u;
  2057. }
  2058. inline void Region::clear_maxz() {
  2059. maxz_ = 0;
  2060. clear_has_maxz();
  2061. }
  2062. inline float Region::maxz() const {
  2063. // @@protoc_insertion_point(field_get:velodyne.Region.maxz)
  2064. return maxz_;
  2065. }
  2066. inline void Region::set_maxz(float value) {
  2067. set_has_maxz();
  2068. maxz_ = value;
  2069. // @@protoc_insertion_point(field_set:velodyne.Region.maxz)
  2070. }
  2071. // required int32 region_id = 7;
  2072. inline bool Region::has_region_id() const {
  2073. return (_has_bits_[0] & 0x00000040u) != 0;
  2074. }
  2075. inline void Region::set_has_region_id() {
  2076. _has_bits_[0] |= 0x00000040u;
  2077. }
  2078. inline void Region::clear_has_region_id() {
  2079. _has_bits_[0] &= ~0x00000040u;
  2080. }
  2081. inline void Region::clear_region_id() {
  2082. region_id_ = 0;
  2083. clear_has_region_id();
  2084. }
  2085. inline ::google::protobuf::int32 Region::region_id() const {
  2086. // @@protoc_insertion_point(field_get:velodyne.Region.region_id)
  2087. return region_id_;
  2088. }
  2089. inline void Region::set_region_id(::google::protobuf::int32 value) {
  2090. set_has_region_id();
  2091. region_id_ = value;
  2092. // @@protoc_insertion_point(field_set:velodyne.Region.region_id)
  2093. }
  2094. // repeated .velodyne.lidarExtrinsic lidar_exts = 8;
  2095. inline int Region::lidar_exts_size() const {
  2096. return lidar_exts_.size();
  2097. }
  2098. inline void Region::clear_lidar_exts() {
  2099. lidar_exts_.Clear();
  2100. }
  2101. inline ::velodyne::lidarExtrinsic* Region::mutable_lidar_exts(int index) {
  2102. // @@protoc_insertion_point(field_mutable:velodyne.Region.lidar_exts)
  2103. return lidar_exts_.Mutable(index);
  2104. }
  2105. inline ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >*
  2106. Region::mutable_lidar_exts() {
  2107. // @@protoc_insertion_point(field_mutable_list:velodyne.Region.lidar_exts)
  2108. return &lidar_exts_;
  2109. }
  2110. inline const ::velodyne::lidarExtrinsic& Region::lidar_exts(int index) const {
  2111. // @@protoc_insertion_point(field_get:velodyne.Region.lidar_exts)
  2112. return lidar_exts_.Get(index);
  2113. }
  2114. inline ::velodyne::lidarExtrinsic* Region::add_lidar_exts() {
  2115. // @@protoc_insertion_point(field_add:velodyne.Region.lidar_exts)
  2116. return lidar_exts_.Add();
  2117. }
  2118. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >&
  2119. Region::lidar_exts() const {
  2120. // @@protoc_insertion_point(field_list:velodyne.Region.lidar_exts)
  2121. return lidar_exts_;
  2122. }
  2123. // required float turnplate_cx = 9;
  2124. inline bool Region::has_turnplate_cx() const {
  2125. return (_has_bits_[0] & 0x00000080u) != 0;
  2126. }
  2127. inline void Region::set_has_turnplate_cx() {
  2128. _has_bits_[0] |= 0x00000080u;
  2129. }
  2130. inline void Region::clear_has_turnplate_cx() {
  2131. _has_bits_[0] &= ~0x00000080u;
  2132. }
  2133. inline void Region::clear_turnplate_cx() {
  2134. turnplate_cx_ = 0;
  2135. clear_has_turnplate_cx();
  2136. }
  2137. inline float Region::turnplate_cx() const {
  2138. // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_cx)
  2139. return turnplate_cx_;
  2140. }
  2141. inline void Region::set_turnplate_cx(float value) {
  2142. set_has_turnplate_cx();
  2143. turnplate_cx_ = value;
  2144. // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_cx)
  2145. }
  2146. // required float turnplate_cy = 10;
  2147. inline bool Region::has_turnplate_cy() const {
  2148. return (_has_bits_[0] & 0x00000100u) != 0;
  2149. }
  2150. inline void Region::set_has_turnplate_cy() {
  2151. _has_bits_[0] |= 0x00000100u;
  2152. }
  2153. inline void Region::clear_has_turnplate_cy() {
  2154. _has_bits_[0] &= ~0x00000100u;
  2155. }
  2156. inline void Region::clear_turnplate_cy() {
  2157. turnplate_cy_ = 0;
  2158. clear_has_turnplate_cy();
  2159. }
  2160. inline float Region::turnplate_cy() const {
  2161. // @@protoc_insertion_point(field_get:velodyne.Region.turnplate_cy)
  2162. return turnplate_cy_;
  2163. }
  2164. inline void Region::set_turnplate_cy(float value) {
  2165. set_has_turnplate_cy();
  2166. turnplate_cy_ = value;
  2167. // @@protoc_insertion_point(field_set:velodyne.Region.turnplate_cy)
  2168. }
  2169. // required float border_minx = 11;
  2170. inline bool Region::has_border_minx() const {
  2171. return (_has_bits_[0] & 0x00000200u) != 0;
  2172. }
  2173. inline void Region::set_has_border_minx() {
  2174. _has_bits_[0] |= 0x00000200u;
  2175. }
  2176. inline void Region::clear_has_border_minx() {
  2177. _has_bits_[0] &= ~0x00000200u;
  2178. }
  2179. inline void Region::clear_border_minx() {
  2180. border_minx_ = 0;
  2181. clear_has_border_minx();
  2182. }
  2183. inline float Region::border_minx() const {
  2184. // @@protoc_insertion_point(field_get:velodyne.Region.border_minx)
  2185. return border_minx_;
  2186. }
  2187. inline void Region::set_border_minx(float value) {
  2188. set_has_border_minx();
  2189. border_minx_ = value;
  2190. // @@protoc_insertion_point(field_set:velodyne.Region.border_minx)
  2191. }
  2192. // required float border_maxx = 12;
  2193. inline bool Region::has_border_maxx() const {
  2194. return (_has_bits_[0] & 0x00000400u) != 0;
  2195. }
  2196. inline void Region::set_has_border_maxx() {
  2197. _has_bits_[0] |= 0x00000400u;
  2198. }
  2199. inline void Region::clear_has_border_maxx() {
  2200. _has_bits_[0] &= ~0x00000400u;
  2201. }
  2202. inline void Region::clear_border_maxx() {
  2203. border_maxx_ = 0;
  2204. clear_has_border_maxx();
  2205. }
  2206. inline float Region::border_maxx() const {
  2207. // @@protoc_insertion_point(field_get:velodyne.Region.border_maxx)
  2208. return border_maxx_;
  2209. }
  2210. inline void Region::set_border_maxx(float value) {
  2211. set_has_border_maxx();
  2212. border_maxx_ = value;
  2213. // @@protoc_insertion_point(field_set:velodyne.Region.border_maxx)
  2214. }
  2215. // required float plc_offsetx = 13;
  2216. inline bool Region::has_plc_offsetx() const {
  2217. return (_has_bits_[0] & 0x00000800u) != 0;
  2218. }
  2219. inline void Region::set_has_plc_offsetx() {
  2220. _has_bits_[0] |= 0x00000800u;
  2221. }
  2222. inline void Region::clear_has_plc_offsetx() {
  2223. _has_bits_[0] &= ~0x00000800u;
  2224. }
  2225. inline void Region::clear_plc_offsetx() {
  2226. plc_offsetx_ = 0;
  2227. clear_has_plc_offsetx();
  2228. }
  2229. inline float Region::plc_offsetx() const {
  2230. // @@protoc_insertion_point(field_get:velodyne.Region.plc_offsetx)
  2231. return plc_offsetx_;
  2232. }
  2233. inline void Region::set_plc_offsetx(float value) {
  2234. set_has_plc_offsetx();
  2235. plc_offsetx_ = value;
  2236. // @@protoc_insertion_point(field_set:velodyne.Region.plc_offsetx)
  2237. }
  2238. // required float plc_offsety = 14;
  2239. inline bool Region::has_plc_offsety() const {
  2240. return (_has_bits_[0] & 0x00001000u) != 0;
  2241. }
  2242. inline void Region::set_has_plc_offsety() {
  2243. _has_bits_[0] |= 0x00001000u;
  2244. }
  2245. inline void Region::clear_has_plc_offsety() {
  2246. _has_bits_[0] &= ~0x00001000u;
  2247. }
  2248. inline void Region::clear_plc_offsety() {
  2249. plc_offsety_ = 0;
  2250. clear_has_plc_offsety();
  2251. }
  2252. inline float Region::plc_offsety() const {
  2253. // @@protoc_insertion_point(field_get:velodyne.Region.plc_offsety)
  2254. return plc_offsety_;
  2255. }
  2256. inline void Region::set_plc_offsety(float value) {
  2257. set_has_plc_offsety();
  2258. plc_offsety_ = value;
  2259. // @@protoc_insertion_point(field_set:velodyne.Region.plc_offsety)
  2260. }
  2261. #ifdef __GNUC__
  2262. #pragma GCC diagnostic pop
  2263. #endif // __GNUC__
  2264. // -------------------------------------------------------------------
  2265. // -------------------------------------------------------------------
  2266. // -------------------------------------------------------------------
  2267. // -------------------------------------------------------------------
  2268. // @@protoc_insertion_point(namespace_scope)
  2269. } // namespace velodyne
  2270. // @@protoc_insertion_point(global_scope)
  2271. #endif // PROTOBUF_INCLUDED_velodyne_5fconfig_2eproto