velodyne_config.pb.h 79 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261
  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. // @@protoc_insertion_point(class_scope:velodyne.Region)
  862. private:
  863. void set_has_minx();
  864. void clear_has_minx();
  865. void set_has_maxx();
  866. void clear_has_maxx();
  867. void set_has_miny();
  868. void clear_has_miny();
  869. void set_has_maxy();
  870. void clear_has_maxy();
  871. void set_has_minz();
  872. void clear_has_minz();
  873. void set_has_maxz();
  874. void clear_has_maxz();
  875. void set_has_region_id();
  876. void clear_has_region_id();
  877. // helper for ByteSizeLong()
  878. size_t RequiredFieldsByteSizeFallback() const;
  879. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  880. ::google::protobuf::internal::HasBits<1> _has_bits_;
  881. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  882. ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic > lidar_exts_;
  883. float minx_;
  884. float maxx_;
  885. float miny_;
  886. float maxy_;
  887. float minz_;
  888. float maxz_;
  889. ::google::protobuf::int32 region_id_;
  890. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  891. };
  892. // ===================================================================
  893. // ===================================================================
  894. #ifdef __GNUC__
  895. #pragma GCC diagnostic push
  896. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  897. #endif // __GNUC__
  898. // velodyneManagerParams
  899. // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
  900. inline int velodyneManagerParams::velodyne_lidars_size() const {
  901. return velodyne_lidars_.size();
  902. }
  903. inline void velodyneManagerParams::clear_velodyne_lidars() {
  904. velodyne_lidars_.Clear();
  905. }
  906. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::mutable_velodyne_lidars(int index) {
  907. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.velodyne_lidars)
  908. return velodyne_lidars_.Mutable(index);
  909. }
  910. inline ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
  911. velodyneManagerParams::mutable_velodyne_lidars() {
  912. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.velodyne_lidars)
  913. return &velodyne_lidars_;
  914. }
  915. inline const ::velodyne::velodyneLidarParams& velodyneManagerParams::velodyne_lidars(int index) const {
  916. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.velodyne_lidars)
  917. return velodyne_lidars_.Get(index);
  918. }
  919. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::add_velodyne_lidars() {
  920. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.velodyne_lidars)
  921. return velodyne_lidars_.Add();
  922. }
  923. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
  924. velodyneManagerParams::velodyne_lidars() const {
  925. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.velodyne_lidars)
  926. return velodyne_lidars_;
  927. }
  928. // repeated .velodyne.Region region = 2;
  929. inline int velodyneManagerParams::region_size() const {
  930. return region_.size();
  931. }
  932. inline void velodyneManagerParams::clear_region() {
  933. region_.Clear();
  934. }
  935. inline ::velodyne::Region* velodyneManagerParams::mutable_region(int index) {
  936. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.region)
  937. return region_.Mutable(index);
  938. }
  939. inline ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
  940. velodyneManagerParams::mutable_region() {
  941. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.region)
  942. return &region_;
  943. }
  944. inline const ::velodyne::Region& velodyneManagerParams::region(int index) const {
  945. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.region)
  946. return region_.Get(index);
  947. }
  948. inline ::velodyne::Region* velodyneManagerParams::add_region() {
  949. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.region)
  950. return region_.Add();
  951. }
  952. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
  953. velodyneManagerParams::region() const {
  954. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.region)
  955. return region_;
  956. }
  957. // optional string fence_data_path = 3 [default = ""];
  958. inline bool velodyneManagerParams::has_fence_data_path() const {
  959. return (_has_bits_[0] & 0x00000001u) != 0;
  960. }
  961. inline void velodyneManagerParams::set_has_fence_data_path() {
  962. _has_bits_[0] |= 0x00000001u;
  963. }
  964. inline void velodyneManagerParams::clear_has_fence_data_path() {
  965. _has_bits_[0] &= ~0x00000001u;
  966. }
  967. inline void velodyneManagerParams::clear_fence_data_path() {
  968. fence_data_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  969. clear_has_fence_data_path();
  970. }
  971. inline const ::std::string& velodyneManagerParams::fence_data_path() const {
  972. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_data_path)
  973. return fence_data_path_.GetNoArena();
  974. }
  975. inline void velodyneManagerParams::set_fence_data_path(const ::std::string& value) {
  976. set_has_fence_data_path();
  977. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  978. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_data_path)
  979. }
  980. #if LANG_CXX11
  981. inline void velodyneManagerParams::set_fence_data_path(::std::string&& value) {
  982. set_has_fence_data_path();
  983. fence_data_path_.SetNoArena(
  984. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  985. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_data_path)
  986. }
  987. #endif
  988. inline void velodyneManagerParams::set_fence_data_path(const char* value) {
  989. GOOGLE_DCHECK(value != NULL);
  990. set_has_fence_data_path();
  991. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  992. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_data_path)
  993. }
  994. inline void velodyneManagerParams::set_fence_data_path(const char* value, size_t size) {
  995. set_has_fence_data_path();
  996. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  997. ::std::string(reinterpret_cast<const char*>(value), size));
  998. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_data_path)
  999. }
  1000. inline ::std::string* velodyneManagerParams::mutable_fence_data_path() {
  1001. set_has_fence_data_path();
  1002. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_data_path)
  1003. return fence_data_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1004. }
  1005. inline ::std::string* velodyneManagerParams::release_fence_data_path() {
  1006. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_data_path)
  1007. if (!has_fence_data_path()) {
  1008. return NULL;
  1009. }
  1010. clear_has_fence_data_path();
  1011. return fence_data_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1012. }
  1013. inline void velodyneManagerParams::set_allocated_fence_data_path(::std::string* fence_data_path) {
  1014. if (fence_data_path != NULL) {
  1015. set_has_fence_data_path();
  1016. } else {
  1017. clear_has_fence_data_path();
  1018. }
  1019. fence_data_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_data_path);
  1020. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_data_path)
  1021. }
  1022. // optional string fence_log_path = 4 [default = ""];
  1023. inline bool velodyneManagerParams::has_fence_log_path() const {
  1024. return (_has_bits_[0] & 0x00000002u) != 0;
  1025. }
  1026. inline void velodyneManagerParams::set_has_fence_log_path() {
  1027. _has_bits_[0] |= 0x00000002u;
  1028. }
  1029. inline void velodyneManagerParams::clear_has_fence_log_path() {
  1030. _has_bits_[0] &= ~0x00000002u;
  1031. }
  1032. inline void velodyneManagerParams::clear_fence_log_path() {
  1033. fence_log_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1034. clear_has_fence_log_path();
  1035. }
  1036. inline const ::std::string& velodyneManagerParams::fence_log_path() const {
  1037. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_log_path)
  1038. return fence_log_path_.GetNoArena();
  1039. }
  1040. inline void velodyneManagerParams::set_fence_log_path(const ::std::string& value) {
  1041. set_has_fence_log_path();
  1042. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1043. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_log_path)
  1044. }
  1045. #if LANG_CXX11
  1046. inline void velodyneManagerParams::set_fence_log_path(::std::string&& value) {
  1047. set_has_fence_log_path();
  1048. fence_log_path_.SetNoArena(
  1049. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1050. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_log_path)
  1051. }
  1052. #endif
  1053. inline void velodyneManagerParams::set_fence_log_path(const char* value) {
  1054. GOOGLE_DCHECK(value != NULL);
  1055. set_has_fence_log_path();
  1056. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1057. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_log_path)
  1058. }
  1059. inline void velodyneManagerParams::set_fence_log_path(const char* value, size_t size) {
  1060. set_has_fence_log_path();
  1061. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1062. ::std::string(reinterpret_cast<const char*>(value), size));
  1063. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_log_path)
  1064. }
  1065. inline ::std::string* velodyneManagerParams::mutable_fence_log_path() {
  1066. set_has_fence_log_path();
  1067. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_log_path)
  1068. return fence_log_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1069. }
  1070. inline ::std::string* velodyneManagerParams::release_fence_log_path() {
  1071. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_log_path)
  1072. if (!has_fence_log_path()) {
  1073. return NULL;
  1074. }
  1075. clear_has_fence_log_path();
  1076. return fence_log_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1077. }
  1078. inline void velodyneManagerParams::set_allocated_fence_log_path(::std::string* fence_log_path) {
  1079. if (fence_log_path != NULL) {
  1080. set_has_fence_log_path();
  1081. } else {
  1082. clear_has_fence_log_path();
  1083. }
  1084. fence_log_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_log_path);
  1085. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_log_path)
  1086. }
  1087. // optional string left_model_path = 5 [default = ""];
  1088. inline bool velodyneManagerParams::has_left_model_path() const {
  1089. return (_has_bits_[0] & 0x00000004u) != 0;
  1090. }
  1091. inline void velodyneManagerParams::set_has_left_model_path() {
  1092. _has_bits_[0] |= 0x00000004u;
  1093. }
  1094. inline void velodyneManagerParams::clear_has_left_model_path() {
  1095. _has_bits_[0] &= ~0x00000004u;
  1096. }
  1097. inline void velodyneManagerParams::clear_left_model_path() {
  1098. left_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1099. clear_has_left_model_path();
  1100. }
  1101. inline const ::std::string& velodyneManagerParams::left_model_path() const {
  1102. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.left_model_path)
  1103. return left_model_path_.GetNoArena();
  1104. }
  1105. inline void velodyneManagerParams::set_left_model_path(const ::std::string& value) {
  1106. set_has_left_model_path();
  1107. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1108. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.left_model_path)
  1109. }
  1110. #if LANG_CXX11
  1111. inline void velodyneManagerParams::set_left_model_path(::std::string&& value) {
  1112. set_has_left_model_path();
  1113. left_model_path_.SetNoArena(
  1114. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1115. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.left_model_path)
  1116. }
  1117. #endif
  1118. inline void velodyneManagerParams::set_left_model_path(const char* value) {
  1119. GOOGLE_DCHECK(value != NULL);
  1120. set_has_left_model_path();
  1121. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1122. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.left_model_path)
  1123. }
  1124. inline void velodyneManagerParams::set_left_model_path(const char* value, size_t size) {
  1125. set_has_left_model_path();
  1126. left_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1127. ::std::string(reinterpret_cast<const char*>(value), size));
  1128. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.left_model_path)
  1129. }
  1130. inline ::std::string* velodyneManagerParams::mutable_left_model_path() {
  1131. set_has_left_model_path();
  1132. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.left_model_path)
  1133. return left_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1134. }
  1135. inline ::std::string* velodyneManagerParams::release_left_model_path() {
  1136. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.left_model_path)
  1137. if (!has_left_model_path()) {
  1138. return NULL;
  1139. }
  1140. clear_has_left_model_path();
  1141. return left_model_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1142. }
  1143. inline void velodyneManagerParams::set_allocated_left_model_path(::std::string* left_model_path) {
  1144. if (left_model_path != NULL) {
  1145. set_has_left_model_path();
  1146. } else {
  1147. clear_has_left_model_path();
  1148. }
  1149. left_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), left_model_path);
  1150. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.left_model_path)
  1151. }
  1152. // optional string right_model_path = 6 [default = ""];
  1153. inline bool velodyneManagerParams::has_right_model_path() const {
  1154. return (_has_bits_[0] & 0x00000008u) != 0;
  1155. }
  1156. inline void velodyneManagerParams::set_has_right_model_path() {
  1157. _has_bits_[0] |= 0x00000008u;
  1158. }
  1159. inline void velodyneManagerParams::clear_has_right_model_path() {
  1160. _has_bits_[0] &= ~0x00000008u;
  1161. }
  1162. inline void velodyneManagerParams::clear_right_model_path() {
  1163. right_model_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1164. clear_has_right_model_path();
  1165. }
  1166. inline const ::std::string& velodyneManagerParams::right_model_path() const {
  1167. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.right_model_path)
  1168. return right_model_path_.GetNoArena();
  1169. }
  1170. inline void velodyneManagerParams::set_right_model_path(const ::std::string& value) {
  1171. set_has_right_model_path();
  1172. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1173. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.right_model_path)
  1174. }
  1175. #if LANG_CXX11
  1176. inline void velodyneManagerParams::set_right_model_path(::std::string&& value) {
  1177. set_has_right_model_path();
  1178. right_model_path_.SetNoArena(
  1179. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1180. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.right_model_path)
  1181. }
  1182. #endif
  1183. inline void velodyneManagerParams::set_right_model_path(const char* value) {
  1184. GOOGLE_DCHECK(value != NULL);
  1185. set_has_right_model_path();
  1186. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1187. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.right_model_path)
  1188. }
  1189. inline void velodyneManagerParams::set_right_model_path(const char* value, size_t size) {
  1190. set_has_right_model_path();
  1191. right_model_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1192. ::std::string(reinterpret_cast<const char*>(value), size));
  1193. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.right_model_path)
  1194. }
  1195. inline ::std::string* velodyneManagerParams::mutable_right_model_path() {
  1196. set_has_right_model_path();
  1197. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.right_model_path)
  1198. return right_model_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1199. }
  1200. inline ::std::string* velodyneManagerParams::release_right_model_path() {
  1201. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.right_model_path)
  1202. if (!has_right_model_path()) {
  1203. return NULL;
  1204. }
  1205. clear_has_right_model_path();
  1206. return right_model_path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1207. }
  1208. inline void velodyneManagerParams::set_allocated_right_model_path(::std::string* right_model_path) {
  1209. if (right_model_path != NULL) {
  1210. set_has_right_model_path();
  1211. } else {
  1212. clear_has_right_model_path();
  1213. }
  1214. right_model_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), right_model_path);
  1215. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.right_model_path)
  1216. }
  1217. // required bool distribution_mode = 7 [default = false];
  1218. inline bool velodyneManagerParams::has_distribution_mode() const {
  1219. return (_has_bits_[0] & 0x00000010u) != 0;
  1220. }
  1221. inline void velodyneManagerParams::set_has_distribution_mode() {
  1222. _has_bits_[0] |= 0x00000010u;
  1223. }
  1224. inline void velodyneManagerParams::clear_has_distribution_mode() {
  1225. _has_bits_[0] &= ~0x00000010u;
  1226. }
  1227. inline void velodyneManagerParams::clear_distribution_mode() {
  1228. distribution_mode_ = false;
  1229. clear_has_distribution_mode();
  1230. }
  1231. inline bool velodyneManagerParams::distribution_mode() const {
  1232. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.distribution_mode)
  1233. return distribution_mode_;
  1234. }
  1235. inline void velodyneManagerParams::set_distribution_mode(bool value) {
  1236. set_has_distribution_mode();
  1237. distribution_mode_ = value;
  1238. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.distribution_mode)
  1239. }
  1240. // -------------------------------------------------------------------
  1241. // velodyneLidarParams
  1242. // required string ip = 1 [default = ""];
  1243. inline bool velodyneLidarParams::has_ip() const {
  1244. return (_has_bits_[0] & 0x00000001u) != 0;
  1245. }
  1246. inline void velodyneLidarParams::set_has_ip() {
  1247. _has_bits_[0] |= 0x00000001u;
  1248. }
  1249. inline void velodyneLidarParams::clear_has_ip() {
  1250. _has_bits_[0] &= ~0x00000001u;
  1251. }
  1252. inline void velodyneLidarParams::clear_ip() {
  1253. ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1254. clear_has_ip();
  1255. }
  1256. inline const ::std::string& velodyneLidarParams::ip() const {
  1257. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.ip)
  1258. return ip_.GetNoArena();
  1259. }
  1260. inline void velodyneLidarParams::set_ip(const ::std::string& value) {
  1261. set_has_ip();
  1262. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1263. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.ip)
  1264. }
  1265. #if LANG_CXX11
  1266. inline void velodyneLidarParams::set_ip(::std::string&& value) {
  1267. set_has_ip();
  1268. ip_.SetNoArena(
  1269. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1270. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.ip)
  1271. }
  1272. #endif
  1273. inline void velodyneLidarParams::set_ip(const char* value) {
  1274. GOOGLE_DCHECK(value != NULL);
  1275. set_has_ip();
  1276. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1277. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.ip)
  1278. }
  1279. inline void velodyneLidarParams::set_ip(const char* value, size_t size) {
  1280. set_has_ip();
  1281. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1282. ::std::string(reinterpret_cast<const char*>(value), size));
  1283. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.ip)
  1284. }
  1285. inline ::std::string* velodyneLidarParams::mutable_ip() {
  1286. set_has_ip();
  1287. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.ip)
  1288. return ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1289. }
  1290. inline ::std::string* velodyneLidarParams::release_ip() {
  1291. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.ip)
  1292. if (!has_ip()) {
  1293. return NULL;
  1294. }
  1295. clear_has_ip();
  1296. return ip_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1297. }
  1298. inline void velodyneLidarParams::set_allocated_ip(::std::string* ip) {
  1299. if (ip != NULL) {
  1300. set_has_ip();
  1301. } else {
  1302. clear_has_ip();
  1303. }
  1304. ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip);
  1305. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.ip)
  1306. }
  1307. // required int32 port = 2 [default = 2368];
  1308. inline bool velodyneLidarParams::has_port() const {
  1309. return (_has_bits_[0] & 0x00000080u) != 0;
  1310. }
  1311. inline void velodyneLidarParams::set_has_port() {
  1312. _has_bits_[0] |= 0x00000080u;
  1313. }
  1314. inline void velodyneLidarParams::clear_has_port() {
  1315. _has_bits_[0] &= ~0x00000080u;
  1316. }
  1317. inline void velodyneLidarParams::clear_port() {
  1318. port_ = 2368;
  1319. clear_has_port();
  1320. }
  1321. inline ::google::protobuf::int32 velodyneLidarParams::port() const {
  1322. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.port)
  1323. return port_;
  1324. }
  1325. inline void velodyneLidarParams::set_port(::google::protobuf::int32 value) {
  1326. set_has_port();
  1327. port_ = value;
  1328. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.port)
  1329. }
  1330. // required string model = 3 [default = "VLP16"];
  1331. inline bool velodyneLidarParams::has_model() const {
  1332. return (_has_bits_[0] & 0x00000002u) != 0;
  1333. }
  1334. inline void velodyneLidarParams::set_has_model() {
  1335. _has_bits_[0] |= 0x00000002u;
  1336. }
  1337. inline void velodyneLidarParams::clear_has_model() {
  1338. _has_bits_[0] &= ~0x00000002u;
  1339. }
  1340. inline void velodyneLidarParams::clear_model() {
  1341. model_.ClearToDefaultNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1342. clear_has_model();
  1343. }
  1344. inline const ::std::string& velodyneLidarParams::model() const {
  1345. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.model)
  1346. return model_.GetNoArena();
  1347. }
  1348. inline void velodyneLidarParams::set_model(const ::std::string& value) {
  1349. set_has_model();
  1350. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), value);
  1351. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.model)
  1352. }
  1353. #if LANG_CXX11
  1354. inline void velodyneLidarParams::set_model(::std::string&& value) {
  1355. set_has_model();
  1356. model_.SetNoArena(
  1357. &::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), ::std::move(value));
  1358. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.model)
  1359. }
  1360. #endif
  1361. inline void velodyneLidarParams::set_model(const char* value) {
  1362. GOOGLE_DCHECK(value != NULL);
  1363. set_has_model();
  1364. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), ::std::string(value));
  1365. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.model)
  1366. }
  1367. inline void velodyneLidarParams::set_model(const char* value, size_t size) {
  1368. set_has_model();
  1369. model_.SetNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(),
  1370. ::std::string(reinterpret_cast<const char*>(value), size));
  1371. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.model)
  1372. }
  1373. inline ::std::string* velodyneLidarParams::mutable_model() {
  1374. set_has_model();
  1375. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.model)
  1376. return model_.MutableNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1377. }
  1378. inline ::std::string* velodyneLidarParams::release_model() {
  1379. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.model)
  1380. if (!has_model()) {
  1381. return NULL;
  1382. }
  1383. clear_has_model();
  1384. return model_.ReleaseNonDefaultNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get());
  1385. }
  1386. inline void velodyneLidarParams::set_allocated_model(::std::string* model) {
  1387. if (model != NULL) {
  1388. set_has_model();
  1389. } else {
  1390. clear_has_model();
  1391. }
  1392. model_.SetAllocatedNoArena(&::velodyne::velodyneLidarParams::_i_give_permission_to_break_this_code_default_model_.get(), model);
  1393. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.model)
  1394. }
  1395. // required string calibrationFile = 4 [default = ""];
  1396. inline bool velodyneLidarParams::has_calibrationfile() const {
  1397. return (_has_bits_[0] & 0x00000004u) != 0;
  1398. }
  1399. inline void velodyneLidarParams::set_has_calibrationfile() {
  1400. _has_bits_[0] |= 0x00000004u;
  1401. }
  1402. inline void velodyneLidarParams::clear_has_calibrationfile() {
  1403. _has_bits_[0] &= ~0x00000004u;
  1404. }
  1405. inline void velodyneLidarParams::clear_calibrationfile() {
  1406. calibrationfile_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1407. clear_has_calibrationfile();
  1408. }
  1409. inline const ::std::string& velodyneLidarParams::calibrationfile() const {
  1410. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calibrationFile)
  1411. return calibrationfile_.GetNoArena();
  1412. }
  1413. inline void velodyneLidarParams::set_calibrationfile(const ::std::string& value) {
  1414. set_has_calibrationfile();
  1415. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1416. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.calibrationFile)
  1417. }
  1418. #if LANG_CXX11
  1419. inline void velodyneLidarParams::set_calibrationfile(::std::string&& value) {
  1420. set_has_calibrationfile();
  1421. calibrationfile_.SetNoArena(
  1422. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1423. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.calibrationFile)
  1424. }
  1425. #endif
  1426. inline void velodyneLidarParams::set_calibrationfile(const char* value) {
  1427. GOOGLE_DCHECK(value != NULL);
  1428. set_has_calibrationfile();
  1429. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1430. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.calibrationFile)
  1431. }
  1432. inline void velodyneLidarParams::set_calibrationfile(const char* value, size_t size) {
  1433. set_has_calibrationfile();
  1434. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1435. ::std::string(reinterpret_cast<const char*>(value), size));
  1436. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.calibrationFile)
  1437. }
  1438. inline ::std::string* velodyneLidarParams::mutable_calibrationfile() {
  1439. set_has_calibrationfile();
  1440. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calibrationFile)
  1441. return calibrationfile_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1442. }
  1443. inline ::std::string* velodyneLidarParams::release_calibrationfile() {
  1444. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calibrationFile)
  1445. if (!has_calibrationfile()) {
  1446. return NULL;
  1447. }
  1448. clear_has_calibrationfile();
  1449. return calibrationfile_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1450. }
  1451. inline void velodyneLidarParams::set_allocated_calibrationfile(::std::string* calibrationfile) {
  1452. if (calibrationfile != NULL) {
  1453. set_has_calibrationfile();
  1454. } else {
  1455. clear_has_calibrationfile();
  1456. }
  1457. calibrationfile_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), calibrationfile);
  1458. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calibrationFile)
  1459. }
  1460. // required int32 lidar_id = 5 [default = 0];
  1461. inline bool velodyneLidarParams::has_lidar_id() const {
  1462. return (_has_bits_[0] & 0x00000010u) != 0;
  1463. }
  1464. inline void velodyneLidarParams::set_has_lidar_id() {
  1465. _has_bits_[0] |= 0x00000010u;
  1466. }
  1467. inline void velodyneLidarParams::clear_has_lidar_id() {
  1468. _has_bits_[0] &= ~0x00000010u;
  1469. }
  1470. inline void velodyneLidarParams::clear_lidar_id() {
  1471. lidar_id_ = 0;
  1472. clear_has_lidar_id();
  1473. }
  1474. inline ::google::protobuf::int32 velodyneLidarParams::lidar_id() const {
  1475. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.lidar_id)
  1476. return lidar_id_;
  1477. }
  1478. inline void velodyneLidarParams::set_lidar_id(::google::protobuf::int32 value) {
  1479. set_has_lidar_id();
  1480. lidar_id_ = value;
  1481. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.lidar_id)
  1482. }
  1483. // optional float max_range = 6 [default = 10];
  1484. inline bool velodyneLidarParams::has_max_range() const {
  1485. return (_has_bits_[0] & 0x00000100u) != 0;
  1486. }
  1487. inline void velodyneLidarParams::set_has_max_range() {
  1488. _has_bits_[0] |= 0x00000100u;
  1489. }
  1490. inline void velodyneLidarParams::clear_has_max_range() {
  1491. _has_bits_[0] &= ~0x00000100u;
  1492. }
  1493. inline void velodyneLidarParams::clear_max_range() {
  1494. max_range_ = 10;
  1495. clear_has_max_range();
  1496. }
  1497. inline float velodyneLidarParams::max_range() const {
  1498. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_range)
  1499. return max_range_;
  1500. }
  1501. inline void velodyneLidarParams::set_max_range(float value) {
  1502. set_has_max_range();
  1503. max_range_ = value;
  1504. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_range)
  1505. }
  1506. // optional float min_range = 7 [default = 0.15];
  1507. inline bool velodyneLidarParams::has_min_range() const {
  1508. return (_has_bits_[0] & 0x00000200u) != 0;
  1509. }
  1510. inline void velodyneLidarParams::set_has_min_range() {
  1511. _has_bits_[0] |= 0x00000200u;
  1512. }
  1513. inline void velodyneLidarParams::clear_has_min_range() {
  1514. _has_bits_[0] &= ~0x00000200u;
  1515. }
  1516. inline void velodyneLidarParams::clear_min_range() {
  1517. min_range_ = 0.15f;
  1518. clear_has_min_range();
  1519. }
  1520. inline float velodyneLidarParams::min_range() const {
  1521. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_range)
  1522. return min_range_;
  1523. }
  1524. inline void velodyneLidarParams::set_min_range(float value) {
  1525. set_has_min_range();
  1526. min_range_ = value;
  1527. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_range)
  1528. }
  1529. // optional int32 min_angle = 8 [default = 0];
  1530. inline bool velodyneLidarParams::has_min_angle() const {
  1531. return (_has_bits_[0] & 0x00000020u) != 0;
  1532. }
  1533. inline void velodyneLidarParams::set_has_min_angle() {
  1534. _has_bits_[0] |= 0x00000020u;
  1535. }
  1536. inline void velodyneLidarParams::clear_has_min_angle() {
  1537. _has_bits_[0] &= ~0x00000020u;
  1538. }
  1539. inline void velodyneLidarParams::clear_min_angle() {
  1540. min_angle_ = 0;
  1541. clear_has_min_angle();
  1542. }
  1543. inline ::google::protobuf::int32 velodyneLidarParams::min_angle() const {
  1544. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_angle)
  1545. return min_angle_;
  1546. }
  1547. inline void velodyneLidarParams::set_min_angle(::google::protobuf::int32 value) {
  1548. set_has_min_angle();
  1549. min_angle_ = value;
  1550. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_angle)
  1551. }
  1552. // optional int32 max_angle = 9 [default = 360];
  1553. inline bool velodyneLidarParams::has_max_angle() const {
  1554. return (_has_bits_[0] & 0x00000400u) != 0;
  1555. }
  1556. inline void velodyneLidarParams::set_has_max_angle() {
  1557. _has_bits_[0] |= 0x00000400u;
  1558. }
  1559. inline void velodyneLidarParams::clear_has_max_angle() {
  1560. _has_bits_[0] &= ~0x00000400u;
  1561. }
  1562. inline void velodyneLidarParams::clear_max_angle() {
  1563. max_angle_ = 360;
  1564. clear_has_max_angle();
  1565. }
  1566. inline ::google::protobuf::int32 velodyneLidarParams::max_angle() const {
  1567. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_angle)
  1568. return max_angle_;
  1569. }
  1570. inline void velodyneLidarParams::set_max_angle(::google::protobuf::int32 value) {
  1571. set_has_max_angle();
  1572. max_angle_ = value;
  1573. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_angle)
  1574. }
  1575. // optional int32 rpm = 10 [default = 600];
  1576. inline bool velodyneLidarParams::has_rpm() const {
  1577. return (_has_bits_[0] & 0x00000040u) != 0;
  1578. }
  1579. inline void velodyneLidarParams::set_has_rpm() {
  1580. _has_bits_[0] |= 0x00000040u;
  1581. }
  1582. inline void velodyneLidarParams::clear_has_rpm() {
  1583. _has_bits_[0] &= ~0x00000040u;
  1584. }
  1585. inline void velodyneLidarParams::clear_rpm() {
  1586. rpm_ = 600;
  1587. clear_has_rpm();
  1588. }
  1589. inline ::google::protobuf::int32 velodyneLidarParams::rpm() const {
  1590. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.rpm)
  1591. return rpm_;
  1592. }
  1593. inline void velodyneLidarParams::set_rpm(::google::protobuf::int32 value) {
  1594. set_has_rpm();
  1595. rpm_ = value;
  1596. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.rpm)
  1597. }
  1598. // optional .velodyne.CalibParameter calib = 11;
  1599. inline bool velodyneLidarParams::has_calib() const {
  1600. return (_has_bits_[0] & 0x00000008u) != 0;
  1601. }
  1602. inline void velodyneLidarParams::set_has_calib() {
  1603. _has_bits_[0] |= 0x00000008u;
  1604. }
  1605. inline void velodyneLidarParams::clear_has_calib() {
  1606. _has_bits_[0] &= ~0x00000008u;
  1607. }
  1608. inline void velodyneLidarParams::clear_calib() {
  1609. if (calib_ != NULL) calib_->Clear();
  1610. clear_has_calib();
  1611. }
  1612. inline const ::velodyne::CalibParameter& velodyneLidarParams::_internal_calib() const {
  1613. return *calib_;
  1614. }
  1615. inline const ::velodyne::CalibParameter& velodyneLidarParams::calib() const {
  1616. const ::velodyne::CalibParameter* p = calib_;
  1617. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calib)
  1618. return p != NULL ? *p : *reinterpret_cast<const ::velodyne::CalibParameter*>(
  1619. &::velodyne::_CalibParameter_default_instance_);
  1620. }
  1621. inline ::velodyne::CalibParameter* velodyneLidarParams::release_calib() {
  1622. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calib)
  1623. clear_has_calib();
  1624. ::velodyne::CalibParameter* temp = calib_;
  1625. calib_ = NULL;
  1626. return temp;
  1627. }
  1628. inline ::velodyne::CalibParameter* velodyneLidarParams::mutable_calib() {
  1629. set_has_calib();
  1630. if (calib_ == NULL) {
  1631. auto* p = CreateMaybeMessage<::velodyne::CalibParameter>(GetArenaNoVirtual());
  1632. calib_ = p;
  1633. }
  1634. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calib)
  1635. return calib_;
  1636. }
  1637. inline void velodyneLidarParams::set_allocated_calib(::velodyne::CalibParameter* calib) {
  1638. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1639. if (message_arena == NULL) {
  1640. delete calib_;
  1641. }
  1642. if (calib) {
  1643. ::google::protobuf::Arena* submessage_arena = NULL;
  1644. if (message_arena != submessage_arena) {
  1645. calib = ::google::protobuf::internal::GetOwnedMessage(
  1646. message_arena, calib, submessage_arena);
  1647. }
  1648. set_has_calib();
  1649. } else {
  1650. clear_has_calib();
  1651. }
  1652. calib_ = calib;
  1653. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calib)
  1654. }
  1655. // -------------------------------------------------------------------
  1656. // CalibParameter
  1657. // optional float r = 1 [default = 0];
  1658. inline bool CalibParameter::has_r() const {
  1659. return (_has_bits_[0] & 0x00000001u) != 0;
  1660. }
  1661. inline void CalibParameter::set_has_r() {
  1662. _has_bits_[0] |= 0x00000001u;
  1663. }
  1664. inline void CalibParameter::clear_has_r() {
  1665. _has_bits_[0] &= ~0x00000001u;
  1666. }
  1667. inline void CalibParameter::clear_r() {
  1668. r_ = 0;
  1669. clear_has_r();
  1670. }
  1671. inline float CalibParameter::r() const {
  1672. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.r)
  1673. return r_;
  1674. }
  1675. inline void CalibParameter::set_r(float value) {
  1676. set_has_r();
  1677. r_ = value;
  1678. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.r)
  1679. }
  1680. // optional float p = 2 [default = 0];
  1681. inline bool CalibParameter::has_p() const {
  1682. return (_has_bits_[0] & 0x00000002u) != 0;
  1683. }
  1684. inline void CalibParameter::set_has_p() {
  1685. _has_bits_[0] |= 0x00000002u;
  1686. }
  1687. inline void CalibParameter::clear_has_p() {
  1688. _has_bits_[0] &= ~0x00000002u;
  1689. }
  1690. inline void CalibParameter::clear_p() {
  1691. p_ = 0;
  1692. clear_has_p();
  1693. }
  1694. inline float CalibParameter::p() const {
  1695. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.p)
  1696. return p_;
  1697. }
  1698. inline void CalibParameter::set_p(float value) {
  1699. set_has_p();
  1700. p_ = value;
  1701. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.p)
  1702. }
  1703. // optional float y = 3 [default = 0];
  1704. inline bool CalibParameter::has_y() const {
  1705. return (_has_bits_[0] & 0x00000004u) != 0;
  1706. }
  1707. inline void CalibParameter::set_has_y() {
  1708. _has_bits_[0] |= 0x00000004u;
  1709. }
  1710. inline void CalibParameter::clear_has_y() {
  1711. _has_bits_[0] &= ~0x00000004u;
  1712. }
  1713. inline void CalibParameter::clear_y() {
  1714. y_ = 0;
  1715. clear_has_y();
  1716. }
  1717. inline float CalibParameter::y() const {
  1718. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.y)
  1719. return y_;
  1720. }
  1721. inline void CalibParameter::set_y(float value) {
  1722. set_has_y();
  1723. y_ = value;
  1724. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.y)
  1725. }
  1726. // optional float cx = 4 [default = 0];
  1727. inline bool CalibParameter::has_cx() const {
  1728. return (_has_bits_[0] & 0x00000008u) != 0;
  1729. }
  1730. inline void CalibParameter::set_has_cx() {
  1731. _has_bits_[0] |= 0x00000008u;
  1732. }
  1733. inline void CalibParameter::clear_has_cx() {
  1734. _has_bits_[0] &= ~0x00000008u;
  1735. }
  1736. inline void CalibParameter::clear_cx() {
  1737. cx_ = 0;
  1738. clear_has_cx();
  1739. }
  1740. inline float CalibParameter::cx() const {
  1741. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cx)
  1742. return cx_;
  1743. }
  1744. inline void CalibParameter::set_cx(float value) {
  1745. set_has_cx();
  1746. cx_ = value;
  1747. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cx)
  1748. }
  1749. // optional float cy = 5 [default = 0];
  1750. inline bool CalibParameter::has_cy() const {
  1751. return (_has_bits_[0] & 0x00000010u) != 0;
  1752. }
  1753. inline void CalibParameter::set_has_cy() {
  1754. _has_bits_[0] |= 0x00000010u;
  1755. }
  1756. inline void CalibParameter::clear_has_cy() {
  1757. _has_bits_[0] &= ~0x00000010u;
  1758. }
  1759. inline void CalibParameter::clear_cy() {
  1760. cy_ = 0;
  1761. clear_has_cy();
  1762. }
  1763. inline float CalibParameter::cy() const {
  1764. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cy)
  1765. return cy_;
  1766. }
  1767. inline void CalibParameter::set_cy(float value) {
  1768. set_has_cy();
  1769. cy_ = value;
  1770. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cy)
  1771. }
  1772. // optional float cz = 6 [default = 0];
  1773. inline bool CalibParameter::has_cz() const {
  1774. return (_has_bits_[0] & 0x00000020u) != 0;
  1775. }
  1776. inline void CalibParameter::set_has_cz() {
  1777. _has_bits_[0] |= 0x00000020u;
  1778. }
  1779. inline void CalibParameter::clear_has_cz() {
  1780. _has_bits_[0] &= ~0x00000020u;
  1781. }
  1782. inline void CalibParameter::clear_cz() {
  1783. cz_ = 0;
  1784. clear_has_cz();
  1785. }
  1786. inline float CalibParameter::cz() const {
  1787. // @@protoc_insertion_point(field_get:velodyne.CalibParameter.cz)
  1788. return cz_;
  1789. }
  1790. inline void CalibParameter::set_cz(float value) {
  1791. set_has_cz();
  1792. cz_ = value;
  1793. // @@protoc_insertion_point(field_set:velodyne.CalibParameter.cz)
  1794. }
  1795. // -------------------------------------------------------------------
  1796. // lidarExtrinsic
  1797. // required int32 lidar_id = 1;
  1798. inline bool lidarExtrinsic::has_lidar_id() const {
  1799. return (_has_bits_[0] & 0x00000002u) != 0;
  1800. }
  1801. inline void lidarExtrinsic::set_has_lidar_id() {
  1802. _has_bits_[0] |= 0x00000002u;
  1803. }
  1804. inline void lidarExtrinsic::clear_has_lidar_id() {
  1805. _has_bits_[0] &= ~0x00000002u;
  1806. }
  1807. inline void lidarExtrinsic::clear_lidar_id() {
  1808. lidar_id_ = 0;
  1809. clear_has_lidar_id();
  1810. }
  1811. inline ::google::protobuf::int32 lidarExtrinsic::lidar_id() const {
  1812. // @@protoc_insertion_point(field_get:velodyne.lidarExtrinsic.lidar_id)
  1813. return lidar_id_;
  1814. }
  1815. inline void lidarExtrinsic::set_lidar_id(::google::protobuf::int32 value) {
  1816. set_has_lidar_id();
  1817. lidar_id_ = value;
  1818. // @@protoc_insertion_point(field_set:velodyne.lidarExtrinsic.lidar_id)
  1819. }
  1820. // optional .velodyne.CalibParameter calib = 2;
  1821. inline bool lidarExtrinsic::has_calib() const {
  1822. return (_has_bits_[0] & 0x00000001u) != 0;
  1823. }
  1824. inline void lidarExtrinsic::set_has_calib() {
  1825. _has_bits_[0] |= 0x00000001u;
  1826. }
  1827. inline void lidarExtrinsic::clear_has_calib() {
  1828. _has_bits_[0] &= ~0x00000001u;
  1829. }
  1830. inline void lidarExtrinsic::clear_calib() {
  1831. if (calib_ != NULL) calib_->Clear();
  1832. clear_has_calib();
  1833. }
  1834. inline const ::velodyne::CalibParameter& lidarExtrinsic::_internal_calib() const {
  1835. return *calib_;
  1836. }
  1837. inline const ::velodyne::CalibParameter& lidarExtrinsic::calib() const {
  1838. const ::velodyne::CalibParameter* p = calib_;
  1839. // @@protoc_insertion_point(field_get:velodyne.lidarExtrinsic.calib)
  1840. return p != NULL ? *p : *reinterpret_cast<const ::velodyne::CalibParameter*>(
  1841. &::velodyne::_CalibParameter_default_instance_);
  1842. }
  1843. inline ::velodyne::CalibParameter* lidarExtrinsic::release_calib() {
  1844. // @@protoc_insertion_point(field_release:velodyne.lidarExtrinsic.calib)
  1845. clear_has_calib();
  1846. ::velodyne::CalibParameter* temp = calib_;
  1847. calib_ = NULL;
  1848. return temp;
  1849. }
  1850. inline ::velodyne::CalibParameter* lidarExtrinsic::mutable_calib() {
  1851. set_has_calib();
  1852. if (calib_ == NULL) {
  1853. auto* p = CreateMaybeMessage<::velodyne::CalibParameter>(GetArenaNoVirtual());
  1854. calib_ = p;
  1855. }
  1856. // @@protoc_insertion_point(field_mutable:velodyne.lidarExtrinsic.calib)
  1857. return calib_;
  1858. }
  1859. inline void lidarExtrinsic::set_allocated_calib(::velodyne::CalibParameter* calib) {
  1860. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1861. if (message_arena == NULL) {
  1862. delete calib_;
  1863. }
  1864. if (calib) {
  1865. ::google::protobuf::Arena* submessage_arena = NULL;
  1866. if (message_arena != submessage_arena) {
  1867. calib = ::google::protobuf::internal::GetOwnedMessage(
  1868. message_arena, calib, submessage_arena);
  1869. }
  1870. set_has_calib();
  1871. } else {
  1872. clear_has_calib();
  1873. }
  1874. calib_ = calib;
  1875. // @@protoc_insertion_point(field_set_allocated:velodyne.lidarExtrinsic.calib)
  1876. }
  1877. // -------------------------------------------------------------------
  1878. // Region
  1879. // required float minx = 1;
  1880. inline bool Region::has_minx() const {
  1881. return (_has_bits_[0] & 0x00000001u) != 0;
  1882. }
  1883. inline void Region::set_has_minx() {
  1884. _has_bits_[0] |= 0x00000001u;
  1885. }
  1886. inline void Region::clear_has_minx() {
  1887. _has_bits_[0] &= ~0x00000001u;
  1888. }
  1889. inline void Region::clear_minx() {
  1890. minx_ = 0;
  1891. clear_has_minx();
  1892. }
  1893. inline float Region::minx() const {
  1894. // @@protoc_insertion_point(field_get:velodyne.Region.minx)
  1895. return minx_;
  1896. }
  1897. inline void Region::set_minx(float value) {
  1898. set_has_minx();
  1899. minx_ = value;
  1900. // @@protoc_insertion_point(field_set:velodyne.Region.minx)
  1901. }
  1902. // required float maxx = 2;
  1903. inline bool Region::has_maxx() const {
  1904. return (_has_bits_[0] & 0x00000002u) != 0;
  1905. }
  1906. inline void Region::set_has_maxx() {
  1907. _has_bits_[0] |= 0x00000002u;
  1908. }
  1909. inline void Region::clear_has_maxx() {
  1910. _has_bits_[0] &= ~0x00000002u;
  1911. }
  1912. inline void Region::clear_maxx() {
  1913. maxx_ = 0;
  1914. clear_has_maxx();
  1915. }
  1916. inline float Region::maxx() const {
  1917. // @@protoc_insertion_point(field_get:velodyne.Region.maxx)
  1918. return maxx_;
  1919. }
  1920. inline void Region::set_maxx(float value) {
  1921. set_has_maxx();
  1922. maxx_ = value;
  1923. // @@protoc_insertion_point(field_set:velodyne.Region.maxx)
  1924. }
  1925. // required float miny = 3;
  1926. inline bool Region::has_miny() const {
  1927. return (_has_bits_[0] & 0x00000004u) != 0;
  1928. }
  1929. inline void Region::set_has_miny() {
  1930. _has_bits_[0] |= 0x00000004u;
  1931. }
  1932. inline void Region::clear_has_miny() {
  1933. _has_bits_[0] &= ~0x00000004u;
  1934. }
  1935. inline void Region::clear_miny() {
  1936. miny_ = 0;
  1937. clear_has_miny();
  1938. }
  1939. inline float Region::miny() const {
  1940. // @@protoc_insertion_point(field_get:velodyne.Region.miny)
  1941. return miny_;
  1942. }
  1943. inline void Region::set_miny(float value) {
  1944. set_has_miny();
  1945. miny_ = value;
  1946. // @@protoc_insertion_point(field_set:velodyne.Region.miny)
  1947. }
  1948. // required float maxy = 4;
  1949. inline bool Region::has_maxy() const {
  1950. return (_has_bits_[0] & 0x00000008u) != 0;
  1951. }
  1952. inline void Region::set_has_maxy() {
  1953. _has_bits_[0] |= 0x00000008u;
  1954. }
  1955. inline void Region::clear_has_maxy() {
  1956. _has_bits_[0] &= ~0x00000008u;
  1957. }
  1958. inline void Region::clear_maxy() {
  1959. maxy_ = 0;
  1960. clear_has_maxy();
  1961. }
  1962. inline float Region::maxy() const {
  1963. // @@protoc_insertion_point(field_get:velodyne.Region.maxy)
  1964. return maxy_;
  1965. }
  1966. inline void Region::set_maxy(float value) {
  1967. set_has_maxy();
  1968. maxy_ = value;
  1969. // @@protoc_insertion_point(field_set:velodyne.Region.maxy)
  1970. }
  1971. // required float minz = 5;
  1972. inline bool Region::has_minz() const {
  1973. return (_has_bits_[0] & 0x00000010u) != 0;
  1974. }
  1975. inline void Region::set_has_minz() {
  1976. _has_bits_[0] |= 0x00000010u;
  1977. }
  1978. inline void Region::clear_has_minz() {
  1979. _has_bits_[0] &= ~0x00000010u;
  1980. }
  1981. inline void Region::clear_minz() {
  1982. minz_ = 0;
  1983. clear_has_minz();
  1984. }
  1985. inline float Region::minz() const {
  1986. // @@protoc_insertion_point(field_get:velodyne.Region.minz)
  1987. return minz_;
  1988. }
  1989. inline void Region::set_minz(float value) {
  1990. set_has_minz();
  1991. minz_ = value;
  1992. // @@protoc_insertion_point(field_set:velodyne.Region.minz)
  1993. }
  1994. // required float maxz = 6;
  1995. inline bool Region::has_maxz() const {
  1996. return (_has_bits_[0] & 0x00000020u) != 0;
  1997. }
  1998. inline void Region::set_has_maxz() {
  1999. _has_bits_[0] |= 0x00000020u;
  2000. }
  2001. inline void Region::clear_has_maxz() {
  2002. _has_bits_[0] &= ~0x00000020u;
  2003. }
  2004. inline void Region::clear_maxz() {
  2005. maxz_ = 0;
  2006. clear_has_maxz();
  2007. }
  2008. inline float Region::maxz() const {
  2009. // @@protoc_insertion_point(field_get:velodyne.Region.maxz)
  2010. return maxz_;
  2011. }
  2012. inline void Region::set_maxz(float value) {
  2013. set_has_maxz();
  2014. maxz_ = value;
  2015. // @@protoc_insertion_point(field_set:velodyne.Region.maxz)
  2016. }
  2017. // required int32 region_id = 7;
  2018. inline bool Region::has_region_id() const {
  2019. return (_has_bits_[0] & 0x00000040u) != 0;
  2020. }
  2021. inline void Region::set_has_region_id() {
  2022. _has_bits_[0] |= 0x00000040u;
  2023. }
  2024. inline void Region::clear_has_region_id() {
  2025. _has_bits_[0] &= ~0x00000040u;
  2026. }
  2027. inline void Region::clear_region_id() {
  2028. region_id_ = 0;
  2029. clear_has_region_id();
  2030. }
  2031. inline ::google::protobuf::int32 Region::region_id() const {
  2032. // @@protoc_insertion_point(field_get:velodyne.Region.region_id)
  2033. return region_id_;
  2034. }
  2035. inline void Region::set_region_id(::google::protobuf::int32 value) {
  2036. set_has_region_id();
  2037. region_id_ = value;
  2038. // @@protoc_insertion_point(field_set:velodyne.Region.region_id)
  2039. }
  2040. // repeated .velodyne.lidarExtrinsic lidar_exts = 8;
  2041. inline int Region::lidar_exts_size() const {
  2042. return lidar_exts_.size();
  2043. }
  2044. inline void Region::clear_lidar_exts() {
  2045. lidar_exts_.Clear();
  2046. }
  2047. inline ::velodyne::lidarExtrinsic* Region::mutable_lidar_exts(int index) {
  2048. // @@protoc_insertion_point(field_mutable:velodyne.Region.lidar_exts)
  2049. return lidar_exts_.Mutable(index);
  2050. }
  2051. inline ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >*
  2052. Region::mutable_lidar_exts() {
  2053. // @@protoc_insertion_point(field_mutable_list:velodyne.Region.lidar_exts)
  2054. return &lidar_exts_;
  2055. }
  2056. inline const ::velodyne::lidarExtrinsic& Region::lidar_exts(int index) const {
  2057. // @@protoc_insertion_point(field_get:velodyne.Region.lidar_exts)
  2058. return lidar_exts_.Get(index);
  2059. }
  2060. inline ::velodyne::lidarExtrinsic* Region::add_lidar_exts() {
  2061. // @@protoc_insertion_point(field_add:velodyne.Region.lidar_exts)
  2062. return lidar_exts_.Add();
  2063. }
  2064. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::lidarExtrinsic >&
  2065. Region::lidar_exts() const {
  2066. // @@protoc_insertion_point(field_list:velodyne.Region.lidar_exts)
  2067. return lidar_exts_;
  2068. }
  2069. #ifdef __GNUC__
  2070. #pragma GCC diagnostic pop
  2071. #endif // __GNUC__
  2072. // -------------------------------------------------------------------
  2073. // -------------------------------------------------------------------
  2074. // -------------------------------------------------------------------
  2075. // -------------------------------------------------------------------
  2076. // @@protoc_insertion_point(namespace_scope)
  2077. } // namespace velodyne
  2078. // @@protoc_insertion_point(global_scope)
  2079. #endif // PROTOBUF_INCLUDED_velodyne_5fconfig_2eproto