velodyne_config.pb.h 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691
  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[4];
  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 InitDefaultsRegionImpl();
  44. void InitDefaultsRegion();
  45. void InitDefaultsCalib_parameterImpl();
  46. void InitDefaultsCalib_parameter();
  47. inline void InitDefaults() {
  48. InitDefaultsvelodyneManagerParams();
  49. InitDefaultsvelodyneLidarParams();
  50. InitDefaultsRegion();
  51. InitDefaultsCalib_parameter();
  52. }
  53. } // namespace protobuf_velodyne_5fconfig_2eproto
  54. namespace velodyne {
  55. class Calib_parameter;
  56. class Calib_parameterDefaultTypeInternal;
  57. extern Calib_parameterDefaultTypeInternal _Calib_parameter_default_instance_;
  58. class Region;
  59. class RegionDefaultTypeInternal;
  60. extern RegionDefaultTypeInternal _Region_default_instance_;
  61. class velodyneLidarParams;
  62. class velodyneLidarParamsDefaultTypeInternal;
  63. extern velodyneLidarParamsDefaultTypeInternal _velodyneLidarParams_default_instance_;
  64. class velodyneManagerParams;
  65. class velodyneManagerParamsDefaultTypeInternal;
  66. extern velodyneManagerParamsDefaultTypeInternal _velodyneManagerParams_default_instance_;
  67. } // namespace velodyne
  68. namespace velodyne {
  69. // ===================================================================
  70. class velodyneManagerParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.velodyneManagerParams) */ {
  71. public:
  72. velodyneManagerParams();
  73. virtual ~velodyneManagerParams();
  74. velodyneManagerParams(const velodyneManagerParams& from);
  75. inline velodyneManagerParams& operator=(const velodyneManagerParams& from) {
  76. CopyFrom(from);
  77. return *this;
  78. }
  79. #if LANG_CXX11
  80. velodyneManagerParams(velodyneManagerParams&& from) noexcept
  81. : velodyneManagerParams() {
  82. *this = ::std::move(from);
  83. }
  84. inline velodyneManagerParams& operator=(velodyneManagerParams&& from) noexcept {
  85. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  86. if (this != &from) InternalSwap(&from);
  87. } else {
  88. CopyFrom(from);
  89. }
  90. return *this;
  91. }
  92. #endif
  93. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  94. return _internal_metadata_.unknown_fields();
  95. }
  96. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  97. return _internal_metadata_.mutable_unknown_fields();
  98. }
  99. static const ::google::protobuf::Descriptor* descriptor();
  100. static const velodyneManagerParams& default_instance();
  101. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  102. static inline const velodyneManagerParams* internal_default_instance() {
  103. return reinterpret_cast<const velodyneManagerParams*>(
  104. &_velodyneManagerParams_default_instance_);
  105. }
  106. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  107. 0;
  108. void Swap(velodyneManagerParams* other);
  109. friend void swap(velodyneManagerParams& a, velodyneManagerParams& b) {
  110. a.Swap(&b);
  111. }
  112. // implements Message ----------------------------------------------
  113. inline velodyneManagerParams* New() const PROTOBUF_FINAL { return New(NULL); }
  114. velodyneManagerParams* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  115. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  116. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  117. void CopyFrom(const velodyneManagerParams& from);
  118. void MergeFrom(const velodyneManagerParams& from);
  119. void Clear() PROTOBUF_FINAL;
  120. bool IsInitialized() const PROTOBUF_FINAL;
  121. size_t ByteSizeLong() const PROTOBUF_FINAL;
  122. bool MergePartialFromCodedStream(
  123. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  124. void SerializeWithCachedSizes(
  125. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  126. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  127. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  128. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  129. private:
  130. void SharedCtor();
  131. void SharedDtor();
  132. void SetCachedSize(int size) const PROTOBUF_FINAL;
  133. void InternalSwap(velodyneManagerParams* other);
  134. private:
  135. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  136. return NULL;
  137. }
  138. inline void* MaybeArenaPtr() const {
  139. return NULL;
  140. }
  141. public:
  142. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  143. // nested types ----------------------------------------------------
  144. // accessors -------------------------------------------------------
  145. // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
  146. int velodyne_lidars_size() const;
  147. void clear_velodyne_lidars();
  148. static const int kVelodyneLidarsFieldNumber = 1;
  149. const ::velodyne::velodyneLidarParams& velodyne_lidars(int index) const;
  150. ::velodyne::velodyneLidarParams* mutable_velodyne_lidars(int index);
  151. ::velodyne::velodyneLidarParams* add_velodyne_lidars();
  152. ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
  153. mutable_velodyne_lidars();
  154. const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
  155. velodyne_lidars() const;
  156. // repeated .velodyne.Region region = 2;
  157. int region_size() const;
  158. void clear_region();
  159. static const int kRegionFieldNumber = 2;
  160. const ::velodyne::Region& region(int index) const;
  161. ::velodyne::Region* mutable_region(int index);
  162. ::velodyne::Region* add_region();
  163. ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
  164. mutable_region();
  165. const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
  166. region() const;
  167. // optional string fence_data_path = 3 [default = ""];
  168. bool has_fence_data_path() const;
  169. void clear_fence_data_path();
  170. static const int kFenceDataPathFieldNumber = 3;
  171. const ::std::string& fence_data_path() const;
  172. void set_fence_data_path(const ::std::string& value);
  173. #if LANG_CXX11
  174. void set_fence_data_path(::std::string&& value);
  175. #endif
  176. void set_fence_data_path(const char* value);
  177. void set_fence_data_path(const char* value, size_t size);
  178. ::std::string* mutable_fence_data_path();
  179. ::std::string* release_fence_data_path();
  180. void set_allocated_fence_data_path(::std::string* fence_data_path);
  181. // optional string fence_log_path = 4 [default = ""];
  182. bool has_fence_log_path() const;
  183. void clear_fence_log_path();
  184. static const int kFenceLogPathFieldNumber = 4;
  185. const ::std::string& fence_log_path() const;
  186. void set_fence_log_path(const ::std::string& value);
  187. #if LANG_CXX11
  188. void set_fence_log_path(::std::string&& value);
  189. #endif
  190. void set_fence_log_path(const char* value);
  191. void set_fence_log_path(const char* value, size_t size);
  192. ::std::string* mutable_fence_log_path();
  193. ::std::string* release_fence_log_path();
  194. void set_allocated_fence_log_path(::std::string* fence_log_path);
  195. // @@protoc_insertion_point(class_scope:velodyne.velodyneManagerParams)
  196. private:
  197. void set_has_fence_data_path();
  198. void clear_has_fence_data_path();
  199. void set_has_fence_log_path();
  200. void clear_has_fence_log_path();
  201. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  202. ::google::protobuf::internal::HasBits<1> _has_bits_;
  203. mutable int _cached_size_;
  204. ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams > velodyne_lidars_;
  205. ::google::protobuf::RepeatedPtrField< ::velodyne::Region > region_;
  206. ::google::protobuf::internal::ArenaStringPtr fence_data_path_;
  207. ::google::protobuf::internal::ArenaStringPtr fence_log_path_;
  208. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  209. friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsvelodyneManagerParamsImpl();
  210. };
  211. // -------------------------------------------------------------------
  212. class velodyneLidarParams : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.velodyneLidarParams) */ {
  213. public:
  214. velodyneLidarParams();
  215. virtual ~velodyneLidarParams();
  216. velodyneLidarParams(const velodyneLidarParams& from);
  217. inline velodyneLidarParams& operator=(const velodyneLidarParams& from) {
  218. CopyFrom(from);
  219. return *this;
  220. }
  221. #if LANG_CXX11
  222. velodyneLidarParams(velodyneLidarParams&& from) noexcept
  223. : velodyneLidarParams() {
  224. *this = ::std::move(from);
  225. }
  226. inline velodyneLidarParams& operator=(velodyneLidarParams&& from) noexcept {
  227. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  228. if (this != &from) InternalSwap(&from);
  229. } else {
  230. CopyFrom(from);
  231. }
  232. return *this;
  233. }
  234. #endif
  235. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  236. return _internal_metadata_.unknown_fields();
  237. }
  238. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  239. return _internal_metadata_.mutable_unknown_fields();
  240. }
  241. static const ::google::protobuf::Descriptor* descriptor();
  242. static const velodyneLidarParams& default_instance();
  243. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  244. static inline const velodyneLidarParams* internal_default_instance() {
  245. return reinterpret_cast<const velodyneLidarParams*>(
  246. &_velodyneLidarParams_default_instance_);
  247. }
  248. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  249. 1;
  250. void Swap(velodyneLidarParams* other);
  251. friend void swap(velodyneLidarParams& a, velodyneLidarParams& b) {
  252. a.Swap(&b);
  253. }
  254. // implements Message ----------------------------------------------
  255. inline velodyneLidarParams* New() const PROTOBUF_FINAL { return New(NULL); }
  256. velodyneLidarParams* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  257. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  258. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  259. void CopyFrom(const velodyneLidarParams& from);
  260. void MergeFrom(const velodyneLidarParams& from);
  261. void Clear() PROTOBUF_FINAL;
  262. bool IsInitialized() const PROTOBUF_FINAL;
  263. size_t ByteSizeLong() const PROTOBUF_FINAL;
  264. bool MergePartialFromCodedStream(
  265. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  266. void SerializeWithCachedSizes(
  267. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  268. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  269. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  270. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  271. private:
  272. void SharedCtor();
  273. void SharedDtor();
  274. void SetCachedSize(int size) const PROTOBUF_FINAL;
  275. void InternalSwap(velodyneLidarParams* other);
  276. private:
  277. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  278. return NULL;
  279. }
  280. inline void* MaybeArenaPtr() const {
  281. return NULL;
  282. }
  283. public:
  284. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  285. // nested types ----------------------------------------------------
  286. // accessors -------------------------------------------------------
  287. // required string ip = 1 [default = ""];
  288. bool has_ip() const;
  289. void clear_ip();
  290. static const int kIpFieldNumber = 1;
  291. const ::std::string& ip() const;
  292. void set_ip(const ::std::string& value);
  293. #if LANG_CXX11
  294. void set_ip(::std::string&& value);
  295. #endif
  296. void set_ip(const char* value);
  297. void set_ip(const char* value, size_t size);
  298. ::std::string* mutable_ip();
  299. ::std::string* release_ip();
  300. void set_allocated_ip(::std::string* ip);
  301. // required string model = 3 [default = "VLP16"];
  302. bool has_model() const;
  303. void clear_model();
  304. static const int kModelFieldNumber = 3;
  305. const ::std::string& model() const;
  306. void set_model(const ::std::string& value);
  307. #if LANG_CXX11
  308. void set_model(::std::string&& value);
  309. #endif
  310. void set_model(const char* value);
  311. void set_model(const char* value, size_t size);
  312. ::std::string* mutable_model();
  313. ::std::string* release_model();
  314. void set_allocated_model(::std::string* model);
  315. // required string calibrationFile = 4 [default = ""];
  316. bool has_calibrationfile() const;
  317. void clear_calibrationfile();
  318. static const int kCalibrationFileFieldNumber = 4;
  319. const ::std::string& calibrationfile() const;
  320. void set_calibrationfile(const ::std::string& value);
  321. #if LANG_CXX11
  322. void set_calibrationfile(::std::string&& value);
  323. #endif
  324. void set_calibrationfile(const char* value);
  325. void set_calibrationfile(const char* value, size_t size);
  326. ::std::string* mutable_calibrationfile();
  327. ::std::string* release_calibrationfile();
  328. void set_allocated_calibrationfile(::std::string* calibrationfile);
  329. // optional .velodyne.Calib_parameter calib = 10;
  330. bool has_calib() const;
  331. void clear_calib();
  332. static const int kCalibFieldNumber = 10;
  333. const ::velodyne::Calib_parameter& calib() const;
  334. ::velodyne::Calib_parameter* release_calib();
  335. ::velodyne::Calib_parameter* mutable_calib();
  336. void set_allocated_calib(::velodyne::Calib_parameter* calib);
  337. // optional int32 min_angle = 7 [default = 0];
  338. bool has_min_angle() const;
  339. void clear_min_angle();
  340. static const int kMinAngleFieldNumber = 7;
  341. ::google::protobuf::int32 min_angle() const;
  342. void set_min_angle(::google::protobuf::int32 value);
  343. // optional int32 rpm = 9 [default = 600];
  344. bool has_rpm() const;
  345. void clear_rpm();
  346. static const int kRpmFieldNumber = 9;
  347. ::google::protobuf::int32 rpm() const;
  348. void set_rpm(::google::protobuf::int32 value);
  349. // required int32 port = 2 [default = 2368];
  350. bool has_port() const;
  351. void clear_port();
  352. static const int kPortFieldNumber = 2;
  353. ::google::protobuf::int32 port() const;
  354. void set_port(::google::protobuf::int32 value);
  355. // optional float max_range = 5 [default = 10];
  356. bool has_max_range() const;
  357. void clear_max_range();
  358. static const int kMaxRangeFieldNumber = 5;
  359. float max_range() const;
  360. void set_max_range(float value);
  361. // optional float min_range = 6 [default = 0.15];
  362. bool has_min_range() const;
  363. void clear_min_range();
  364. static const int kMinRangeFieldNumber = 6;
  365. float min_range() const;
  366. void set_min_range(float value);
  367. // optional int32 max_angle = 8 [default = 360];
  368. bool has_max_angle() const;
  369. void clear_max_angle();
  370. static const int kMaxAngleFieldNumber = 8;
  371. ::google::protobuf::int32 max_angle() const;
  372. void set_max_angle(::google::protobuf::int32 value);
  373. // @@protoc_insertion_point(class_scope:velodyne.velodyneLidarParams)
  374. private:
  375. void set_has_ip();
  376. void clear_has_ip();
  377. void set_has_port();
  378. void clear_has_port();
  379. void set_has_model();
  380. void clear_has_model();
  381. void set_has_calibrationfile();
  382. void clear_has_calibrationfile();
  383. void set_has_max_range();
  384. void clear_has_max_range();
  385. void set_has_min_range();
  386. void clear_has_min_range();
  387. void set_has_min_angle();
  388. void clear_has_min_angle();
  389. void set_has_max_angle();
  390. void clear_has_max_angle();
  391. void set_has_rpm();
  392. void clear_has_rpm();
  393. void set_has_calib();
  394. void clear_has_calib();
  395. // helper for ByteSizeLong()
  396. size_t RequiredFieldsByteSizeFallback() const;
  397. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  398. ::google::protobuf::internal::HasBits<1> _has_bits_;
  399. mutable int _cached_size_;
  400. ::google::protobuf::internal::ArenaStringPtr ip_;
  401. static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _default_model_;
  402. ::google::protobuf::internal::ArenaStringPtr model_;
  403. ::google::protobuf::internal::ArenaStringPtr calibrationfile_;
  404. ::velodyne::Calib_parameter* calib_;
  405. ::google::protobuf::int32 min_angle_;
  406. ::google::protobuf::int32 rpm_;
  407. ::google::protobuf::int32 port_;
  408. float max_range_;
  409. float min_range_;
  410. ::google::protobuf::int32 max_angle_;
  411. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  412. friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsvelodyneLidarParamsImpl();
  413. };
  414. // -------------------------------------------------------------------
  415. class Region : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.Region) */ {
  416. public:
  417. Region();
  418. virtual ~Region();
  419. Region(const Region& from);
  420. inline Region& operator=(const Region& from) {
  421. CopyFrom(from);
  422. return *this;
  423. }
  424. #if LANG_CXX11
  425. Region(Region&& from) noexcept
  426. : Region() {
  427. *this = ::std::move(from);
  428. }
  429. inline Region& operator=(Region&& from) noexcept {
  430. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  431. if (this != &from) InternalSwap(&from);
  432. } else {
  433. CopyFrom(from);
  434. }
  435. return *this;
  436. }
  437. #endif
  438. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  439. return _internal_metadata_.unknown_fields();
  440. }
  441. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  442. return _internal_metadata_.mutable_unknown_fields();
  443. }
  444. static const ::google::protobuf::Descriptor* descriptor();
  445. static const Region& default_instance();
  446. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  447. static inline const Region* internal_default_instance() {
  448. return reinterpret_cast<const Region*>(
  449. &_Region_default_instance_);
  450. }
  451. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  452. 2;
  453. void Swap(Region* other);
  454. friend void swap(Region& a, Region& b) {
  455. a.Swap(&b);
  456. }
  457. // implements Message ----------------------------------------------
  458. inline Region* New() const PROTOBUF_FINAL { return New(NULL); }
  459. Region* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  460. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  461. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  462. void CopyFrom(const Region& from);
  463. void MergeFrom(const Region& from);
  464. void Clear() PROTOBUF_FINAL;
  465. bool IsInitialized() const PROTOBUF_FINAL;
  466. size_t ByteSizeLong() const PROTOBUF_FINAL;
  467. bool MergePartialFromCodedStream(
  468. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  469. void SerializeWithCachedSizes(
  470. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  471. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  472. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  473. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  474. private:
  475. void SharedCtor();
  476. void SharedDtor();
  477. void SetCachedSize(int size) const PROTOBUF_FINAL;
  478. void InternalSwap(Region* other);
  479. private:
  480. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  481. return NULL;
  482. }
  483. inline void* MaybeArenaPtr() const {
  484. return NULL;
  485. }
  486. public:
  487. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  488. // nested types ----------------------------------------------------
  489. // accessors -------------------------------------------------------
  490. // required float minx = 1;
  491. bool has_minx() const;
  492. void clear_minx();
  493. static const int kMinxFieldNumber = 1;
  494. float minx() const;
  495. void set_minx(float value);
  496. // required float maxx = 2;
  497. bool has_maxx() const;
  498. void clear_maxx();
  499. static const int kMaxxFieldNumber = 2;
  500. float maxx() const;
  501. void set_maxx(float value);
  502. // required float miny = 3;
  503. bool has_miny() const;
  504. void clear_miny();
  505. static const int kMinyFieldNumber = 3;
  506. float miny() const;
  507. void set_miny(float value);
  508. // required float maxy = 4;
  509. bool has_maxy() const;
  510. void clear_maxy();
  511. static const int kMaxyFieldNumber = 4;
  512. float maxy() const;
  513. void set_maxy(float value);
  514. // required float minz = 5;
  515. bool has_minz() const;
  516. void clear_minz();
  517. static const int kMinzFieldNumber = 5;
  518. float minz() const;
  519. void set_minz(float value);
  520. // required float maxz = 6;
  521. bool has_maxz() const;
  522. void clear_maxz();
  523. static const int kMaxzFieldNumber = 6;
  524. float maxz() const;
  525. void set_maxz(float value);
  526. // @@protoc_insertion_point(class_scope:velodyne.Region)
  527. private:
  528. void set_has_minx();
  529. void clear_has_minx();
  530. void set_has_maxx();
  531. void clear_has_maxx();
  532. void set_has_miny();
  533. void clear_has_miny();
  534. void set_has_maxy();
  535. void clear_has_maxy();
  536. void set_has_minz();
  537. void clear_has_minz();
  538. void set_has_maxz();
  539. void clear_has_maxz();
  540. // helper for ByteSizeLong()
  541. size_t RequiredFieldsByteSizeFallback() const;
  542. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  543. ::google::protobuf::internal::HasBits<1> _has_bits_;
  544. mutable int _cached_size_;
  545. float minx_;
  546. float maxx_;
  547. float miny_;
  548. float maxy_;
  549. float minz_;
  550. float maxz_;
  551. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  552. friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsRegionImpl();
  553. };
  554. // -------------------------------------------------------------------
  555. class Calib_parameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:velodyne.Calib_parameter) */ {
  556. public:
  557. Calib_parameter();
  558. virtual ~Calib_parameter();
  559. Calib_parameter(const Calib_parameter& from);
  560. inline Calib_parameter& operator=(const Calib_parameter& from) {
  561. CopyFrom(from);
  562. return *this;
  563. }
  564. #if LANG_CXX11
  565. Calib_parameter(Calib_parameter&& from) noexcept
  566. : Calib_parameter() {
  567. *this = ::std::move(from);
  568. }
  569. inline Calib_parameter& operator=(Calib_parameter&& from) noexcept {
  570. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  571. if (this != &from) InternalSwap(&from);
  572. } else {
  573. CopyFrom(from);
  574. }
  575. return *this;
  576. }
  577. #endif
  578. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  579. return _internal_metadata_.unknown_fields();
  580. }
  581. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  582. return _internal_metadata_.mutable_unknown_fields();
  583. }
  584. static const ::google::protobuf::Descriptor* descriptor();
  585. static const Calib_parameter& default_instance();
  586. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  587. static inline const Calib_parameter* internal_default_instance() {
  588. return reinterpret_cast<const Calib_parameter*>(
  589. &_Calib_parameter_default_instance_);
  590. }
  591. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  592. 3;
  593. void Swap(Calib_parameter* other);
  594. friend void swap(Calib_parameter& a, Calib_parameter& b) {
  595. a.Swap(&b);
  596. }
  597. // implements Message ----------------------------------------------
  598. inline Calib_parameter* New() const PROTOBUF_FINAL { return New(NULL); }
  599. Calib_parameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  600. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  601. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  602. void CopyFrom(const Calib_parameter& from);
  603. void MergeFrom(const Calib_parameter& from);
  604. void Clear() PROTOBUF_FINAL;
  605. bool IsInitialized() const PROTOBUF_FINAL;
  606. size_t ByteSizeLong() const PROTOBUF_FINAL;
  607. bool MergePartialFromCodedStream(
  608. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  609. void SerializeWithCachedSizes(
  610. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  611. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  612. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  613. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  614. private:
  615. void SharedCtor();
  616. void SharedDtor();
  617. void SetCachedSize(int size) const PROTOBUF_FINAL;
  618. void InternalSwap(Calib_parameter* other);
  619. private:
  620. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  621. return NULL;
  622. }
  623. inline void* MaybeArenaPtr() const {
  624. return NULL;
  625. }
  626. public:
  627. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  628. // nested types ----------------------------------------------------
  629. // accessors -------------------------------------------------------
  630. // optional float r = 1 [default = 0];
  631. bool has_r() const;
  632. void clear_r();
  633. static const int kRFieldNumber = 1;
  634. float r() const;
  635. void set_r(float value);
  636. // optional float p = 2 [default = 0];
  637. bool has_p() const;
  638. void clear_p();
  639. static const int kPFieldNumber = 2;
  640. float p() const;
  641. void set_p(float value);
  642. // optional float y = 3 [default = 0];
  643. bool has_y() const;
  644. void clear_y();
  645. static const int kYFieldNumber = 3;
  646. float y() const;
  647. void set_y(float value);
  648. // optional float cx = 4 [default = 0];
  649. bool has_cx() const;
  650. void clear_cx();
  651. static const int kCxFieldNumber = 4;
  652. float cx() const;
  653. void set_cx(float value);
  654. // optional float cy = 5 [default = 0];
  655. bool has_cy() const;
  656. void clear_cy();
  657. static const int kCyFieldNumber = 5;
  658. float cy() const;
  659. void set_cy(float value);
  660. // optional float cz = 6 [default = 0];
  661. bool has_cz() const;
  662. void clear_cz();
  663. static const int kCzFieldNumber = 6;
  664. float cz() const;
  665. void set_cz(float value);
  666. // @@protoc_insertion_point(class_scope:velodyne.Calib_parameter)
  667. private:
  668. void set_has_r();
  669. void clear_has_r();
  670. void set_has_p();
  671. void clear_has_p();
  672. void set_has_y();
  673. void clear_has_y();
  674. void set_has_cx();
  675. void clear_has_cx();
  676. void set_has_cy();
  677. void clear_has_cy();
  678. void set_has_cz();
  679. void clear_has_cz();
  680. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  681. ::google::protobuf::internal::HasBits<1> _has_bits_;
  682. mutable int _cached_size_;
  683. float r_;
  684. float p_;
  685. float y_;
  686. float cx_;
  687. float cy_;
  688. float cz_;
  689. friend struct ::protobuf_velodyne_5fconfig_2eproto::TableStruct;
  690. friend void ::protobuf_velodyne_5fconfig_2eproto::InitDefaultsCalib_parameterImpl();
  691. };
  692. // ===================================================================
  693. // ===================================================================
  694. #ifdef __GNUC__
  695. #pragma GCC diagnostic push
  696. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  697. #endif // __GNUC__
  698. // velodyneManagerParams
  699. // repeated .velodyne.velodyneLidarParams velodyne_lidars = 1;
  700. inline int velodyneManagerParams::velodyne_lidars_size() const {
  701. return velodyne_lidars_.size();
  702. }
  703. inline void velodyneManagerParams::clear_velodyne_lidars() {
  704. velodyne_lidars_.Clear();
  705. }
  706. inline const ::velodyne::velodyneLidarParams& velodyneManagerParams::velodyne_lidars(int index) const {
  707. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.velodyne_lidars)
  708. return velodyne_lidars_.Get(index);
  709. }
  710. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::mutable_velodyne_lidars(int index) {
  711. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.velodyne_lidars)
  712. return velodyne_lidars_.Mutable(index);
  713. }
  714. inline ::velodyne::velodyneLidarParams* velodyneManagerParams::add_velodyne_lidars() {
  715. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.velodyne_lidars)
  716. return velodyne_lidars_.Add();
  717. }
  718. inline ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >*
  719. velodyneManagerParams::mutable_velodyne_lidars() {
  720. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.velodyne_lidars)
  721. return &velodyne_lidars_;
  722. }
  723. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::velodyneLidarParams >&
  724. velodyneManagerParams::velodyne_lidars() const {
  725. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.velodyne_lidars)
  726. return velodyne_lidars_;
  727. }
  728. // repeated .velodyne.Region region = 2;
  729. inline int velodyneManagerParams::region_size() const {
  730. return region_.size();
  731. }
  732. inline void velodyneManagerParams::clear_region() {
  733. region_.Clear();
  734. }
  735. inline const ::velodyne::Region& velodyneManagerParams::region(int index) const {
  736. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.region)
  737. return region_.Get(index);
  738. }
  739. inline ::velodyne::Region* velodyneManagerParams::mutable_region(int index) {
  740. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.region)
  741. return region_.Mutable(index);
  742. }
  743. inline ::velodyne::Region* velodyneManagerParams::add_region() {
  744. // @@protoc_insertion_point(field_add:velodyne.velodyneManagerParams.region)
  745. return region_.Add();
  746. }
  747. inline ::google::protobuf::RepeatedPtrField< ::velodyne::Region >*
  748. velodyneManagerParams::mutable_region() {
  749. // @@protoc_insertion_point(field_mutable_list:velodyne.velodyneManagerParams.region)
  750. return &region_;
  751. }
  752. inline const ::google::protobuf::RepeatedPtrField< ::velodyne::Region >&
  753. velodyneManagerParams::region() const {
  754. // @@protoc_insertion_point(field_list:velodyne.velodyneManagerParams.region)
  755. return region_;
  756. }
  757. // optional string fence_data_path = 3 [default = ""];
  758. inline bool velodyneManagerParams::has_fence_data_path() const {
  759. return (_has_bits_[0] & 0x00000001u) != 0;
  760. }
  761. inline void velodyneManagerParams::set_has_fence_data_path() {
  762. _has_bits_[0] |= 0x00000001u;
  763. }
  764. inline void velodyneManagerParams::clear_has_fence_data_path() {
  765. _has_bits_[0] &= ~0x00000001u;
  766. }
  767. inline void velodyneManagerParams::clear_fence_data_path() {
  768. fence_data_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  769. clear_has_fence_data_path();
  770. }
  771. inline const ::std::string& velodyneManagerParams::fence_data_path() const {
  772. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_data_path)
  773. return fence_data_path_.GetNoArena();
  774. }
  775. inline void velodyneManagerParams::set_fence_data_path(const ::std::string& value) {
  776. set_has_fence_data_path();
  777. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  778. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_data_path)
  779. }
  780. #if LANG_CXX11
  781. inline void velodyneManagerParams::set_fence_data_path(::std::string&& value) {
  782. set_has_fence_data_path();
  783. fence_data_path_.SetNoArena(
  784. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  785. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_data_path)
  786. }
  787. #endif
  788. inline void velodyneManagerParams::set_fence_data_path(const char* value) {
  789. GOOGLE_DCHECK(value != NULL);
  790. set_has_fence_data_path();
  791. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  792. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_data_path)
  793. }
  794. inline void velodyneManagerParams::set_fence_data_path(const char* value, size_t size) {
  795. set_has_fence_data_path();
  796. fence_data_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  797. ::std::string(reinterpret_cast<const char*>(value), size));
  798. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_data_path)
  799. }
  800. inline ::std::string* velodyneManagerParams::mutable_fence_data_path() {
  801. set_has_fence_data_path();
  802. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_data_path)
  803. return fence_data_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  804. }
  805. inline ::std::string* velodyneManagerParams::release_fence_data_path() {
  806. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_data_path)
  807. clear_has_fence_data_path();
  808. return fence_data_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  809. }
  810. inline void velodyneManagerParams::set_allocated_fence_data_path(::std::string* fence_data_path) {
  811. if (fence_data_path != NULL) {
  812. set_has_fence_data_path();
  813. } else {
  814. clear_has_fence_data_path();
  815. }
  816. fence_data_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_data_path);
  817. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_data_path)
  818. }
  819. // optional string fence_log_path = 4 [default = ""];
  820. inline bool velodyneManagerParams::has_fence_log_path() const {
  821. return (_has_bits_[0] & 0x00000002u) != 0;
  822. }
  823. inline void velodyneManagerParams::set_has_fence_log_path() {
  824. _has_bits_[0] |= 0x00000002u;
  825. }
  826. inline void velodyneManagerParams::clear_has_fence_log_path() {
  827. _has_bits_[0] &= ~0x00000002u;
  828. }
  829. inline void velodyneManagerParams::clear_fence_log_path() {
  830. fence_log_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  831. clear_has_fence_log_path();
  832. }
  833. inline const ::std::string& velodyneManagerParams::fence_log_path() const {
  834. // @@protoc_insertion_point(field_get:velodyne.velodyneManagerParams.fence_log_path)
  835. return fence_log_path_.GetNoArena();
  836. }
  837. inline void velodyneManagerParams::set_fence_log_path(const ::std::string& value) {
  838. set_has_fence_log_path();
  839. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  840. // @@protoc_insertion_point(field_set:velodyne.velodyneManagerParams.fence_log_path)
  841. }
  842. #if LANG_CXX11
  843. inline void velodyneManagerParams::set_fence_log_path(::std::string&& value) {
  844. set_has_fence_log_path();
  845. fence_log_path_.SetNoArena(
  846. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  847. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneManagerParams.fence_log_path)
  848. }
  849. #endif
  850. inline void velodyneManagerParams::set_fence_log_path(const char* value) {
  851. GOOGLE_DCHECK(value != NULL);
  852. set_has_fence_log_path();
  853. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  854. // @@protoc_insertion_point(field_set_char:velodyne.velodyneManagerParams.fence_log_path)
  855. }
  856. inline void velodyneManagerParams::set_fence_log_path(const char* value, size_t size) {
  857. set_has_fence_log_path();
  858. fence_log_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  859. ::std::string(reinterpret_cast<const char*>(value), size));
  860. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneManagerParams.fence_log_path)
  861. }
  862. inline ::std::string* velodyneManagerParams::mutable_fence_log_path() {
  863. set_has_fence_log_path();
  864. // @@protoc_insertion_point(field_mutable:velodyne.velodyneManagerParams.fence_log_path)
  865. return fence_log_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  866. }
  867. inline ::std::string* velodyneManagerParams::release_fence_log_path() {
  868. // @@protoc_insertion_point(field_release:velodyne.velodyneManagerParams.fence_log_path)
  869. clear_has_fence_log_path();
  870. return fence_log_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  871. }
  872. inline void velodyneManagerParams::set_allocated_fence_log_path(::std::string* fence_log_path) {
  873. if (fence_log_path != NULL) {
  874. set_has_fence_log_path();
  875. } else {
  876. clear_has_fence_log_path();
  877. }
  878. fence_log_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fence_log_path);
  879. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneManagerParams.fence_log_path)
  880. }
  881. // -------------------------------------------------------------------
  882. // velodyneLidarParams
  883. // required string ip = 1 [default = ""];
  884. inline bool velodyneLidarParams::has_ip() const {
  885. return (_has_bits_[0] & 0x00000001u) != 0;
  886. }
  887. inline void velodyneLidarParams::set_has_ip() {
  888. _has_bits_[0] |= 0x00000001u;
  889. }
  890. inline void velodyneLidarParams::clear_has_ip() {
  891. _has_bits_[0] &= ~0x00000001u;
  892. }
  893. inline void velodyneLidarParams::clear_ip() {
  894. ip_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  895. clear_has_ip();
  896. }
  897. inline const ::std::string& velodyneLidarParams::ip() const {
  898. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.ip)
  899. return ip_.GetNoArena();
  900. }
  901. inline void velodyneLidarParams::set_ip(const ::std::string& value) {
  902. set_has_ip();
  903. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  904. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.ip)
  905. }
  906. #if LANG_CXX11
  907. inline void velodyneLidarParams::set_ip(::std::string&& value) {
  908. set_has_ip();
  909. ip_.SetNoArena(
  910. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  911. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.ip)
  912. }
  913. #endif
  914. inline void velodyneLidarParams::set_ip(const char* value) {
  915. GOOGLE_DCHECK(value != NULL);
  916. set_has_ip();
  917. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  918. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.ip)
  919. }
  920. inline void velodyneLidarParams::set_ip(const char* value, size_t size) {
  921. set_has_ip();
  922. ip_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  923. ::std::string(reinterpret_cast<const char*>(value), size));
  924. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.ip)
  925. }
  926. inline ::std::string* velodyneLidarParams::mutable_ip() {
  927. set_has_ip();
  928. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.ip)
  929. return ip_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  930. }
  931. inline ::std::string* velodyneLidarParams::release_ip() {
  932. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.ip)
  933. clear_has_ip();
  934. return ip_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  935. }
  936. inline void velodyneLidarParams::set_allocated_ip(::std::string* ip) {
  937. if (ip != NULL) {
  938. set_has_ip();
  939. } else {
  940. clear_has_ip();
  941. }
  942. ip_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ip);
  943. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.ip)
  944. }
  945. // required int32 port = 2 [default = 2368];
  946. inline bool velodyneLidarParams::has_port() const {
  947. return (_has_bits_[0] & 0x00000040u) != 0;
  948. }
  949. inline void velodyneLidarParams::set_has_port() {
  950. _has_bits_[0] |= 0x00000040u;
  951. }
  952. inline void velodyneLidarParams::clear_has_port() {
  953. _has_bits_[0] &= ~0x00000040u;
  954. }
  955. inline void velodyneLidarParams::clear_port() {
  956. port_ = 2368;
  957. clear_has_port();
  958. }
  959. inline ::google::protobuf::int32 velodyneLidarParams::port() const {
  960. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.port)
  961. return port_;
  962. }
  963. inline void velodyneLidarParams::set_port(::google::protobuf::int32 value) {
  964. set_has_port();
  965. port_ = value;
  966. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.port)
  967. }
  968. // required string model = 3 [default = "VLP16"];
  969. inline bool velodyneLidarParams::has_model() const {
  970. return (_has_bits_[0] & 0x00000002u) != 0;
  971. }
  972. inline void velodyneLidarParams::set_has_model() {
  973. _has_bits_[0] |= 0x00000002u;
  974. }
  975. inline void velodyneLidarParams::clear_has_model() {
  976. _has_bits_[0] &= ~0x00000002u;
  977. }
  978. inline void velodyneLidarParams::clear_model() {
  979. model_.ClearToDefaultNoArena(&::velodyne::velodyneLidarParams::_default_model_.get());
  980. clear_has_model();
  981. }
  982. inline const ::std::string& velodyneLidarParams::model() const {
  983. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.model)
  984. return model_.GetNoArena();
  985. }
  986. inline void velodyneLidarParams::set_model(const ::std::string& value) {
  987. set_has_model();
  988. model_.SetNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(), value);
  989. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.model)
  990. }
  991. #if LANG_CXX11
  992. inline void velodyneLidarParams::set_model(::std::string&& value) {
  993. set_has_model();
  994. model_.SetNoArena(
  995. &::velodyne::velodyneLidarParams::_default_model_.get(), ::std::move(value));
  996. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.model)
  997. }
  998. #endif
  999. inline void velodyneLidarParams::set_model(const char* value) {
  1000. GOOGLE_DCHECK(value != NULL);
  1001. set_has_model();
  1002. model_.SetNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(), ::std::string(value));
  1003. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.model)
  1004. }
  1005. inline void velodyneLidarParams::set_model(const char* value, size_t size) {
  1006. set_has_model();
  1007. model_.SetNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(),
  1008. ::std::string(reinterpret_cast<const char*>(value), size));
  1009. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.model)
  1010. }
  1011. inline ::std::string* velodyneLidarParams::mutable_model() {
  1012. set_has_model();
  1013. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.model)
  1014. return model_.MutableNoArena(&::velodyne::velodyneLidarParams::_default_model_.get());
  1015. }
  1016. inline ::std::string* velodyneLidarParams::release_model() {
  1017. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.model)
  1018. clear_has_model();
  1019. return model_.ReleaseNoArena(&::velodyne::velodyneLidarParams::_default_model_.get());
  1020. }
  1021. inline void velodyneLidarParams::set_allocated_model(::std::string* model) {
  1022. if (model != NULL) {
  1023. set_has_model();
  1024. } else {
  1025. clear_has_model();
  1026. }
  1027. model_.SetAllocatedNoArena(&::velodyne::velodyneLidarParams::_default_model_.get(), model);
  1028. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.model)
  1029. }
  1030. // required string calibrationFile = 4 [default = ""];
  1031. inline bool velodyneLidarParams::has_calibrationfile() const {
  1032. return (_has_bits_[0] & 0x00000004u) != 0;
  1033. }
  1034. inline void velodyneLidarParams::set_has_calibrationfile() {
  1035. _has_bits_[0] |= 0x00000004u;
  1036. }
  1037. inline void velodyneLidarParams::clear_has_calibrationfile() {
  1038. _has_bits_[0] &= ~0x00000004u;
  1039. }
  1040. inline void velodyneLidarParams::clear_calibrationfile() {
  1041. calibrationfile_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1042. clear_has_calibrationfile();
  1043. }
  1044. inline const ::std::string& velodyneLidarParams::calibrationfile() const {
  1045. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calibrationFile)
  1046. return calibrationfile_.GetNoArena();
  1047. }
  1048. inline void velodyneLidarParams::set_calibrationfile(const ::std::string& value) {
  1049. set_has_calibrationfile();
  1050. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1051. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.calibrationFile)
  1052. }
  1053. #if LANG_CXX11
  1054. inline void velodyneLidarParams::set_calibrationfile(::std::string&& value) {
  1055. set_has_calibrationfile();
  1056. calibrationfile_.SetNoArena(
  1057. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1058. // @@protoc_insertion_point(field_set_rvalue:velodyne.velodyneLidarParams.calibrationFile)
  1059. }
  1060. #endif
  1061. inline void velodyneLidarParams::set_calibrationfile(const char* value) {
  1062. GOOGLE_DCHECK(value != NULL);
  1063. set_has_calibrationfile();
  1064. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1065. // @@protoc_insertion_point(field_set_char:velodyne.velodyneLidarParams.calibrationFile)
  1066. }
  1067. inline void velodyneLidarParams::set_calibrationfile(const char* value, size_t size) {
  1068. set_has_calibrationfile();
  1069. calibrationfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1070. ::std::string(reinterpret_cast<const char*>(value), size));
  1071. // @@protoc_insertion_point(field_set_pointer:velodyne.velodyneLidarParams.calibrationFile)
  1072. }
  1073. inline ::std::string* velodyneLidarParams::mutable_calibrationfile() {
  1074. set_has_calibrationfile();
  1075. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calibrationFile)
  1076. return calibrationfile_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1077. }
  1078. inline ::std::string* velodyneLidarParams::release_calibrationfile() {
  1079. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calibrationFile)
  1080. clear_has_calibrationfile();
  1081. return calibrationfile_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1082. }
  1083. inline void velodyneLidarParams::set_allocated_calibrationfile(::std::string* calibrationfile) {
  1084. if (calibrationfile != NULL) {
  1085. set_has_calibrationfile();
  1086. } else {
  1087. clear_has_calibrationfile();
  1088. }
  1089. calibrationfile_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), calibrationfile);
  1090. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calibrationFile)
  1091. }
  1092. // optional float max_range = 5 [default = 10];
  1093. inline bool velodyneLidarParams::has_max_range() const {
  1094. return (_has_bits_[0] & 0x00000080u) != 0;
  1095. }
  1096. inline void velodyneLidarParams::set_has_max_range() {
  1097. _has_bits_[0] |= 0x00000080u;
  1098. }
  1099. inline void velodyneLidarParams::clear_has_max_range() {
  1100. _has_bits_[0] &= ~0x00000080u;
  1101. }
  1102. inline void velodyneLidarParams::clear_max_range() {
  1103. max_range_ = 10;
  1104. clear_has_max_range();
  1105. }
  1106. inline float velodyneLidarParams::max_range() const {
  1107. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_range)
  1108. return max_range_;
  1109. }
  1110. inline void velodyneLidarParams::set_max_range(float value) {
  1111. set_has_max_range();
  1112. max_range_ = value;
  1113. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_range)
  1114. }
  1115. // optional float min_range = 6 [default = 0.15];
  1116. inline bool velodyneLidarParams::has_min_range() const {
  1117. return (_has_bits_[0] & 0x00000100u) != 0;
  1118. }
  1119. inline void velodyneLidarParams::set_has_min_range() {
  1120. _has_bits_[0] |= 0x00000100u;
  1121. }
  1122. inline void velodyneLidarParams::clear_has_min_range() {
  1123. _has_bits_[0] &= ~0x00000100u;
  1124. }
  1125. inline void velodyneLidarParams::clear_min_range() {
  1126. min_range_ = 0.15f;
  1127. clear_has_min_range();
  1128. }
  1129. inline float velodyneLidarParams::min_range() const {
  1130. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_range)
  1131. return min_range_;
  1132. }
  1133. inline void velodyneLidarParams::set_min_range(float value) {
  1134. set_has_min_range();
  1135. min_range_ = value;
  1136. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_range)
  1137. }
  1138. // optional int32 min_angle = 7 [default = 0];
  1139. inline bool velodyneLidarParams::has_min_angle() const {
  1140. return (_has_bits_[0] & 0x00000010u) != 0;
  1141. }
  1142. inline void velodyneLidarParams::set_has_min_angle() {
  1143. _has_bits_[0] |= 0x00000010u;
  1144. }
  1145. inline void velodyneLidarParams::clear_has_min_angle() {
  1146. _has_bits_[0] &= ~0x00000010u;
  1147. }
  1148. inline void velodyneLidarParams::clear_min_angle() {
  1149. min_angle_ = 0;
  1150. clear_has_min_angle();
  1151. }
  1152. inline ::google::protobuf::int32 velodyneLidarParams::min_angle() const {
  1153. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.min_angle)
  1154. return min_angle_;
  1155. }
  1156. inline void velodyneLidarParams::set_min_angle(::google::protobuf::int32 value) {
  1157. set_has_min_angle();
  1158. min_angle_ = value;
  1159. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.min_angle)
  1160. }
  1161. // optional int32 max_angle = 8 [default = 360];
  1162. inline bool velodyneLidarParams::has_max_angle() const {
  1163. return (_has_bits_[0] & 0x00000200u) != 0;
  1164. }
  1165. inline void velodyneLidarParams::set_has_max_angle() {
  1166. _has_bits_[0] |= 0x00000200u;
  1167. }
  1168. inline void velodyneLidarParams::clear_has_max_angle() {
  1169. _has_bits_[0] &= ~0x00000200u;
  1170. }
  1171. inline void velodyneLidarParams::clear_max_angle() {
  1172. max_angle_ = 360;
  1173. clear_has_max_angle();
  1174. }
  1175. inline ::google::protobuf::int32 velodyneLidarParams::max_angle() const {
  1176. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.max_angle)
  1177. return max_angle_;
  1178. }
  1179. inline void velodyneLidarParams::set_max_angle(::google::protobuf::int32 value) {
  1180. set_has_max_angle();
  1181. max_angle_ = value;
  1182. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.max_angle)
  1183. }
  1184. // optional int32 rpm = 9 [default = 600];
  1185. inline bool velodyneLidarParams::has_rpm() const {
  1186. return (_has_bits_[0] & 0x00000020u) != 0;
  1187. }
  1188. inline void velodyneLidarParams::set_has_rpm() {
  1189. _has_bits_[0] |= 0x00000020u;
  1190. }
  1191. inline void velodyneLidarParams::clear_has_rpm() {
  1192. _has_bits_[0] &= ~0x00000020u;
  1193. }
  1194. inline void velodyneLidarParams::clear_rpm() {
  1195. rpm_ = 600;
  1196. clear_has_rpm();
  1197. }
  1198. inline ::google::protobuf::int32 velodyneLidarParams::rpm() const {
  1199. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.rpm)
  1200. return rpm_;
  1201. }
  1202. inline void velodyneLidarParams::set_rpm(::google::protobuf::int32 value) {
  1203. set_has_rpm();
  1204. rpm_ = value;
  1205. // @@protoc_insertion_point(field_set:velodyne.velodyneLidarParams.rpm)
  1206. }
  1207. // optional .velodyne.Calib_parameter calib = 10;
  1208. inline bool velodyneLidarParams::has_calib() const {
  1209. return (_has_bits_[0] & 0x00000008u) != 0;
  1210. }
  1211. inline void velodyneLidarParams::set_has_calib() {
  1212. _has_bits_[0] |= 0x00000008u;
  1213. }
  1214. inline void velodyneLidarParams::clear_has_calib() {
  1215. _has_bits_[0] &= ~0x00000008u;
  1216. }
  1217. inline void velodyneLidarParams::clear_calib() {
  1218. if (calib_ != NULL) calib_->Clear();
  1219. clear_has_calib();
  1220. }
  1221. inline const ::velodyne::Calib_parameter& velodyneLidarParams::calib() const {
  1222. const ::velodyne::Calib_parameter* p = calib_;
  1223. // @@protoc_insertion_point(field_get:velodyne.velodyneLidarParams.calib)
  1224. return p != NULL ? *p : *reinterpret_cast<const ::velodyne::Calib_parameter*>(
  1225. &::velodyne::_Calib_parameter_default_instance_);
  1226. }
  1227. inline ::velodyne::Calib_parameter* velodyneLidarParams::release_calib() {
  1228. // @@protoc_insertion_point(field_release:velodyne.velodyneLidarParams.calib)
  1229. clear_has_calib();
  1230. ::velodyne::Calib_parameter* temp = calib_;
  1231. calib_ = NULL;
  1232. return temp;
  1233. }
  1234. inline ::velodyne::Calib_parameter* velodyneLidarParams::mutable_calib() {
  1235. set_has_calib();
  1236. if (calib_ == NULL) {
  1237. calib_ = new ::velodyne::Calib_parameter;
  1238. }
  1239. // @@protoc_insertion_point(field_mutable:velodyne.velodyneLidarParams.calib)
  1240. return calib_;
  1241. }
  1242. inline void velodyneLidarParams::set_allocated_calib(::velodyne::Calib_parameter* calib) {
  1243. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1244. if (message_arena == NULL) {
  1245. delete calib_;
  1246. }
  1247. if (calib) {
  1248. ::google::protobuf::Arena* submessage_arena = NULL;
  1249. if (message_arena != submessage_arena) {
  1250. calib = ::google::protobuf::internal::GetOwnedMessage(
  1251. message_arena, calib, submessage_arena);
  1252. }
  1253. set_has_calib();
  1254. } else {
  1255. clear_has_calib();
  1256. }
  1257. calib_ = calib;
  1258. // @@protoc_insertion_point(field_set_allocated:velodyne.velodyneLidarParams.calib)
  1259. }
  1260. // -------------------------------------------------------------------
  1261. // Region
  1262. // required float minx = 1;
  1263. inline bool Region::has_minx() const {
  1264. return (_has_bits_[0] & 0x00000001u) != 0;
  1265. }
  1266. inline void Region::set_has_minx() {
  1267. _has_bits_[0] |= 0x00000001u;
  1268. }
  1269. inline void Region::clear_has_minx() {
  1270. _has_bits_[0] &= ~0x00000001u;
  1271. }
  1272. inline void Region::clear_minx() {
  1273. minx_ = 0;
  1274. clear_has_minx();
  1275. }
  1276. inline float Region::minx() const {
  1277. // @@protoc_insertion_point(field_get:velodyne.Region.minx)
  1278. return minx_;
  1279. }
  1280. inline void Region::set_minx(float value) {
  1281. set_has_minx();
  1282. minx_ = value;
  1283. // @@protoc_insertion_point(field_set:velodyne.Region.minx)
  1284. }
  1285. // required float maxx = 2;
  1286. inline bool Region::has_maxx() const {
  1287. return (_has_bits_[0] & 0x00000002u) != 0;
  1288. }
  1289. inline void Region::set_has_maxx() {
  1290. _has_bits_[0] |= 0x00000002u;
  1291. }
  1292. inline void Region::clear_has_maxx() {
  1293. _has_bits_[0] &= ~0x00000002u;
  1294. }
  1295. inline void Region::clear_maxx() {
  1296. maxx_ = 0;
  1297. clear_has_maxx();
  1298. }
  1299. inline float Region::maxx() const {
  1300. // @@protoc_insertion_point(field_get:velodyne.Region.maxx)
  1301. return maxx_;
  1302. }
  1303. inline void Region::set_maxx(float value) {
  1304. set_has_maxx();
  1305. maxx_ = value;
  1306. // @@protoc_insertion_point(field_set:velodyne.Region.maxx)
  1307. }
  1308. // required float miny = 3;
  1309. inline bool Region::has_miny() const {
  1310. return (_has_bits_[0] & 0x00000004u) != 0;
  1311. }
  1312. inline void Region::set_has_miny() {
  1313. _has_bits_[0] |= 0x00000004u;
  1314. }
  1315. inline void Region::clear_has_miny() {
  1316. _has_bits_[0] &= ~0x00000004u;
  1317. }
  1318. inline void Region::clear_miny() {
  1319. miny_ = 0;
  1320. clear_has_miny();
  1321. }
  1322. inline float Region::miny() const {
  1323. // @@protoc_insertion_point(field_get:velodyne.Region.miny)
  1324. return miny_;
  1325. }
  1326. inline void Region::set_miny(float value) {
  1327. set_has_miny();
  1328. miny_ = value;
  1329. // @@protoc_insertion_point(field_set:velodyne.Region.miny)
  1330. }
  1331. // required float maxy = 4;
  1332. inline bool Region::has_maxy() const {
  1333. return (_has_bits_[0] & 0x00000008u) != 0;
  1334. }
  1335. inline void Region::set_has_maxy() {
  1336. _has_bits_[0] |= 0x00000008u;
  1337. }
  1338. inline void Region::clear_has_maxy() {
  1339. _has_bits_[0] &= ~0x00000008u;
  1340. }
  1341. inline void Region::clear_maxy() {
  1342. maxy_ = 0;
  1343. clear_has_maxy();
  1344. }
  1345. inline float Region::maxy() const {
  1346. // @@protoc_insertion_point(field_get:velodyne.Region.maxy)
  1347. return maxy_;
  1348. }
  1349. inline void Region::set_maxy(float value) {
  1350. set_has_maxy();
  1351. maxy_ = value;
  1352. // @@protoc_insertion_point(field_set:velodyne.Region.maxy)
  1353. }
  1354. // required float minz = 5;
  1355. inline bool Region::has_minz() const {
  1356. return (_has_bits_[0] & 0x00000010u) != 0;
  1357. }
  1358. inline void Region::set_has_minz() {
  1359. _has_bits_[0] |= 0x00000010u;
  1360. }
  1361. inline void Region::clear_has_minz() {
  1362. _has_bits_[0] &= ~0x00000010u;
  1363. }
  1364. inline void Region::clear_minz() {
  1365. minz_ = 0;
  1366. clear_has_minz();
  1367. }
  1368. inline float Region::minz() const {
  1369. // @@protoc_insertion_point(field_get:velodyne.Region.minz)
  1370. return minz_;
  1371. }
  1372. inline void Region::set_minz(float value) {
  1373. set_has_minz();
  1374. minz_ = value;
  1375. // @@protoc_insertion_point(field_set:velodyne.Region.minz)
  1376. }
  1377. // required float maxz = 6;
  1378. inline bool Region::has_maxz() const {
  1379. return (_has_bits_[0] & 0x00000020u) != 0;
  1380. }
  1381. inline void Region::set_has_maxz() {
  1382. _has_bits_[0] |= 0x00000020u;
  1383. }
  1384. inline void Region::clear_has_maxz() {
  1385. _has_bits_[0] &= ~0x00000020u;
  1386. }
  1387. inline void Region::clear_maxz() {
  1388. maxz_ = 0;
  1389. clear_has_maxz();
  1390. }
  1391. inline float Region::maxz() const {
  1392. // @@protoc_insertion_point(field_get:velodyne.Region.maxz)
  1393. return maxz_;
  1394. }
  1395. inline void Region::set_maxz(float value) {
  1396. set_has_maxz();
  1397. maxz_ = value;
  1398. // @@protoc_insertion_point(field_set:velodyne.Region.maxz)
  1399. }
  1400. // -------------------------------------------------------------------
  1401. // Calib_parameter
  1402. // optional float r = 1 [default = 0];
  1403. inline bool Calib_parameter::has_r() const {
  1404. return (_has_bits_[0] & 0x00000001u) != 0;
  1405. }
  1406. inline void Calib_parameter::set_has_r() {
  1407. _has_bits_[0] |= 0x00000001u;
  1408. }
  1409. inline void Calib_parameter::clear_has_r() {
  1410. _has_bits_[0] &= ~0x00000001u;
  1411. }
  1412. inline void Calib_parameter::clear_r() {
  1413. r_ = 0;
  1414. clear_has_r();
  1415. }
  1416. inline float Calib_parameter::r() const {
  1417. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.r)
  1418. return r_;
  1419. }
  1420. inline void Calib_parameter::set_r(float value) {
  1421. set_has_r();
  1422. r_ = value;
  1423. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.r)
  1424. }
  1425. // optional float p = 2 [default = 0];
  1426. inline bool Calib_parameter::has_p() const {
  1427. return (_has_bits_[0] & 0x00000002u) != 0;
  1428. }
  1429. inline void Calib_parameter::set_has_p() {
  1430. _has_bits_[0] |= 0x00000002u;
  1431. }
  1432. inline void Calib_parameter::clear_has_p() {
  1433. _has_bits_[0] &= ~0x00000002u;
  1434. }
  1435. inline void Calib_parameter::clear_p() {
  1436. p_ = 0;
  1437. clear_has_p();
  1438. }
  1439. inline float Calib_parameter::p() const {
  1440. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.p)
  1441. return p_;
  1442. }
  1443. inline void Calib_parameter::set_p(float value) {
  1444. set_has_p();
  1445. p_ = value;
  1446. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.p)
  1447. }
  1448. // optional float y = 3 [default = 0];
  1449. inline bool Calib_parameter::has_y() const {
  1450. return (_has_bits_[0] & 0x00000004u) != 0;
  1451. }
  1452. inline void Calib_parameter::set_has_y() {
  1453. _has_bits_[0] |= 0x00000004u;
  1454. }
  1455. inline void Calib_parameter::clear_has_y() {
  1456. _has_bits_[0] &= ~0x00000004u;
  1457. }
  1458. inline void Calib_parameter::clear_y() {
  1459. y_ = 0;
  1460. clear_has_y();
  1461. }
  1462. inline float Calib_parameter::y() const {
  1463. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.y)
  1464. return y_;
  1465. }
  1466. inline void Calib_parameter::set_y(float value) {
  1467. set_has_y();
  1468. y_ = value;
  1469. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.y)
  1470. }
  1471. // optional float cx = 4 [default = 0];
  1472. inline bool Calib_parameter::has_cx() const {
  1473. return (_has_bits_[0] & 0x00000008u) != 0;
  1474. }
  1475. inline void Calib_parameter::set_has_cx() {
  1476. _has_bits_[0] |= 0x00000008u;
  1477. }
  1478. inline void Calib_parameter::clear_has_cx() {
  1479. _has_bits_[0] &= ~0x00000008u;
  1480. }
  1481. inline void Calib_parameter::clear_cx() {
  1482. cx_ = 0;
  1483. clear_has_cx();
  1484. }
  1485. inline float Calib_parameter::cx() const {
  1486. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.cx)
  1487. return cx_;
  1488. }
  1489. inline void Calib_parameter::set_cx(float value) {
  1490. set_has_cx();
  1491. cx_ = value;
  1492. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.cx)
  1493. }
  1494. // optional float cy = 5 [default = 0];
  1495. inline bool Calib_parameter::has_cy() const {
  1496. return (_has_bits_[0] & 0x00000010u) != 0;
  1497. }
  1498. inline void Calib_parameter::set_has_cy() {
  1499. _has_bits_[0] |= 0x00000010u;
  1500. }
  1501. inline void Calib_parameter::clear_has_cy() {
  1502. _has_bits_[0] &= ~0x00000010u;
  1503. }
  1504. inline void Calib_parameter::clear_cy() {
  1505. cy_ = 0;
  1506. clear_has_cy();
  1507. }
  1508. inline float Calib_parameter::cy() const {
  1509. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.cy)
  1510. return cy_;
  1511. }
  1512. inline void Calib_parameter::set_cy(float value) {
  1513. set_has_cy();
  1514. cy_ = value;
  1515. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.cy)
  1516. }
  1517. // optional float cz = 6 [default = 0];
  1518. inline bool Calib_parameter::has_cz() const {
  1519. return (_has_bits_[0] & 0x00000020u) != 0;
  1520. }
  1521. inline void Calib_parameter::set_has_cz() {
  1522. _has_bits_[0] |= 0x00000020u;
  1523. }
  1524. inline void Calib_parameter::clear_has_cz() {
  1525. _has_bits_[0] &= ~0x00000020u;
  1526. }
  1527. inline void Calib_parameter::clear_cz() {
  1528. cz_ = 0;
  1529. clear_has_cz();
  1530. }
  1531. inline float Calib_parameter::cz() const {
  1532. // @@protoc_insertion_point(field_get:velodyne.Calib_parameter.cz)
  1533. return cz_;
  1534. }
  1535. inline void Calib_parameter::set_cz(float value) {
  1536. set_has_cz();
  1537. cz_ = value;
  1538. // @@protoc_insertion_point(field_set:velodyne.Calib_parameter.cz)
  1539. }
  1540. #ifdef __GNUC__
  1541. #pragma GCC diagnostic pop
  1542. #endif // __GNUC__
  1543. // -------------------------------------------------------------------
  1544. // -------------------------------------------------------------------
  1545. // -------------------------------------------------------------------
  1546. // @@protoc_insertion_point(namespace_scope)
  1547. } // namespace velodyne
  1548. // @@protoc_insertion_point(global_scope)
  1549. #endif // PROTOBUF_velodyne_5fconfig_2eproto__INCLUDED