velodyne_config.pb.h 84 KB

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