ros_message.pb.h 45 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: ros_message.proto
  3. #ifndef PROTOBUF_ros_5fmessage_2eproto__INCLUDED
  4. #define PROTOBUF_ros_5fmessage_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. #include "message_base.pb.h"
  28. // @@protoc_insertion_point(includes)
  29. namespace protobuf_ros_5fmessage_2eproto {
  30. // Internal implementation detail -- do not use these members.
  31. struct TableStruct {
  32. static const ::google::protobuf::internal::ParseTableField entries[];
  33. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  34. static const ::google::protobuf::internal::ParseTable schema[4];
  35. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  36. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  37. static const ::google::protobuf::uint32 offsets[];
  38. };
  39. void AddDescriptors();
  40. void InitDefaultsPointXYZImpl();
  41. void InitDefaultsPointXYZ();
  42. void InitDefaultsPointCloud_msgImpl();
  43. void InitDefaultsPointCloud_msg();
  44. void InitDefaultsPose2d_msgImpl();
  45. void InitDefaultsPose2d_msg();
  46. void InitDefaultsGoal_msgImpl();
  47. void InitDefaultsGoal_msg();
  48. inline void InitDefaults() {
  49. InitDefaultsPointXYZ();
  50. InitDefaultsPointCloud_msg();
  51. InitDefaultsPose2d_msg();
  52. InitDefaultsGoal_msg();
  53. }
  54. } // namespace protobuf_ros_5fmessage_2eproto
  55. namespace message {
  56. class Goal_msg;
  57. class Goal_msgDefaultTypeInternal;
  58. extern Goal_msgDefaultTypeInternal _Goal_msg_default_instance_;
  59. class PointCloud_msg;
  60. class PointCloud_msgDefaultTypeInternal;
  61. extern PointCloud_msgDefaultTypeInternal _PointCloud_msg_default_instance_;
  62. class PointXYZ;
  63. class PointXYZDefaultTypeInternal;
  64. extern PointXYZDefaultTypeInternal _PointXYZ_default_instance_;
  65. class Pose2d_msg;
  66. class Pose2d_msgDefaultTypeInternal;
  67. extern Pose2d_msgDefaultTypeInternal _Pose2d_msg_default_instance_;
  68. } // namespace message
  69. namespace message {
  70. // ===================================================================
  71. class PointXYZ : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.PointXYZ) */ {
  72. public:
  73. PointXYZ();
  74. virtual ~PointXYZ();
  75. PointXYZ(const PointXYZ& from);
  76. inline PointXYZ& operator=(const PointXYZ& from) {
  77. CopyFrom(from);
  78. return *this;
  79. }
  80. #if LANG_CXX11
  81. PointXYZ(PointXYZ&& from) noexcept
  82. : PointXYZ() {
  83. *this = ::std::move(from);
  84. }
  85. inline PointXYZ& operator=(PointXYZ&& from) noexcept {
  86. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  87. if (this != &from) InternalSwap(&from);
  88. } else {
  89. CopyFrom(from);
  90. }
  91. return *this;
  92. }
  93. #endif
  94. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  95. return _internal_metadata_.unknown_fields();
  96. }
  97. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  98. return _internal_metadata_.mutable_unknown_fields();
  99. }
  100. static const ::google::protobuf::Descriptor* descriptor();
  101. static const PointXYZ& default_instance();
  102. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  103. static inline const PointXYZ* internal_default_instance() {
  104. return reinterpret_cast<const PointXYZ*>(
  105. &_PointXYZ_default_instance_);
  106. }
  107. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  108. 0;
  109. void Swap(PointXYZ* other);
  110. friend void swap(PointXYZ& a, PointXYZ& b) {
  111. a.Swap(&b);
  112. }
  113. // implements Message ----------------------------------------------
  114. inline PointXYZ* New() const PROTOBUF_FINAL { return New(NULL); }
  115. PointXYZ* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  116. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  117. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  118. void CopyFrom(const PointXYZ& from);
  119. void MergeFrom(const PointXYZ& from);
  120. void Clear() PROTOBUF_FINAL;
  121. bool IsInitialized() const PROTOBUF_FINAL;
  122. size_t ByteSizeLong() const PROTOBUF_FINAL;
  123. bool MergePartialFromCodedStream(
  124. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  125. void SerializeWithCachedSizes(
  126. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  127. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  128. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  129. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  130. private:
  131. void SharedCtor();
  132. void SharedDtor();
  133. void SetCachedSize(int size) const PROTOBUF_FINAL;
  134. void InternalSwap(PointXYZ* other);
  135. private:
  136. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  137. return NULL;
  138. }
  139. inline void* MaybeArenaPtr() const {
  140. return NULL;
  141. }
  142. public:
  143. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  144. // nested types ----------------------------------------------------
  145. // accessors -------------------------------------------------------
  146. // optional float x = 1 [default = 0];
  147. bool has_x() const;
  148. void clear_x();
  149. static const int kXFieldNumber = 1;
  150. float x() const;
  151. void set_x(float value);
  152. // optional float y = 2 [default = 0];
  153. bool has_y() const;
  154. void clear_y();
  155. static const int kYFieldNumber = 2;
  156. float y() const;
  157. void set_y(float value);
  158. // optional float z = 3 [default = 0];
  159. bool has_z() const;
  160. void clear_z();
  161. static const int kZFieldNumber = 3;
  162. float z() const;
  163. void set_z(float value);
  164. // @@protoc_insertion_point(class_scope:message.PointXYZ)
  165. private:
  166. void set_has_x();
  167. void clear_has_x();
  168. void set_has_y();
  169. void clear_has_y();
  170. void set_has_z();
  171. void clear_has_z();
  172. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  173. ::google::protobuf::internal::HasBits<1> _has_bits_;
  174. mutable int _cached_size_;
  175. float x_;
  176. float y_;
  177. float z_;
  178. friend struct ::protobuf_ros_5fmessage_2eproto::TableStruct;
  179. friend void ::protobuf_ros_5fmessage_2eproto::InitDefaultsPointXYZImpl();
  180. };
  181. // -------------------------------------------------------------------
  182. class PointCloud_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.PointCloud_msg) */ {
  183. public:
  184. PointCloud_msg();
  185. virtual ~PointCloud_msg();
  186. PointCloud_msg(const PointCloud_msg& from);
  187. inline PointCloud_msg& operator=(const PointCloud_msg& from) {
  188. CopyFrom(from);
  189. return *this;
  190. }
  191. #if LANG_CXX11
  192. PointCloud_msg(PointCloud_msg&& from) noexcept
  193. : PointCloud_msg() {
  194. *this = ::std::move(from);
  195. }
  196. inline PointCloud_msg& operator=(PointCloud_msg&& from) noexcept {
  197. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  198. if (this != &from) InternalSwap(&from);
  199. } else {
  200. CopyFrom(from);
  201. }
  202. return *this;
  203. }
  204. #endif
  205. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  206. return _internal_metadata_.unknown_fields();
  207. }
  208. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  209. return _internal_metadata_.mutable_unknown_fields();
  210. }
  211. static const ::google::protobuf::Descriptor* descriptor();
  212. static const PointCloud_msg& default_instance();
  213. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  214. static inline const PointCloud_msg* internal_default_instance() {
  215. return reinterpret_cast<const PointCloud_msg*>(
  216. &_PointCloud_msg_default_instance_);
  217. }
  218. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  219. 1;
  220. void Swap(PointCloud_msg* other);
  221. friend void swap(PointCloud_msg& a, PointCloud_msg& b) {
  222. a.Swap(&b);
  223. }
  224. // implements Message ----------------------------------------------
  225. inline PointCloud_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  226. PointCloud_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  227. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  228. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  229. void CopyFrom(const PointCloud_msg& from);
  230. void MergeFrom(const PointCloud_msg& from);
  231. void Clear() PROTOBUF_FINAL;
  232. bool IsInitialized() const PROTOBUF_FINAL;
  233. size_t ByteSizeLong() const PROTOBUF_FINAL;
  234. bool MergePartialFromCodedStream(
  235. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  236. void SerializeWithCachedSizes(
  237. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  238. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  239. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  240. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  241. private:
  242. void SharedCtor();
  243. void SharedDtor();
  244. void SetCachedSize(int size) const PROTOBUF_FINAL;
  245. void InternalSwap(PointCloud_msg* other);
  246. private:
  247. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  248. return NULL;
  249. }
  250. inline void* MaybeArenaPtr() const {
  251. return NULL;
  252. }
  253. public:
  254. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  255. // nested types ----------------------------------------------------
  256. // accessors -------------------------------------------------------
  257. // repeated .message.PointXYZ points = 4;
  258. int points_size() const;
  259. void clear_points();
  260. static const int kPointsFieldNumber = 4;
  261. const ::message::PointXYZ& points(int index) const;
  262. ::message::PointXYZ* mutable_points(int index);
  263. ::message::PointXYZ* add_points();
  264. ::google::protobuf::RepeatedPtrField< ::message::PointXYZ >*
  265. mutable_points();
  266. const ::google::protobuf::RepeatedPtrField< ::message::PointXYZ >&
  267. points() const;
  268. // required string frame_id = 2;
  269. bool has_frame_id() const;
  270. void clear_frame_id();
  271. static const int kFrameIdFieldNumber = 2;
  272. const ::std::string& frame_id() const;
  273. void set_frame_id(const ::std::string& value);
  274. #if LANG_CXX11
  275. void set_frame_id(::std::string&& value);
  276. #endif
  277. void set_frame_id(const char* value);
  278. void set_frame_id(const char* value, size_t size);
  279. ::std::string* mutable_frame_id();
  280. ::std::string* release_frame_id();
  281. void set_allocated_frame_id(::std::string* frame_id);
  282. // required string topic = 3;
  283. bool has_topic() const;
  284. void clear_topic();
  285. static const int kTopicFieldNumber = 3;
  286. const ::std::string& topic() const;
  287. void set_topic(const ::std::string& value);
  288. #if LANG_CXX11
  289. void set_topic(::std::string&& value);
  290. #endif
  291. void set_topic(const char* value);
  292. void set_topic(const char* value, size_t size);
  293. ::std::string* mutable_topic();
  294. ::std::string* release_topic();
  295. void set_allocated_topic(::std::string* topic);
  296. // required .message.Base_info base_info = 1;
  297. bool has_base_info() const;
  298. void clear_base_info();
  299. static const int kBaseInfoFieldNumber = 1;
  300. const ::message::Base_info& base_info() const;
  301. ::message::Base_info* release_base_info();
  302. ::message::Base_info* mutable_base_info();
  303. void set_allocated_base_info(::message::Base_info* base_info);
  304. // @@protoc_insertion_point(class_scope:message.PointCloud_msg)
  305. private:
  306. void set_has_base_info();
  307. void clear_has_base_info();
  308. void set_has_frame_id();
  309. void clear_has_frame_id();
  310. void set_has_topic();
  311. void clear_has_topic();
  312. // helper for ByteSizeLong()
  313. size_t RequiredFieldsByteSizeFallback() const;
  314. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  315. ::google::protobuf::internal::HasBits<1> _has_bits_;
  316. mutable int _cached_size_;
  317. ::google::protobuf::RepeatedPtrField< ::message::PointXYZ > points_;
  318. ::google::protobuf::internal::ArenaStringPtr frame_id_;
  319. ::google::protobuf::internal::ArenaStringPtr topic_;
  320. ::message::Base_info* base_info_;
  321. friend struct ::protobuf_ros_5fmessage_2eproto::TableStruct;
  322. friend void ::protobuf_ros_5fmessage_2eproto::InitDefaultsPointCloud_msgImpl();
  323. };
  324. // -------------------------------------------------------------------
  325. class Pose2d_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Pose2d_msg) */ {
  326. public:
  327. Pose2d_msg();
  328. virtual ~Pose2d_msg();
  329. Pose2d_msg(const Pose2d_msg& from);
  330. inline Pose2d_msg& operator=(const Pose2d_msg& from) {
  331. CopyFrom(from);
  332. return *this;
  333. }
  334. #if LANG_CXX11
  335. Pose2d_msg(Pose2d_msg&& from) noexcept
  336. : Pose2d_msg() {
  337. *this = ::std::move(from);
  338. }
  339. inline Pose2d_msg& operator=(Pose2d_msg&& from) noexcept {
  340. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  341. if (this != &from) InternalSwap(&from);
  342. } else {
  343. CopyFrom(from);
  344. }
  345. return *this;
  346. }
  347. #endif
  348. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  349. return _internal_metadata_.unknown_fields();
  350. }
  351. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  352. return _internal_metadata_.mutable_unknown_fields();
  353. }
  354. static const ::google::protobuf::Descriptor* descriptor();
  355. static const Pose2d_msg& default_instance();
  356. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  357. static inline const Pose2d_msg* internal_default_instance() {
  358. return reinterpret_cast<const Pose2d_msg*>(
  359. &_Pose2d_msg_default_instance_);
  360. }
  361. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  362. 2;
  363. void Swap(Pose2d_msg* other);
  364. friend void swap(Pose2d_msg& a, Pose2d_msg& b) {
  365. a.Swap(&b);
  366. }
  367. // implements Message ----------------------------------------------
  368. inline Pose2d_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  369. Pose2d_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  370. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  371. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  372. void CopyFrom(const Pose2d_msg& from);
  373. void MergeFrom(const Pose2d_msg& from);
  374. void Clear() PROTOBUF_FINAL;
  375. bool IsInitialized() const PROTOBUF_FINAL;
  376. size_t ByteSizeLong() const PROTOBUF_FINAL;
  377. bool MergePartialFromCodedStream(
  378. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  379. void SerializeWithCachedSizes(
  380. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  381. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  382. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  383. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  384. private:
  385. void SharedCtor();
  386. void SharedDtor();
  387. void SetCachedSize(int size) const PROTOBUF_FINAL;
  388. void InternalSwap(Pose2d_msg* other);
  389. private:
  390. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  391. return NULL;
  392. }
  393. inline void* MaybeArenaPtr() const {
  394. return NULL;
  395. }
  396. public:
  397. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  398. // nested types ----------------------------------------------------
  399. // accessors -------------------------------------------------------
  400. // required string frame_id = 2;
  401. bool has_frame_id() const;
  402. void clear_frame_id();
  403. static const int kFrameIdFieldNumber = 2;
  404. const ::std::string& frame_id() const;
  405. void set_frame_id(const ::std::string& value);
  406. #if LANG_CXX11
  407. void set_frame_id(::std::string&& value);
  408. #endif
  409. void set_frame_id(const char* value);
  410. void set_frame_id(const char* value, size_t size);
  411. ::std::string* mutable_frame_id();
  412. ::std::string* release_frame_id();
  413. void set_allocated_frame_id(::std::string* frame_id);
  414. // required string topic = 3;
  415. bool has_topic() const;
  416. void clear_topic();
  417. static const int kTopicFieldNumber = 3;
  418. const ::std::string& topic() const;
  419. void set_topic(const ::std::string& value);
  420. #if LANG_CXX11
  421. void set_topic(::std::string&& value);
  422. #endif
  423. void set_topic(const char* value);
  424. void set_topic(const char* value, size_t size);
  425. ::std::string* mutable_topic();
  426. ::std::string* release_topic();
  427. void set_allocated_topic(::std::string* topic);
  428. // required .message.Base_info base_info = 1;
  429. bool has_base_info() const;
  430. void clear_base_info();
  431. static const int kBaseInfoFieldNumber = 1;
  432. const ::message::Base_info& base_info() const;
  433. ::message::Base_info* release_base_info();
  434. ::message::Base_info* mutable_base_info();
  435. void set_allocated_base_info(::message::Base_info* base_info);
  436. // required float x = 4 [default = 0];
  437. bool has_x() const;
  438. void clear_x();
  439. static const int kXFieldNumber = 4;
  440. float x() const;
  441. void set_x(float value);
  442. // required float y = 5 [default = 0];
  443. bool has_y() const;
  444. void clear_y();
  445. static const int kYFieldNumber = 5;
  446. float y() const;
  447. void set_y(float value);
  448. // required float theta = 6 [default = 0];
  449. bool has_theta() const;
  450. void clear_theta();
  451. static const int kThetaFieldNumber = 6;
  452. float theta() const;
  453. void set_theta(float value);
  454. // @@protoc_insertion_point(class_scope:message.Pose2d_msg)
  455. private:
  456. void set_has_base_info();
  457. void clear_has_base_info();
  458. void set_has_frame_id();
  459. void clear_has_frame_id();
  460. void set_has_topic();
  461. void clear_has_topic();
  462. void set_has_x();
  463. void clear_has_x();
  464. void set_has_y();
  465. void clear_has_y();
  466. void set_has_theta();
  467. void clear_has_theta();
  468. // helper for ByteSizeLong()
  469. size_t RequiredFieldsByteSizeFallback() const;
  470. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  471. ::google::protobuf::internal::HasBits<1> _has_bits_;
  472. mutable int _cached_size_;
  473. ::google::protobuf::internal::ArenaStringPtr frame_id_;
  474. ::google::protobuf::internal::ArenaStringPtr topic_;
  475. ::message::Base_info* base_info_;
  476. float x_;
  477. float y_;
  478. float theta_;
  479. friend struct ::protobuf_ros_5fmessage_2eproto::TableStruct;
  480. friend void ::protobuf_ros_5fmessage_2eproto::InitDefaultsPose2d_msgImpl();
  481. };
  482. // -------------------------------------------------------------------
  483. class Goal_msg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:message.Goal_msg) */ {
  484. public:
  485. Goal_msg();
  486. virtual ~Goal_msg();
  487. Goal_msg(const Goal_msg& from);
  488. inline Goal_msg& operator=(const Goal_msg& from) {
  489. CopyFrom(from);
  490. return *this;
  491. }
  492. #if LANG_CXX11
  493. Goal_msg(Goal_msg&& from) noexcept
  494. : Goal_msg() {
  495. *this = ::std::move(from);
  496. }
  497. inline Goal_msg& operator=(Goal_msg&& from) noexcept {
  498. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  499. if (this != &from) InternalSwap(&from);
  500. } else {
  501. CopyFrom(from);
  502. }
  503. return *this;
  504. }
  505. #endif
  506. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  507. return _internal_metadata_.unknown_fields();
  508. }
  509. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  510. return _internal_metadata_.mutable_unknown_fields();
  511. }
  512. static const ::google::protobuf::Descriptor* descriptor();
  513. static const Goal_msg& default_instance();
  514. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  515. static inline const Goal_msg* internal_default_instance() {
  516. return reinterpret_cast<const Goal_msg*>(
  517. &_Goal_msg_default_instance_);
  518. }
  519. static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
  520. 3;
  521. void Swap(Goal_msg* other);
  522. friend void swap(Goal_msg& a, Goal_msg& b) {
  523. a.Swap(&b);
  524. }
  525. // implements Message ----------------------------------------------
  526. inline Goal_msg* New() const PROTOBUF_FINAL { return New(NULL); }
  527. Goal_msg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  528. void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  529. void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
  530. void CopyFrom(const Goal_msg& from);
  531. void MergeFrom(const Goal_msg& from);
  532. void Clear() PROTOBUF_FINAL;
  533. bool IsInitialized() const PROTOBUF_FINAL;
  534. size_t ByteSizeLong() const PROTOBUF_FINAL;
  535. bool MergePartialFromCodedStream(
  536. ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  537. void SerializeWithCachedSizes(
  538. ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  539. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  540. bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
  541. int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  542. private:
  543. void SharedCtor();
  544. void SharedDtor();
  545. void SetCachedSize(int size) const PROTOBUF_FINAL;
  546. void InternalSwap(Goal_msg* other);
  547. private:
  548. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  549. return NULL;
  550. }
  551. inline void* MaybeArenaPtr() const {
  552. return NULL;
  553. }
  554. public:
  555. ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
  556. // nested types ----------------------------------------------------
  557. // accessors -------------------------------------------------------
  558. // required .message.Base_info base_info = 1;
  559. bool has_base_info() const;
  560. void clear_base_info();
  561. static const int kBaseInfoFieldNumber = 1;
  562. const ::message::Base_info& base_info() const;
  563. ::message::Base_info* release_base_info();
  564. ::message::Base_info* mutable_base_info();
  565. void set_allocated_base_info(::message::Base_info* base_info);
  566. // required float x = 2 [default = 0];
  567. bool has_x() const;
  568. void clear_x();
  569. static const int kXFieldNumber = 2;
  570. float x() const;
  571. void set_x(float value);
  572. // required float y = 3 [default = 0];
  573. bool has_y() const;
  574. void clear_y();
  575. static const int kYFieldNumber = 3;
  576. float y() const;
  577. void set_y(float value);
  578. // required float theta = 4 [default = 0];
  579. bool has_theta() const;
  580. void clear_theta();
  581. static const int kThetaFieldNumber = 4;
  582. float theta() const;
  583. void set_theta(float value);
  584. // @@protoc_insertion_point(class_scope:message.Goal_msg)
  585. private:
  586. void set_has_base_info();
  587. void clear_has_base_info();
  588. void set_has_x();
  589. void clear_has_x();
  590. void set_has_y();
  591. void clear_has_y();
  592. void set_has_theta();
  593. void clear_has_theta();
  594. // helper for ByteSizeLong()
  595. size_t RequiredFieldsByteSizeFallback() const;
  596. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  597. ::google::protobuf::internal::HasBits<1> _has_bits_;
  598. mutable int _cached_size_;
  599. ::message::Base_info* base_info_;
  600. float x_;
  601. float y_;
  602. float theta_;
  603. friend struct ::protobuf_ros_5fmessage_2eproto::TableStruct;
  604. friend void ::protobuf_ros_5fmessage_2eproto::InitDefaultsGoal_msgImpl();
  605. };
  606. // ===================================================================
  607. // ===================================================================
  608. #ifdef __GNUC__
  609. #pragma GCC diagnostic push
  610. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  611. #endif // __GNUC__
  612. // PointXYZ
  613. // optional float x = 1 [default = 0];
  614. inline bool PointXYZ::has_x() const {
  615. return (_has_bits_[0] & 0x00000001u) != 0;
  616. }
  617. inline void PointXYZ::set_has_x() {
  618. _has_bits_[0] |= 0x00000001u;
  619. }
  620. inline void PointXYZ::clear_has_x() {
  621. _has_bits_[0] &= ~0x00000001u;
  622. }
  623. inline void PointXYZ::clear_x() {
  624. x_ = 0;
  625. clear_has_x();
  626. }
  627. inline float PointXYZ::x() const {
  628. // @@protoc_insertion_point(field_get:message.PointXYZ.x)
  629. return x_;
  630. }
  631. inline void PointXYZ::set_x(float value) {
  632. set_has_x();
  633. x_ = value;
  634. // @@protoc_insertion_point(field_set:message.PointXYZ.x)
  635. }
  636. // optional float y = 2 [default = 0];
  637. inline bool PointXYZ::has_y() const {
  638. return (_has_bits_[0] & 0x00000002u) != 0;
  639. }
  640. inline void PointXYZ::set_has_y() {
  641. _has_bits_[0] |= 0x00000002u;
  642. }
  643. inline void PointXYZ::clear_has_y() {
  644. _has_bits_[0] &= ~0x00000002u;
  645. }
  646. inline void PointXYZ::clear_y() {
  647. y_ = 0;
  648. clear_has_y();
  649. }
  650. inline float PointXYZ::y() const {
  651. // @@protoc_insertion_point(field_get:message.PointXYZ.y)
  652. return y_;
  653. }
  654. inline void PointXYZ::set_y(float value) {
  655. set_has_y();
  656. y_ = value;
  657. // @@protoc_insertion_point(field_set:message.PointXYZ.y)
  658. }
  659. // optional float z = 3 [default = 0];
  660. inline bool PointXYZ::has_z() const {
  661. return (_has_bits_[0] & 0x00000004u) != 0;
  662. }
  663. inline void PointXYZ::set_has_z() {
  664. _has_bits_[0] |= 0x00000004u;
  665. }
  666. inline void PointXYZ::clear_has_z() {
  667. _has_bits_[0] &= ~0x00000004u;
  668. }
  669. inline void PointXYZ::clear_z() {
  670. z_ = 0;
  671. clear_has_z();
  672. }
  673. inline float PointXYZ::z() const {
  674. // @@protoc_insertion_point(field_get:message.PointXYZ.z)
  675. return z_;
  676. }
  677. inline void PointXYZ::set_z(float value) {
  678. set_has_z();
  679. z_ = value;
  680. // @@protoc_insertion_point(field_set:message.PointXYZ.z)
  681. }
  682. // -------------------------------------------------------------------
  683. // PointCloud_msg
  684. // required .message.Base_info base_info = 1;
  685. inline bool PointCloud_msg::has_base_info() const {
  686. return (_has_bits_[0] & 0x00000004u) != 0;
  687. }
  688. inline void PointCloud_msg::set_has_base_info() {
  689. _has_bits_[0] |= 0x00000004u;
  690. }
  691. inline void PointCloud_msg::clear_has_base_info() {
  692. _has_bits_[0] &= ~0x00000004u;
  693. }
  694. inline const ::message::Base_info& PointCloud_msg::base_info() const {
  695. const ::message::Base_info* p = base_info_;
  696. // @@protoc_insertion_point(field_get:message.PointCloud_msg.base_info)
  697. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  698. &::message::_Base_info_default_instance_);
  699. }
  700. inline ::message::Base_info* PointCloud_msg::release_base_info() {
  701. // @@protoc_insertion_point(field_release:message.PointCloud_msg.base_info)
  702. clear_has_base_info();
  703. ::message::Base_info* temp = base_info_;
  704. base_info_ = NULL;
  705. return temp;
  706. }
  707. inline ::message::Base_info* PointCloud_msg::mutable_base_info() {
  708. set_has_base_info();
  709. if (base_info_ == NULL) {
  710. base_info_ = new ::message::Base_info;
  711. }
  712. // @@protoc_insertion_point(field_mutable:message.PointCloud_msg.base_info)
  713. return base_info_;
  714. }
  715. inline void PointCloud_msg::set_allocated_base_info(::message::Base_info* base_info) {
  716. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  717. if (message_arena == NULL) {
  718. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  719. }
  720. if (base_info) {
  721. ::google::protobuf::Arena* submessage_arena = NULL;
  722. if (message_arena != submessage_arena) {
  723. base_info = ::google::protobuf::internal::GetOwnedMessage(
  724. message_arena, base_info, submessage_arena);
  725. }
  726. set_has_base_info();
  727. } else {
  728. clear_has_base_info();
  729. }
  730. base_info_ = base_info;
  731. // @@protoc_insertion_point(field_set_allocated:message.PointCloud_msg.base_info)
  732. }
  733. // required string frame_id = 2;
  734. inline bool PointCloud_msg::has_frame_id() const {
  735. return (_has_bits_[0] & 0x00000001u) != 0;
  736. }
  737. inline void PointCloud_msg::set_has_frame_id() {
  738. _has_bits_[0] |= 0x00000001u;
  739. }
  740. inline void PointCloud_msg::clear_has_frame_id() {
  741. _has_bits_[0] &= ~0x00000001u;
  742. }
  743. inline void PointCloud_msg::clear_frame_id() {
  744. frame_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  745. clear_has_frame_id();
  746. }
  747. inline const ::std::string& PointCloud_msg::frame_id() const {
  748. // @@protoc_insertion_point(field_get:message.PointCloud_msg.frame_id)
  749. return frame_id_.GetNoArena();
  750. }
  751. inline void PointCloud_msg::set_frame_id(const ::std::string& value) {
  752. set_has_frame_id();
  753. frame_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  754. // @@protoc_insertion_point(field_set:message.PointCloud_msg.frame_id)
  755. }
  756. #if LANG_CXX11
  757. inline void PointCloud_msg::set_frame_id(::std::string&& value) {
  758. set_has_frame_id();
  759. frame_id_.SetNoArena(
  760. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  761. // @@protoc_insertion_point(field_set_rvalue:message.PointCloud_msg.frame_id)
  762. }
  763. #endif
  764. inline void PointCloud_msg::set_frame_id(const char* value) {
  765. GOOGLE_DCHECK(value != NULL);
  766. set_has_frame_id();
  767. frame_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  768. // @@protoc_insertion_point(field_set_char:message.PointCloud_msg.frame_id)
  769. }
  770. inline void PointCloud_msg::set_frame_id(const char* value, size_t size) {
  771. set_has_frame_id();
  772. frame_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  773. ::std::string(reinterpret_cast<const char*>(value), size));
  774. // @@protoc_insertion_point(field_set_pointer:message.PointCloud_msg.frame_id)
  775. }
  776. inline ::std::string* PointCloud_msg::mutable_frame_id() {
  777. set_has_frame_id();
  778. // @@protoc_insertion_point(field_mutable:message.PointCloud_msg.frame_id)
  779. return frame_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  780. }
  781. inline ::std::string* PointCloud_msg::release_frame_id() {
  782. // @@protoc_insertion_point(field_release:message.PointCloud_msg.frame_id)
  783. clear_has_frame_id();
  784. return frame_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  785. }
  786. inline void PointCloud_msg::set_allocated_frame_id(::std::string* frame_id) {
  787. if (frame_id != NULL) {
  788. set_has_frame_id();
  789. } else {
  790. clear_has_frame_id();
  791. }
  792. frame_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), frame_id);
  793. // @@protoc_insertion_point(field_set_allocated:message.PointCloud_msg.frame_id)
  794. }
  795. // required string topic = 3;
  796. inline bool PointCloud_msg::has_topic() const {
  797. return (_has_bits_[0] & 0x00000002u) != 0;
  798. }
  799. inline void PointCloud_msg::set_has_topic() {
  800. _has_bits_[0] |= 0x00000002u;
  801. }
  802. inline void PointCloud_msg::clear_has_topic() {
  803. _has_bits_[0] &= ~0x00000002u;
  804. }
  805. inline void PointCloud_msg::clear_topic() {
  806. topic_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  807. clear_has_topic();
  808. }
  809. inline const ::std::string& PointCloud_msg::topic() const {
  810. // @@protoc_insertion_point(field_get:message.PointCloud_msg.topic)
  811. return topic_.GetNoArena();
  812. }
  813. inline void PointCloud_msg::set_topic(const ::std::string& value) {
  814. set_has_topic();
  815. topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  816. // @@protoc_insertion_point(field_set:message.PointCloud_msg.topic)
  817. }
  818. #if LANG_CXX11
  819. inline void PointCloud_msg::set_topic(::std::string&& value) {
  820. set_has_topic();
  821. topic_.SetNoArena(
  822. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  823. // @@protoc_insertion_point(field_set_rvalue:message.PointCloud_msg.topic)
  824. }
  825. #endif
  826. inline void PointCloud_msg::set_topic(const char* value) {
  827. GOOGLE_DCHECK(value != NULL);
  828. set_has_topic();
  829. topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  830. // @@protoc_insertion_point(field_set_char:message.PointCloud_msg.topic)
  831. }
  832. inline void PointCloud_msg::set_topic(const char* value, size_t size) {
  833. set_has_topic();
  834. topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  835. ::std::string(reinterpret_cast<const char*>(value), size));
  836. // @@protoc_insertion_point(field_set_pointer:message.PointCloud_msg.topic)
  837. }
  838. inline ::std::string* PointCloud_msg::mutable_topic() {
  839. set_has_topic();
  840. // @@protoc_insertion_point(field_mutable:message.PointCloud_msg.topic)
  841. return topic_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  842. }
  843. inline ::std::string* PointCloud_msg::release_topic() {
  844. // @@protoc_insertion_point(field_release:message.PointCloud_msg.topic)
  845. clear_has_topic();
  846. return topic_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  847. }
  848. inline void PointCloud_msg::set_allocated_topic(::std::string* topic) {
  849. if (topic != NULL) {
  850. set_has_topic();
  851. } else {
  852. clear_has_topic();
  853. }
  854. topic_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), topic);
  855. // @@protoc_insertion_point(field_set_allocated:message.PointCloud_msg.topic)
  856. }
  857. // repeated .message.PointXYZ points = 4;
  858. inline int PointCloud_msg::points_size() const {
  859. return points_.size();
  860. }
  861. inline void PointCloud_msg::clear_points() {
  862. points_.Clear();
  863. }
  864. inline const ::message::PointXYZ& PointCloud_msg::points(int index) const {
  865. // @@protoc_insertion_point(field_get:message.PointCloud_msg.points)
  866. return points_.Get(index);
  867. }
  868. inline ::message::PointXYZ* PointCloud_msg::mutable_points(int index) {
  869. // @@protoc_insertion_point(field_mutable:message.PointCloud_msg.points)
  870. return points_.Mutable(index);
  871. }
  872. inline ::message::PointXYZ* PointCloud_msg::add_points() {
  873. // @@protoc_insertion_point(field_add:message.PointCloud_msg.points)
  874. return points_.Add();
  875. }
  876. inline ::google::protobuf::RepeatedPtrField< ::message::PointXYZ >*
  877. PointCloud_msg::mutable_points() {
  878. // @@protoc_insertion_point(field_mutable_list:message.PointCloud_msg.points)
  879. return &points_;
  880. }
  881. inline const ::google::protobuf::RepeatedPtrField< ::message::PointXYZ >&
  882. PointCloud_msg::points() const {
  883. // @@protoc_insertion_point(field_list:message.PointCloud_msg.points)
  884. return points_;
  885. }
  886. // -------------------------------------------------------------------
  887. // Pose2d_msg
  888. // required .message.Base_info base_info = 1;
  889. inline bool Pose2d_msg::has_base_info() const {
  890. return (_has_bits_[0] & 0x00000004u) != 0;
  891. }
  892. inline void Pose2d_msg::set_has_base_info() {
  893. _has_bits_[0] |= 0x00000004u;
  894. }
  895. inline void Pose2d_msg::clear_has_base_info() {
  896. _has_bits_[0] &= ~0x00000004u;
  897. }
  898. inline const ::message::Base_info& Pose2d_msg::base_info() const {
  899. const ::message::Base_info* p = base_info_;
  900. // @@protoc_insertion_point(field_get:message.Pose2d_msg.base_info)
  901. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  902. &::message::_Base_info_default_instance_);
  903. }
  904. inline ::message::Base_info* Pose2d_msg::release_base_info() {
  905. // @@protoc_insertion_point(field_release:message.Pose2d_msg.base_info)
  906. clear_has_base_info();
  907. ::message::Base_info* temp = base_info_;
  908. base_info_ = NULL;
  909. return temp;
  910. }
  911. inline ::message::Base_info* Pose2d_msg::mutable_base_info() {
  912. set_has_base_info();
  913. if (base_info_ == NULL) {
  914. base_info_ = new ::message::Base_info;
  915. }
  916. // @@protoc_insertion_point(field_mutable:message.Pose2d_msg.base_info)
  917. return base_info_;
  918. }
  919. inline void Pose2d_msg::set_allocated_base_info(::message::Base_info* base_info) {
  920. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  921. if (message_arena == NULL) {
  922. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  923. }
  924. if (base_info) {
  925. ::google::protobuf::Arena* submessage_arena = NULL;
  926. if (message_arena != submessage_arena) {
  927. base_info = ::google::protobuf::internal::GetOwnedMessage(
  928. message_arena, base_info, submessage_arena);
  929. }
  930. set_has_base_info();
  931. } else {
  932. clear_has_base_info();
  933. }
  934. base_info_ = base_info;
  935. // @@protoc_insertion_point(field_set_allocated:message.Pose2d_msg.base_info)
  936. }
  937. // required string frame_id = 2;
  938. inline bool Pose2d_msg::has_frame_id() const {
  939. return (_has_bits_[0] & 0x00000001u) != 0;
  940. }
  941. inline void Pose2d_msg::set_has_frame_id() {
  942. _has_bits_[0] |= 0x00000001u;
  943. }
  944. inline void Pose2d_msg::clear_has_frame_id() {
  945. _has_bits_[0] &= ~0x00000001u;
  946. }
  947. inline void Pose2d_msg::clear_frame_id() {
  948. frame_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  949. clear_has_frame_id();
  950. }
  951. inline const ::std::string& Pose2d_msg::frame_id() const {
  952. // @@protoc_insertion_point(field_get:message.Pose2d_msg.frame_id)
  953. return frame_id_.GetNoArena();
  954. }
  955. inline void Pose2d_msg::set_frame_id(const ::std::string& value) {
  956. set_has_frame_id();
  957. frame_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  958. // @@protoc_insertion_point(field_set:message.Pose2d_msg.frame_id)
  959. }
  960. #if LANG_CXX11
  961. inline void Pose2d_msg::set_frame_id(::std::string&& value) {
  962. set_has_frame_id();
  963. frame_id_.SetNoArena(
  964. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  965. // @@protoc_insertion_point(field_set_rvalue:message.Pose2d_msg.frame_id)
  966. }
  967. #endif
  968. inline void Pose2d_msg::set_frame_id(const char* value) {
  969. GOOGLE_DCHECK(value != NULL);
  970. set_has_frame_id();
  971. frame_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  972. // @@protoc_insertion_point(field_set_char:message.Pose2d_msg.frame_id)
  973. }
  974. inline void Pose2d_msg::set_frame_id(const char* value, size_t size) {
  975. set_has_frame_id();
  976. frame_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  977. ::std::string(reinterpret_cast<const char*>(value), size));
  978. // @@protoc_insertion_point(field_set_pointer:message.Pose2d_msg.frame_id)
  979. }
  980. inline ::std::string* Pose2d_msg::mutable_frame_id() {
  981. set_has_frame_id();
  982. // @@protoc_insertion_point(field_mutable:message.Pose2d_msg.frame_id)
  983. return frame_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  984. }
  985. inline ::std::string* Pose2d_msg::release_frame_id() {
  986. // @@protoc_insertion_point(field_release:message.Pose2d_msg.frame_id)
  987. clear_has_frame_id();
  988. return frame_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  989. }
  990. inline void Pose2d_msg::set_allocated_frame_id(::std::string* frame_id) {
  991. if (frame_id != NULL) {
  992. set_has_frame_id();
  993. } else {
  994. clear_has_frame_id();
  995. }
  996. frame_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), frame_id);
  997. // @@protoc_insertion_point(field_set_allocated:message.Pose2d_msg.frame_id)
  998. }
  999. // required string topic = 3;
  1000. inline bool Pose2d_msg::has_topic() const {
  1001. return (_has_bits_[0] & 0x00000002u) != 0;
  1002. }
  1003. inline void Pose2d_msg::set_has_topic() {
  1004. _has_bits_[0] |= 0x00000002u;
  1005. }
  1006. inline void Pose2d_msg::clear_has_topic() {
  1007. _has_bits_[0] &= ~0x00000002u;
  1008. }
  1009. inline void Pose2d_msg::clear_topic() {
  1010. topic_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1011. clear_has_topic();
  1012. }
  1013. inline const ::std::string& Pose2d_msg::topic() const {
  1014. // @@protoc_insertion_point(field_get:message.Pose2d_msg.topic)
  1015. return topic_.GetNoArena();
  1016. }
  1017. inline void Pose2d_msg::set_topic(const ::std::string& value) {
  1018. set_has_topic();
  1019. topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  1020. // @@protoc_insertion_point(field_set:message.Pose2d_msg.topic)
  1021. }
  1022. #if LANG_CXX11
  1023. inline void Pose2d_msg::set_topic(::std::string&& value) {
  1024. set_has_topic();
  1025. topic_.SetNoArena(
  1026. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  1027. // @@protoc_insertion_point(field_set_rvalue:message.Pose2d_msg.topic)
  1028. }
  1029. #endif
  1030. inline void Pose2d_msg::set_topic(const char* value) {
  1031. GOOGLE_DCHECK(value != NULL);
  1032. set_has_topic();
  1033. topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  1034. // @@protoc_insertion_point(field_set_char:message.Pose2d_msg.topic)
  1035. }
  1036. inline void Pose2d_msg::set_topic(const char* value, size_t size) {
  1037. set_has_topic();
  1038. topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1039. ::std::string(reinterpret_cast<const char*>(value), size));
  1040. // @@protoc_insertion_point(field_set_pointer:message.Pose2d_msg.topic)
  1041. }
  1042. inline ::std::string* Pose2d_msg::mutable_topic() {
  1043. set_has_topic();
  1044. // @@protoc_insertion_point(field_mutable:message.Pose2d_msg.topic)
  1045. return topic_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1046. }
  1047. inline ::std::string* Pose2d_msg::release_topic() {
  1048. // @@protoc_insertion_point(field_release:message.Pose2d_msg.topic)
  1049. clear_has_topic();
  1050. return topic_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1051. }
  1052. inline void Pose2d_msg::set_allocated_topic(::std::string* topic) {
  1053. if (topic != NULL) {
  1054. set_has_topic();
  1055. } else {
  1056. clear_has_topic();
  1057. }
  1058. topic_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), topic);
  1059. // @@protoc_insertion_point(field_set_allocated:message.Pose2d_msg.topic)
  1060. }
  1061. // required float x = 4 [default = 0];
  1062. inline bool Pose2d_msg::has_x() const {
  1063. return (_has_bits_[0] & 0x00000008u) != 0;
  1064. }
  1065. inline void Pose2d_msg::set_has_x() {
  1066. _has_bits_[0] |= 0x00000008u;
  1067. }
  1068. inline void Pose2d_msg::clear_has_x() {
  1069. _has_bits_[0] &= ~0x00000008u;
  1070. }
  1071. inline void Pose2d_msg::clear_x() {
  1072. x_ = 0;
  1073. clear_has_x();
  1074. }
  1075. inline float Pose2d_msg::x() const {
  1076. // @@protoc_insertion_point(field_get:message.Pose2d_msg.x)
  1077. return x_;
  1078. }
  1079. inline void Pose2d_msg::set_x(float value) {
  1080. set_has_x();
  1081. x_ = value;
  1082. // @@protoc_insertion_point(field_set:message.Pose2d_msg.x)
  1083. }
  1084. // required float y = 5 [default = 0];
  1085. inline bool Pose2d_msg::has_y() const {
  1086. return (_has_bits_[0] & 0x00000010u) != 0;
  1087. }
  1088. inline void Pose2d_msg::set_has_y() {
  1089. _has_bits_[0] |= 0x00000010u;
  1090. }
  1091. inline void Pose2d_msg::clear_has_y() {
  1092. _has_bits_[0] &= ~0x00000010u;
  1093. }
  1094. inline void Pose2d_msg::clear_y() {
  1095. y_ = 0;
  1096. clear_has_y();
  1097. }
  1098. inline float Pose2d_msg::y() const {
  1099. // @@protoc_insertion_point(field_get:message.Pose2d_msg.y)
  1100. return y_;
  1101. }
  1102. inline void Pose2d_msg::set_y(float value) {
  1103. set_has_y();
  1104. y_ = value;
  1105. // @@protoc_insertion_point(field_set:message.Pose2d_msg.y)
  1106. }
  1107. // required float theta = 6 [default = 0];
  1108. inline bool Pose2d_msg::has_theta() const {
  1109. return (_has_bits_[0] & 0x00000020u) != 0;
  1110. }
  1111. inline void Pose2d_msg::set_has_theta() {
  1112. _has_bits_[0] |= 0x00000020u;
  1113. }
  1114. inline void Pose2d_msg::clear_has_theta() {
  1115. _has_bits_[0] &= ~0x00000020u;
  1116. }
  1117. inline void Pose2d_msg::clear_theta() {
  1118. theta_ = 0;
  1119. clear_has_theta();
  1120. }
  1121. inline float Pose2d_msg::theta() const {
  1122. // @@protoc_insertion_point(field_get:message.Pose2d_msg.theta)
  1123. return theta_;
  1124. }
  1125. inline void Pose2d_msg::set_theta(float value) {
  1126. set_has_theta();
  1127. theta_ = value;
  1128. // @@protoc_insertion_point(field_set:message.Pose2d_msg.theta)
  1129. }
  1130. // -------------------------------------------------------------------
  1131. // Goal_msg
  1132. // required .message.Base_info base_info = 1;
  1133. inline bool Goal_msg::has_base_info() const {
  1134. return (_has_bits_[0] & 0x00000001u) != 0;
  1135. }
  1136. inline void Goal_msg::set_has_base_info() {
  1137. _has_bits_[0] |= 0x00000001u;
  1138. }
  1139. inline void Goal_msg::clear_has_base_info() {
  1140. _has_bits_[0] &= ~0x00000001u;
  1141. }
  1142. inline const ::message::Base_info& Goal_msg::base_info() const {
  1143. const ::message::Base_info* p = base_info_;
  1144. // @@protoc_insertion_point(field_get:message.Goal_msg.base_info)
  1145. return p != NULL ? *p : *reinterpret_cast<const ::message::Base_info*>(
  1146. &::message::_Base_info_default_instance_);
  1147. }
  1148. inline ::message::Base_info* Goal_msg::release_base_info() {
  1149. // @@protoc_insertion_point(field_release:message.Goal_msg.base_info)
  1150. clear_has_base_info();
  1151. ::message::Base_info* temp = base_info_;
  1152. base_info_ = NULL;
  1153. return temp;
  1154. }
  1155. inline ::message::Base_info* Goal_msg::mutable_base_info() {
  1156. set_has_base_info();
  1157. if (base_info_ == NULL) {
  1158. base_info_ = new ::message::Base_info;
  1159. }
  1160. // @@protoc_insertion_point(field_mutable:message.Goal_msg.base_info)
  1161. return base_info_;
  1162. }
  1163. inline void Goal_msg::set_allocated_base_info(::message::Base_info* base_info) {
  1164. ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  1165. if (message_arena == NULL) {
  1166. delete reinterpret_cast< ::google::protobuf::MessageLite*>(base_info_);
  1167. }
  1168. if (base_info) {
  1169. ::google::protobuf::Arena* submessage_arena = NULL;
  1170. if (message_arena != submessage_arena) {
  1171. base_info = ::google::protobuf::internal::GetOwnedMessage(
  1172. message_arena, base_info, submessage_arena);
  1173. }
  1174. set_has_base_info();
  1175. } else {
  1176. clear_has_base_info();
  1177. }
  1178. base_info_ = base_info;
  1179. // @@protoc_insertion_point(field_set_allocated:message.Goal_msg.base_info)
  1180. }
  1181. // required float x = 2 [default = 0];
  1182. inline bool Goal_msg::has_x() const {
  1183. return (_has_bits_[0] & 0x00000002u) != 0;
  1184. }
  1185. inline void Goal_msg::set_has_x() {
  1186. _has_bits_[0] |= 0x00000002u;
  1187. }
  1188. inline void Goal_msg::clear_has_x() {
  1189. _has_bits_[0] &= ~0x00000002u;
  1190. }
  1191. inline void Goal_msg::clear_x() {
  1192. x_ = 0;
  1193. clear_has_x();
  1194. }
  1195. inline float Goal_msg::x() const {
  1196. // @@protoc_insertion_point(field_get:message.Goal_msg.x)
  1197. return x_;
  1198. }
  1199. inline void Goal_msg::set_x(float value) {
  1200. set_has_x();
  1201. x_ = value;
  1202. // @@protoc_insertion_point(field_set:message.Goal_msg.x)
  1203. }
  1204. // required float y = 3 [default = 0];
  1205. inline bool Goal_msg::has_y() const {
  1206. return (_has_bits_[0] & 0x00000004u) != 0;
  1207. }
  1208. inline void Goal_msg::set_has_y() {
  1209. _has_bits_[0] |= 0x00000004u;
  1210. }
  1211. inline void Goal_msg::clear_has_y() {
  1212. _has_bits_[0] &= ~0x00000004u;
  1213. }
  1214. inline void Goal_msg::clear_y() {
  1215. y_ = 0;
  1216. clear_has_y();
  1217. }
  1218. inline float Goal_msg::y() const {
  1219. // @@protoc_insertion_point(field_get:message.Goal_msg.y)
  1220. return y_;
  1221. }
  1222. inline void Goal_msg::set_y(float value) {
  1223. set_has_y();
  1224. y_ = value;
  1225. // @@protoc_insertion_point(field_set:message.Goal_msg.y)
  1226. }
  1227. // required float theta = 4 [default = 0];
  1228. inline bool Goal_msg::has_theta() const {
  1229. return (_has_bits_[0] & 0x00000008u) != 0;
  1230. }
  1231. inline void Goal_msg::set_has_theta() {
  1232. _has_bits_[0] |= 0x00000008u;
  1233. }
  1234. inline void Goal_msg::clear_has_theta() {
  1235. _has_bits_[0] &= ~0x00000008u;
  1236. }
  1237. inline void Goal_msg::clear_theta() {
  1238. theta_ = 0;
  1239. clear_has_theta();
  1240. }
  1241. inline float Goal_msg::theta() const {
  1242. // @@protoc_insertion_point(field_get:message.Goal_msg.theta)
  1243. return theta_;
  1244. }
  1245. inline void Goal_msg::set_theta(float value) {
  1246. set_has_theta();
  1247. theta_ = value;
  1248. // @@protoc_insertion_point(field_set:message.Goal_msg.theta)
  1249. }
  1250. #ifdef __GNUC__
  1251. #pragma GCC diagnostic pop
  1252. #endif // __GNUC__
  1253. // -------------------------------------------------------------------
  1254. // -------------------------------------------------------------------
  1255. // -------------------------------------------------------------------
  1256. // @@protoc_insertion_point(namespace_scope)
  1257. } // namespace message
  1258. // @@protoc_insertion_point(global_scope)
  1259. #endif // PROTOBUF_ros_5fmessage_2eproto__INCLUDED