velodyne_config.pb.h 78 KB

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