Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/propagation_particle.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpropagation_5fparticle_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpropagation_5fparticle_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.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 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fpropagation_5fparticle_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
67 };
68 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpropagation_5fparticle_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class PropagationParticle;
72 class PropagationParticleDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern PropagationParticleDefaultTypeInternal _PropagationParticle_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PropagationParticle* Arena::CreateMaybeMessage<::ignition::msgs::PropagationParticle>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE PropagationParticle PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.PropagationParticle) */ {
86  public:
87  inline PropagationParticle() : PropagationParticle(nullptr) {};
89 
90  PropagationParticle(const PropagationParticle& from);
91  PropagationParticle(PropagationParticle&& from) noexcept
92  : PropagationParticle() {
93  *this = ::std::move(from);
94  }
95 
96  inline PropagationParticle& operator=(const PropagationParticle& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline PropagationParticle& operator=(PropagationParticle&& from) noexcept {
101  if (GetArena() == from.GetArena()) {
102  if (this != &from) InternalSwap(&from);
103  } else {
104  CopyFrom(from);
105  }
106  return *this;
107  }
108 
109  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
110  return GetDescriptor();
111  }
112  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
113  return GetMetadataStatic().descriptor;
114  }
115  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
116  return GetMetadataStatic().reflection;
117  }
118  static const PropagationParticle& default_instance();
119 
120  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
121  static inline const PropagationParticle* internal_default_instance() {
122  return reinterpret_cast<const PropagationParticle*>(
124  }
125  static constexpr int kIndexInFileMessages =
126  0;
127 
128  friend void swap(PropagationParticle& a, PropagationParticle& b) {
129  a.Swap(&b);
130  }
131  inline void Swap(PropagationParticle* other) {
132  if (other == this) return;
133  if (GetArena() == other->GetArena()) {
134  InternalSwap(other);
135  } else {
136  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
137  }
138  }
139  void UnsafeArenaSwap(PropagationParticle* other) {
140  if (other == this) return;
141  GOOGLE_DCHECK(GetArena() == other->GetArena());
142  InternalSwap(other);
143  }
144 
145  // implements Message ----------------------------------------------
146 
147  inline PropagationParticle* New() const final {
148  return CreateMaybeMessage<PropagationParticle>(nullptr);
149  }
150 
151  PropagationParticle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
152  return CreateMaybeMessage<PropagationParticle>(arena);
153  }
154  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
155  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
156  void CopyFrom(const PropagationParticle& from);
157  void MergeFrom(const PropagationParticle& from);
158  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
159  bool IsInitialized() const final;
160 
161  size_t ByteSizeLong() const final;
162  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
163  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
164  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
165  int GetCachedSize() const final { return _cached_size_.Get(); }
166 
167  private:
168  inline void SharedCtor();
169  inline void SharedDtor();
170  void SetCachedSize(int size) const final;
171  void InternalSwap(PropagationParticle* other);
172  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174  return "ignition.msgs.PropagationParticle";
175  }
176  protected:
177  explicit PropagationParticle(::PROTOBUF_NAMESPACE_ID::Arena* arena);
178  private:
179  static void ArenaDtor(void* object);
180  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
181  public:
182 
183  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
184  private:
185  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
186  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fpropagation_5fparticle_2eproto);
187  return ::descriptor_table_ignition_2fmsgs_2fpropagation_5fparticle_2eproto.file_level_metadata[kIndexInFileMessages];
188  }
189 
190  public:
191 
192  // nested types ----------------------------------------------------
193 
194  // accessors -------------------------------------------------------
195 
196  enum : int {
197  kHeaderFieldNumber = 1,
198  kXFieldNumber = 2,
199  kYFieldNumber = 3,
200  kSignalLevelFieldNumber = 4,
201  };
202  // .ignition.msgs.Header header = 1;
203  bool has_header() const;
204  private:
205  bool _internal_has_header() const;
206  public:
207  void clear_header();
208  const ::ignition::msgs::Header& header() const;
209  ::ignition::msgs::Header* release_header();
210  ::ignition::msgs::Header* mutable_header();
211  void set_allocated_header(::ignition::msgs::Header* header);
212  private:
213  const ::ignition::msgs::Header& _internal_header() const;
214  ::ignition::msgs::Header* _internal_mutable_header();
215  public:
217  ::ignition::msgs::Header* header);
218  ::ignition::msgs::Header* unsafe_arena_release_header();
219 
220  // double x = 2;
221  void clear_x();
222  double x() const;
223  void set_x(double value);
224  private:
225  double _internal_x() const;
226  void _internal_set_x(double value);
227  public:
228 
229  // double y = 3;
230  void clear_y();
231  double y() const;
232  void set_y(double value);
233  private:
234  double _internal_y() const;
235  void _internal_set_y(double value);
236  public:
237 
238  // double signal_level = 4;
240  double signal_level() const;
241  void set_signal_level(double value);
242  private:
243  double _internal_signal_level() const;
244  void _internal_set_signal_level(double value);
245  public:
246 
247  // @@protoc_insertion_point(class_scope:ignition.msgs.PropagationParticle)
248  private:
249  class _Internal;
250 
251  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
252  typedef void InternalArenaConstructable_;
253  typedef void DestructorSkippable_;
254  ::ignition::msgs::Header* header_;
255  double x_;
256  double y_;
257  double signal_level_;
258  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
259  friend struct ::TableStruct_ignition_2fmsgs_2fpropagation_5fparticle_2eproto;
260 };
261 // ===================================================================
262 
263 
264 // ===================================================================
265 
266 #ifdef __GNUC__
267  #pragma GCC diagnostic push
268  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
269 #endif // __GNUC__
270 // PropagationParticle
271 
272 // .ignition.msgs.Header header = 1;
273 inline bool PropagationParticle::_internal_has_header() const {
274  return this != internal_default_instance() && header_ != nullptr;
275 }
276 inline bool PropagationParticle::has_header() const {
277  return _internal_has_header();
278 }
279 inline const ::ignition::msgs::Header& PropagationParticle::_internal_header() const {
280  const ::ignition::msgs::Header* p = header_;
281  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
283 }
284 inline const ::ignition::msgs::Header& PropagationParticle::header() const {
285  // @@protoc_insertion_point(field_get:ignition.msgs.PropagationParticle.header)
286  return _internal_header();
287 }
288 inline void PropagationParticle::unsafe_arena_set_allocated_header(
289  ::ignition::msgs::Header* header) {
290  if (GetArena() == nullptr) {
291  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
292  }
293  header_ = header;
294  if (header) {
295 
296  } else {
297 
298  }
299  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.PropagationParticle.header)
300 }
301 inline ::ignition::msgs::Header* PropagationParticle::release_header() {
302  auto temp = unsafe_arena_release_header();
303  if (GetArena() != nullptr) {
304  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
305  }
306  return temp;
307 }
308 inline ::ignition::msgs::Header* PropagationParticle::unsafe_arena_release_header() {
309  // @@protoc_insertion_point(field_release:ignition.msgs.PropagationParticle.header)
310 
311  ::ignition::msgs::Header* temp = header_;
312  header_ = nullptr;
313  return temp;
314 }
315 inline ::ignition::msgs::Header* PropagationParticle::_internal_mutable_header() {
316 
317  if (header_ == nullptr) {
318  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
319  header_ = p;
320  }
321  return header_;
322 }
323 inline ::ignition::msgs::Header* PropagationParticle::mutable_header() {
324  // @@protoc_insertion_point(field_mutable:ignition.msgs.PropagationParticle.header)
325  return _internal_mutable_header();
326 }
327 inline void PropagationParticle::set_allocated_header(::ignition::msgs::Header* header) {
328  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
329  if (message_arena == nullptr) {
330  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
331  }
332  if (header) {
333  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
334  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
335  if (message_arena != submessage_arena) {
336  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
337  message_arena, header, submessage_arena);
338  }
339 
340  } else {
341 
342  }
343  header_ = header;
344  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PropagationParticle.header)
345 }
346 
347 // double x = 2;
348 inline void PropagationParticle::clear_x() {
349  x_ = 0;
350 }
351 inline double PropagationParticle::_internal_x() const {
352  return x_;
353 }
354 inline double PropagationParticle::x() const {
355  // @@protoc_insertion_point(field_get:ignition.msgs.PropagationParticle.x)
356  return _internal_x();
357 }
358 inline void PropagationParticle::_internal_set_x(double value) {
359 
360  x_ = value;
361 }
362 inline void PropagationParticle::set_x(double value) {
363  _internal_set_x(value);
364  // @@protoc_insertion_point(field_set:ignition.msgs.PropagationParticle.x)
365 }
366 
367 // double y = 3;
368 inline void PropagationParticle::clear_y() {
369  y_ = 0;
370 }
371 inline double PropagationParticle::_internal_y() const {
372  return y_;
373 }
374 inline double PropagationParticle::y() const {
375  // @@protoc_insertion_point(field_get:ignition.msgs.PropagationParticle.y)
376  return _internal_y();
377 }
378 inline void PropagationParticle::_internal_set_y(double value) {
379 
380  y_ = value;
381 }
382 inline void PropagationParticle::set_y(double value) {
383  _internal_set_y(value);
384  // @@protoc_insertion_point(field_set:ignition.msgs.PropagationParticle.y)
385 }
386 
387 // double signal_level = 4;
388 inline void PropagationParticle::clear_signal_level() {
389  signal_level_ = 0;
390 }
391 inline double PropagationParticle::_internal_signal_level() const {
392  return signal_level_;
393 }
394 inline double PropagationParticle::signal_level() const {
395  // @@protoc_insertion_point(field_get:ignition.msgs.PropagationParticle.signal_level)
396  return _internal_signal_level();
397 }
398 inline void PropagationParticle::_internal_set_signal_level(double value) {
399 
400  signal_level_ = value;
401 }
402 inline void PropagationParticle::set_signal_level(double value) {
403  _internal_set_signal_level(value);
404  // @@protoc_insertion_point(field_set:ignition.msgs.PropagationParticle.signal_level)
405 }
406 
407 #ifdef __GNUC__
408  #pragma GCC diagnostic pop
409 #endif // __GNUC__
410 
415 // @@protoc_insertion_point(namespace_scope)
416 
417 } // namespace msgs
418 } // namespace ignition
419 
420 #ifdef _MSC_VER
421 #pragma warning(pop)
422 #endif
423 // @@protoc_insertion_point(global_scope)
424 
425 #include <google/protobuf/port_undef.inc>
426 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpropagation_5fparticle_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpropagation_5fparticle_2eproto
void CopyFrom(const PropagationParticle &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:115
PropagationParticle(PropagationParticle &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:91
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const PropagationParticle &from)
::ignition::msgs::Header * release_header()
::ignition::msgs::Header * mutable_header()
PropagationParticle()
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:87
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:109
void set_signal_level(double value)
static const PropagationParticle & default_instance()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
PropagationParticle(::PROTOBUF_NAMESPACE_ID::Arena *arena)
PropagationParticle & operator=(PropagationParticle &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:100
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
static const PropagationParticle * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:121
PropagationParticle * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:151
PropagationParticle * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:147
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_allocated_header(::ignition::msgs::Header *header)
void UnsafeArenaSwap(PropagationParticle *other)
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:139
friend void swap(PropagationParticle &a, PropagationParticle &b)
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:128
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:112
PropagationParticle & operator=(const PropagationParticle &from)
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:96
PropagationParticle(const PropagationParticle &from)
const ::ignition::msgs::Header & header() const
void Swap(PropagationParticle *other)
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:131
std::unique_ptr< PropagationParticle > PropagationParticleUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:411
std::shared_ptr< PropagationParticle > PropagationParticleSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:413
IGNITION_MSGS_VISIBLE PropagationParticleDefaultTypeInternal _PropagationParticle_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const PropagationParticle > ConstPropagationParticleSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:414
std::unique_ptr< const PropagationParticle > ConstPropagationParticleUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:412
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/propagation_particle.pb.h:57
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)