Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/occupancy_grid.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2foccupancy_5fgrid_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2foccupancy_5fgrid_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
34 #include "ignition/msgs/pose.pb.h"
35 #include "ignition/msgs/time.pb.h"
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2foccupancy_5fgrid_2eproto IGNITION_MSGS_VISIBLE
49 
51 // Internal implementation detail -- do not use these members.
52 struct IGNITION_MSGS_VISIBLE TableStruct {
53  static const ::google::protobuf::internal::ParseTableField entries[];
54  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55  static const ::google::protobuf::internal::ParseTable schema[2];
56  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57  static const ::google::protobuf::internal::SerializationTable serialization_table[];
58  static const ::google::protobuf::uint32 offsets[];
59 };
60 void IGNITION_MSGS_VISIBLE AddDescriptors();
61 } // namespace protobuf_ignition_2fmsgs_2foccupancy_5fgrid_2eproto
62 namespace ignition {
63 namespace msgs {
64 class OccupancyGrid;
65 class OccupancyGridDefaultTypeInternal;
66 IGNITION_MSGS_VISIBLE extern OccupancyGridDefaultTypeInternal _OccupancyGrid_default_instance_;
67 class OccupancyGrid_MapMetaInfo;
68 class OccupancyGrid_MapMetaInfoDefaultTypeInternal;
69 IGNITION_MSGS_VISIBLE extern OccupancyGrid_MapMetaInfoDefaultTypeInternal _OccupancyGrid_MapMetaInfo_default_instance_;
70 } // namespace msgs
71 } // namespace ignition
72 namespace google {
73 namespace protobuf {
74 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::OccupancyGrid* Arena::CreateMaybeMessage<::ignition::msgs::OccupancyGrid>(Arena*);
75 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::OccupancyGrid_MapMetaInfo* Arena::CreateMaybeMessage<::ignition::msgs::OccupancyGrid_MapMetaInfo>(Arena*);
76 } // namespace protobuf
77 } // namespace google
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE OccupancyGrid_MapMetaInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.OccupancyGrid.MapMetaInfo) */ {
84  public:
86  virtual ~OccupancyGrid_MapMetaInfo();
87 
89 
91  CopyFrom(from);
92  return *this;
93  }
94  #if LANG_CXX11
97  *this = ::std::move(from);
98  }
99 
100  inline OccupancyGrid_MapMetaInfo& operator=(OccupancyGrid_MapMetaInfo&& from) noexcept {
101  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
102  if (this != &from) InternalSwap(&from);
103  } else {
104  CopyFrom(from);
105  }
106  return *this;
107  }
108  #endif
109  static const ::google::protobuf::Descriptor* descriptor();
110  static const OccupancyGrid_MapMetaInfo& default_instance();
111 
112  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
114  return reinterpret_cast<const OccupancyGrid_MapMetaInfo*>(
116  }
117  static constexpr int kIndexInFileMessages =
118  0;
119 
120  void Swap(OccupancyGrid_MapMetaInfo* other);
122  a.Swap(&b);
123  }
124 
125  // implements Message ----------------------------------------------
126 
127  inline OccupancyGrid_MapMetaInfo* New() const final {
128  return CreateMaybeMessage<OccupancyGrid_MapMetaInfo>(NULL);
129  }
130 
131  OccupancyGrid_MapMetaInfo* New(::google::protobuf::Arena* arena) const final {
132  return CreateMaybeMessage<OccupancyGrid_MapMetaInfo>(arena);
133  }
134  void CopyFrom(const ::google::protobuf::Message& from) final;
135  void MergeFrom(const ::google::protobuf::Message& from) final;
136  void CopyFrom(const OccupancyGrid_MapMetaInfo& from);
137  void MergeFrom(const OccupancyGrid_MapMetaInfo& from);
138  void Clear() final;
139  bool IsInitialized() const final;
140 
141  size_t ByteSizeLong() const final;
142  bool MergePartialFromCodedStream(
143  ::google::protobuf::io::CodedInputStream* input) final;
144  void SerializeWithCachedSizes(
145  ::google::protobuf::io::CodedOutputStream* output) const final;
146  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
147  bool deterministic, ::google::protobuf::uint8* target) const final;
148  int GetCachedSize() const final { return _cached_size_.Get(); }
149 
150  private:
151  void SharedCtor();
152  void SharedDtor();
153  void SetCachedSize(int size) const final;
154  void InternalSwap(OccupancyGrid_MapMetaInfo* other);
155  private:
156  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
157  return NULL;
158  }
159  inline void* MaybeArenaPtr() const {
160  return NULL;
161  }
162  public:
163 
164  ::google::protobuf::Metadata GetMetadata() const final;
165 
166  // nested types ----------------------------------------------------
167 
168  // accessors -------------------------------------------------------
169 
170  // .ignition.msgs.Time map_load_time = 1;
171  bool has_map_load_time() const;
172  void clear_map_load_time();
173  static const int kMapLoadTimeFieldNumber = 1;
174  private:
175  const ::ignition::msgs::Time& _internal_map_load_time() const;
176  public:
177  const ::ignition::msgs::Time& map_load_time() const;
178  ::ignition::msgs::Time* release_map_load_time();
179  ::ignition::msgs::Time* mutable_map_load_time();
180  void set_allocated_map_load_time(::ignition::msgs::Time* map_load_time);
181 
182  // .ignition.msgs.Pose origin = 5;
183  bool has_origin() const;
184  void clear_origin();
185  static const int kOriginFieldNumber = 5;
186  private:
187  const ::ignition::msgs::Pose& _internal_origin() const;
188  public:
189  const ::ignition::msgs::Pose& origin() const;
190  ::ignition::msgs::Pose* release_origin();
191  ::ignition::msgs::Pose* mutable_origin();
192  void set_allocated_origin(::ignition::msgs::Pose* origin);
193 
194  // double resolution = 2;
195  void clear_resolution();
196  static const int kResolutionFieldNumber = 2;
197  double resolution() const;
198  void set_resolution(double value);
199 
200  // uint32 width = 3;
201  void clear_width();
202  static const int kWidthFieldNumber = 3;
203  ::google::protobuf::uint32 width() const;
204  void set_width(::google::protobuf::uint32 value);
205 
206  // uint32 height = 4;
207  void clear_height();
208  static const int kHeightFieldNumber = 4;
209  ::google::protobuf::uint32 height() const;
210  void set_height(::google::protobuf::uint32 value);
211 
212  // @@protoc_insertion_point(class_scope:ignition.msgs.OccupancyGrid.MapMetaInfo)
213  private:
214 
215  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
216  ::ignition::msgs::Time* map_load_time_;
217  ::ignition::msgs::Pose* origin_;
218  double resolution_;
219  ::google::protobuf::uint32 width_;
220  ::google::protobuf::uint32 height_;
221  mutable ::google::protobuf::internal::CachedSize _cached_size_;
223 };
224 // -------------------------------------------------------------------
225 
226 class IGNITION_MSGS_VISIBLE OccupancyGrid : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.OccupancyGrid) */ {
227  public:
228  OccupancyGrid();
229  virtual ~OccupancyGrid();
230 
231  OccupancyGrid(const OccupancyGrid& from);
232 
233  inline OccupancyGrid& operator=(const OccupancyGrid& from) {
234  CopyFrom(from);
235  return *this;
236  }
237  #if LANG_CXX11
238  OccupancyGrid(OccupancyGrid&& from) noexcept
239  : OccupancyGrid() {
240  *this = ::std::move(from);
241  }
242 
243  inline OccupancyGrid& operator=(OccupancyGrid&& from) noexcept {
244  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
245  if (this != &from) InternalSwap(&from);
246  } else {
247  CopyFrom(from);
248  }
249  return *this;
250  }
251  #endif
252  static const ::google::protobuf::Descriptor* descriptor();
253  static const OccupancyGrid& default_instance();
254 
255  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
256  static inline const OccupancyGrid* internal_default_instance() {
257  return reinterpret_cast<const OccupancyGrid*>(
259  }
260  static constexpr int kIndexInFileMessages =
261  1;
262 
263  void Swap(OccupancyGrid* other);
264  friend void swap(OccupancyGrid& a, OccupancyGrid& b) {
265  a.Swap(&b);
266  }
267 
268  // implements Message ----------------------------------------------
269 
270  inline OccupancyGrid* New() const final {
271  return CreateMaybeMessage<OccupancyGrid>(NULL);
272  }
273 
274  OccupancyGrid* New(::google::protobuf::Arena* arena) const final {
275  return CreateMaybeMessage<OccupancyGrid>(arena);
276  }
277  void CopyFrom(const ::google::protobuf::Message& from) final;
278  void MergeFrom(const ::google::protobuf::Message& from) final;
279  void CopyFrom(const OccupancyGrid& from);
280  void MergeFrom(const OccupancyGrid& from);
281  void Clear() final;
282  bool IsInitialized() const final;
283 
284  size_t ByteSizeLong() const final;
285  bool MergePartialFromCodedStream(
286  ::google::protobuf::io::CodedInputStream* input) final;
287  void SerializeWithCachedSizes(
288  ::google::protobuf::io::CodedOutputStream* output) const final;
289  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
290  bool deterministic, ::google::protobuf::uint8* target) const final;
291  int GetCachedSize() const final { return _cached_size_.Get(); }
292 
293  private:
294  void SharedCtor();
295  void SharedDtor();
296  void SetCachedSize(int size) const final;
297  void InternalSwap(OccupancyGrid* other);
298  private:
299  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
300  return NULL;
301  }
302  inline void* MaybeArenaPtr() const {
303  return NULL;
304  }
305  public:
306 
307  ::google::protobuf::Metadata GetMetadata() const final;
308 
309  // nested types ----------------------------------------------------
310 
312 
313  // accessors -------------------------------------------------------
314 
315  // bytes data = 3;
316  void clear_data();
317  static const int kDataFieldNumber = 3;
318  const ::std::string& data() const;
319  void set_data(const ::std::string& value);
320  #if LANG_CXX11
321  void set_data(::std::string&& value);
322  #endif
323  void set_data(const char* value);
324  void set_data(const void* value, size_t size);
325  ::std::string* mutable_data();
326  ::std::string* release_data();
327  void set_allocated_data(::std::string* data);
328 
329  // .ignition.msgs.Header header = 1;
330  bool has_header() const;
331  void clear_header();
332  static const int kHeaderFieldNumber = 1;
333  private:
334  const ::ignition::msgs::Header& _internal_header() const;
335  public:
336  const ::ignition::msgs::Header& header() const;
337  ::ignition::msgs::Header* release_header();
338  ::ignition::msgs::Header* mutable_header();
339  void set_allocated_header(::ignition::msgs::Header* header);
340 
341  // .ignition.msgs.OccupancyGrid.MapMetaInfo info = 2;
342  bool has_info() const;
343  void clear_info();
344  static const int kInfoFieldNumber = 2;
345  private:
346  const ::ignition::msgs::OccupancyGrid_MapMetaInfo& _internal_info() const;
347  public:
348  const ::ignition::msgs::OccupancyGrid_MapMetaInfo& info() const;
351  void set_allocated_info(::ignition::msgs::OccupancyGrid_MapMetaInfo* info);
352 
353  // @@protoc_insertion_point(class_scope:ignition.msgs.OccupancyGrid)
354  private:
355 
356  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
357  ::google::protobuf::internal::ArenaStringPtr data_;
358  ::ignition::msgs::Header* header_;
360  mutable ::google::protobuf::internal::CachedSize _cached_size_;
361  friend struct ::protobuf_ignition_2fmsgs_2foccupancy_5fgrid_2eproto::TableStruct;
362 };
363 // ===================================================================
364 
365 
366 // ===================================================================
367 
368 #ifdef __GNUC__
369  #pragma GCC diagnostic push
370  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
371 #endif // __GNUC__
372 // OccupancyGrid_MapMetaInfo
373 
374 // .ignition.msgs.Time map_load_time = 1;
376  return this != internal_default_instance() && map_load_time_ != NULL;
377 }
378 inline const ::ignition::msgs::Time& OccupancyGrid_MapMetaInfo::_internal_map_load_time() const {
379  return *map_load_time_;
380 }
381 inline const ::ignition::msgs::Time& OccupancyGrid_MapMetaInfo::map_load_time() const {
382  const ::ignition::msgs::Time* p = map_load_time_;
383  // @@protoc_insertion_point(field_get:ignition.msgs.OccupancyGrid.MapMetaInfo.map_load_time)
384  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
386 }
387 inline ::ignition::msgs::Time* OccupancyGrid_MapMetaInfo::release_map_load_time() {
388  // @@protoc_insertion_point(field_release:ignition.msgs.OccupancyGrid.MapMetaInfo.map_load_time)
389 
390  ::ignition::msgs::Time* temp = map_load_time_;
391  map_load_time_ = NULL;
392  return temp;
393 }
394 inline ::ignition::msgs::Time* OccupancyGrid_MapMetaInfo::mutable_map_load_time() {
395 
396  if (map_load_time_ == NULL) {
397  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
398  map_load_time_ = p;
399  }
400  // @@protoc_insertion_point(field_mutable:ignition.msgs.OccupancyGrid.MapMetaInfo.map_load_time)
401  return map_load_time_;
402 }
404  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
405  if (message_arena == NULL) {
406  delete reinterpret_cast< ::google::protobuf::MessageLite*>(map_load_time_);
407  }
408  if (map_load_time) {
409  ::google::protobuf::Arena* submessage_arena = NULL;
410  if (message_arena != submessage_arena) {
411  map_load_time = ::google::protobuf::internal::GetOwnedMessage(
412  message_arena, map_load_time, submessage_arena);
413  }
414 
415  } else {
416 
417  }
418  map_load_time_ = map_load_time;
419  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.OccupancyGrid.MapMetaInfo.map_load_time)
420 }
421 
422 // double resolution = 2;
424  resolution_ = 0;
425 }
427  // @@protoc_insertion_point(field_get:ignition.msgs.OccupancyGrid.MapMetaInfo.resolution)
428  return resolution_;
429 }
430 inline void OccupancyGrid_MapMetaInfo::set_resolution(double value) {
431 
432  resolution_ = value;
433  // @@protoc_insertion_point(field_set:ignition.msgs.OccupancyGrid.MapMetaInfo.resolution)
434 }
435 
436 // uint32 width = 3;
438  width_ = 0u;
439 }
440 inline ::google::protobuf::uint32 OccupancyGrid_MapMetaInfo::width() const {
441  // @@protoc_insertion_point(field_get:ignition.msgs.OccupancyGrid.MapMetaInfo.width)
442  return width_;
443 }
444 inline void OccupancyGrid_MapMetaInfo::set_width(::google::protobuf::uint32 value) {
445 
446  width_ = value;
447  // @@protoc_insertion_point(field_set:ignition.msgs.OccupancyGrid.MapMetaInfo.width)
448 }
449 
450 // uint32 height = 4;
452  height_ = 0u;
453 }
454 inline ::google::protobuf::uint32 OccupancyGrid_MapMetaInfo::height() const {
455  // @@protoc_insertion_point(field_get:ignition.msgs.OccupancyGrid.MapMetaInfo.height)
456  return height_;
457 }
458 inline void OccupancyGrid_MapMetaInfo::set_height(::google::protobuf::uint32 value) {
459 
460  height_ = value;
461  // @@protoc_insertion_point(field_set:ignition.msgs.OccupancyGrid.MapMetaInfo.height)
462 }
463 
464 // .ignition.msgs.Pose origin = 5;
466  return this != internal_default_instance() && origin_ != NULL;
467 }
468 inline const ::ignition::msgs::Pose& OccupancyGrid_MapMetaInfo::_internal_origin() const {
469  return *origin_;
470 }
471 inline const ::ignition::msgs::Pose& OccupancyGrid_MapMetaInfo::origin() const {
472  const ::ignition::msgs::Pose* p = origin_;
473  // @@protoc_insertion_point(field_get:ignition.msgs.OccupancyGrid.MapMetaInfo.origin)
474  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Pose*>(
476 }
477 inline ::ignition::msgs::Pose* OccupancyGrid_MapMetaInfo::release_origin() {
478  // @@protoc_insertion_point(field_release:ignition.msgs.OccupancyGrid.MapMetaInfo.origin)
479 
480  ::ignition::msgs::Pose* temp = origin_;
481  origin_ = NULL;
482  return temp;
483 }
484 inline ::ignition::msgs::Pose* OccupancyGrid_MapMetaInfo::mutable_origin() {
485 
486  if (origin_ == NULL) {
487  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArenaNoVirtual());
488  origin_ = p;
489  }
490  // @@protoc_insertion_point(field_mutable:ignition.msgs.OccupancyGrid.MapMetaInfo.origin)
491  return origin_;
492 }
494  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
495  if (message_arena == NULL) {
496  delete reinterpret_cast< ::google::protobuf::MessageLite*>(origin_);
497  }
498  if (origin) {
499  ::google::protobuf::Arena* submessage_arena = NULL;
500  if (message_arena != submessage_arena) {
501  origin = ::google::protobuf::internal::GetOwnedMessage(
502  message_arena, origin, submessage_arena);
503  }
504 
505  } else {
506 
507  }
508  origin_ = origin;
509  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.OccupancyGrid.MapMetaInfo.origin)
510 }
511 
512 // -------------------------------------------------------------------
513 
514 // OccupancyGrid
515 
516 // .ignition.msgs.Header header = 1;
517 inline bool OccupancyGrid::has_header() const {
518  return this != internal_default_instance() && header_ != NULL;
519 }
520 inline const ::ignition::msgs::Header& OccupancyGrid::_internal_header() const {
521  return *header_;
522 }
523 inline const ::ignition::msgs::Header& OccupancyGrid::header() const {
524  const ::ignition::msgs::Header* p = header_;
525  // @@protoc_insertion_point(field_get:ignition.msgs.OccupancyGrid.header)
526  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
528 }
529 inline ::ignition::msgs::Header* OccupancyGrid::release_header() {
530  // @@protoc_insertion_point(field_release:ignition.msgs.OccupancyGrid.header)
531 
532  ::ignition::msgs::Header* temp = header_;
533  header_ = NULL;
534  return temp;
535 }
536 inline ::ignition::msgs::Header* OccupancyGrid::mutable_header() {
537 
538  if (header_ == NULL) {
539  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
540  header_ = p;
541  }
542  // @@protoc_insertion_point(field_mutable:ignition.msgs.OccupancyGrid.header)
543  return header_;
544 }
546  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
547  if (message_arena == NULL) {
548  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
549  }
550  if (header) {
551  ::google::protobuf::Arena* submessage_arena = NULL;
552  if (message_arena != submessage_arena) {
553  header = ::google::protobuf::internal::GetOwnedMessage(
554  message_arena, header, submessage_arena);
555  }
556 
557  } else {
558 
559  }
560  header_ = header;
561  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.OccupancyGrid.header)
562 }
563 
564 // .ignition.msgs.OccupancyGrid.MapMetaInfo info = 2;
565 inline bool OccupancyGrid::has_info() const {
566  return this != internal_default_instance() && info_ != NULL;
567 }
569  if (GetArenaNoVirtual() == NULL && info_ != NULL) {
570  delete info_;
571  }
572  info_ = NULL;
573 }
574 inline const ::ignition::msgs::OccupancyGrid_MapMetaInfo& OccupancyGrid::_internal_info() const {
575  return *info_;
576 }
577 inline const ::ignition::msgs::OccupancyGrid_MapMetaInfo& OccupancyGrid::info() const {
578  const ::ignition::msgs::OccupancyGrid_MapMetaInfo* p = info_;
579  // @@protoc_insertion_point(field_get:ignition.msgs.OccupancyGrid.info)
580  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::OccupancyGrid_MapMetaInfo*>(
582 }
583 inline ::ignition::msgs::OccupancyGrid_MapMetaInfo* OccupancyGrid::release_info() {
584  // @@protoc_insertion_point(field_release:ignition.msgs.OccupancyGrid.info)
585 
587  info_ = NULL;
588  return temp;
589 }
590 inline ::ignition::msgs::OccupancyGrid_MapMetaInfo* OccupancyGrid::mutable_info() {
591 
592  if (info_ == NULL) {
593  auto* p = CreateMaybeMessage<::ignition::msgs::OccupancyGrid_MapMetaInfo>(GetArenaNoVirtual());
594  info_ = p;
595  }
596  // @@protoc_insertion_point(field_mutable:ignition.msgs.OccupancyGrid.info)
597  return info_;
598 }
600  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
601  if (message_arena == NULL) {
602  delete info_;
603  }
604  if (info) {
605  ::google::protobuf::Arena* submessage_arena = NULL;
606  if (message_arena != submessage_arena) {
607  info = ::google::protobuf::internal::GetOwnedMessage(
608  message_arena, info, submessage_arena);
609  }
610 
611  } else {
612 
613  }
614  info_ = info;
615  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.OccupancyGrid.info)
616 }
617 
618 // bytes data = 3;
620  data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
621 }
622 inline const ::std::string& OccupancyGrid::data() const {
623  // @@protoc_insertion_point(field_get:ignition.msgs.OccupancyGrid.data)
624  return data_.GetNoArena();
625 }
626 inline void OccupancyGrid::set_data(const ::std::string& value) {
627 
628  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
629  // @@protoc_insertion_point(field_set:ignition.msgs.OccupancyGrid.data)
630 }
631 #if LANG_CXX11
632 inline void OccupancyGrid::set_data(::std::string&& value) {
633 
634  data_.SetNoArena(
635  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
636  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.OccupancyGrid.data)
637 }
638 #endif
639 inline void OccupancyGrid::set_data(const char* value) {
640  GOOGLE_DCHECK(value != NULL);
641 
642  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
643  // @@protoc_insertion_point(field_set_char:ignition.msgs.OccupancyGrid.data)
644 }
645 inline void OccupancyGrid::set_data(const void* value, size_t size) {
646 
647  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
648  ::std::string(reinterpret_cast<const char*>(value), size));
649  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.OccupancyGrid.data)
650 }
651 inline ::std::string* OccupancyGrid::mutable_data() {
652 
653  // @@protoc_insertion_point(field_mutable:ignition.msgs.OccupancyGrid.data)
654  return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
655 }
656 inline ::std::string* OccupancyGrid::release_data() {
657  // @@protoc_insertion_point(field_release:ignition.msgs.OccupancyGrid.data)
658 
659  return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
660 }
662  if (data != NULL) {
663 
664  } else {
665 
666  }
667  data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data);
668  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.OccupancyGrid.data)
669 }
670 
671 #ifdef __GNUC__
672  #pragma GCC diagnostic pop
673 #endif // __GNUC__
674 // -------------------------------------------------------------------
675 
676 
681 // @@protoc_insertion_point(namespace_scope)
682 
683 } // namespace msgs
684 } // namespace ignition
685 
686 #ifdef _MSC_VER
687 #pragma warning(pop)
688 #endif
689 // @@protoc_insertion_point(global_scope)
690 
691 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2foccupancy_5fgrid_2eproto
::ignition::msgs::Pose * release_origin()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:477
void set_allocated_info(::ignition::msgs::OccupancyGrid_MapMetaInfo *info)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:599
STL class.
STL class.
Definition: build/ignition-msgs5/include/ignition/msgs/time.pb.h:76
OccupancyGrid_MapMetaInfo * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:131
OccupancyGrid_MapMetaInfo & operator=(const OccupancyGrid_MapMetaInfo &from)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:90
T move(T... args)
OccupancyGrid * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:274
void set_height(::google::protobuf::uint32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:458
bool has_map_load_time() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:375
Definition: build/ignition-msgs5/include/ignition/msgs/pose.pb.h:79
IGNITION_MSGS_VISIBLE TimeDefaultTypeInternal _Time_default_instance_
void set_data(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:626
void set_allocated_origin(::ignition::msgs::Pose *origin)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:493
::ignition::msgs::OccupancyGrid_MapMetaInfo * mutable_info()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:590
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
::google::protobuf::uint32 width() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:440
void set_allocated_data(::std::string *data)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:661
void clear_resolution()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:423
const ::std::string & data() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:622
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:523
void Swap(OccupancyGrid *other)
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:545
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:536
OccupancyGrid_MapMetaInfo * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:127
const ::ignition::msgs::Time & map_load_time() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:381
friend void swap(OccupancyGrid_MapMetaInfo &a, OccupancyGrid_MapMetaInfo &b)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:121
::ignition::msgs::OccupancyGrid_MapMetaInfo * release_info()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:583
::google::protobuf::uint32 height() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:454
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:83
static const OccupancyGrid_MapMetaInfo * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:113
std::unique_ptr< const OccupancyGrid > ConstOccupancyGridUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:678
IGNITION_MSGS_VISIBLE OccupancyGridDefaultTypeInternal _OccupancyGrid_default_instance_
void set_resolution(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:430
void clear_width()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:437
OccupancyGrid & operator=(const OccupancyGrid &from)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:233
void set_width(::google::protobuf::uint32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:444
IGNITION_MSGS_VISIBLE OccupancyGrid_MapMetaInfoDefaultTypeInternal _OccupancyGrid_MapMetaInfo_default_instance_
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:50
::ignition::msgs::Time * release_map_load_time()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:387
std::shared_ptr< const OccupancyGrid > ConstOccupancyGridSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:680
void clear_data()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:619
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:529
::ignition::msgs::Pose * mutable_origin()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:484
bool has_origin() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:465
static const OccupancyGrid * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:256
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
::ignition::msgs::Time * mutable_map_load_time()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:394
std::shared_ptr< OccupancyGrid > OccupancyGridSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:679
STL namespace.
void clear_height()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:451
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:52
std::unique_ptr< OccupancyGrid > OccupancyGridUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:677
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:226
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:517
void clear_info()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:568
::std::string * mutable_data()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:651
OccupancyGrid * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:270
const ::ignition::msgs::OccupancyGrid_MapMetaInfo & info() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:577
bool has_info() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:565
::std::string * release_data()
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:656
double resolution() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:426
STL class.
void set_allocated_map_load_time(::ignition::msgs::Time *map_load_time)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:403
void Swap(OccupancyGrid_MapMetaInfo *other)
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
friend void swap(OccupancyGrid &a, OccupancyGrid &b)
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:264
const ::ignition::msgs::Pose & origin() const
Definition: build/ignition-msgs5/include/ignition/msgs/occupancy_grid.pb.h:471