velodyne_config.pb.h 85 KB

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