Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/pid.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/pid.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fpid_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fpid_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>
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fpid_2eproto IGNITION_MSGS_VISIBLE
48 
50 // Internal implementation detail -- do not use these members.
51 struct IGNITION_MSGS_VISIBLE TableStruct {
52  static const ::google::protobuf::internal::ParseTableField entries[];
53  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54  static const ::google::protobuf::internal::ParseTable schema[1];
55  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56  static const ::google::protobuf::internal::SerializationTable serialization_table[];
57  static const ::google::protobuf::uint32 offsets[];
58 };
59 void IGNITION_MSGS_VISIBLE AddDescriptors();
60 } // namespace protobuf_ignition_2fmsgs_2fpid_2eproto
61 namespace ignition {
62 namespace msgs {
63 class PID;
64 class PIDDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern PIDDefaultTypeInternal _PID_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PID* Arena::CreateMaybeMessage<::ignition::msgs::PID>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE PID : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.PID) */ {
79  public:
80  PID();
81  virtual ~PID();
82 
83  PID(const PID& from);
84 
85  inline PID& operator=(const PID& from) {
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
90  PID(PID&& from) noexcept
91  : PID() {
92  *this = ::std::move(from);
93  }
94 
95  inline PID& operator=(PID&& from) noexcept {
96  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97  if (this != &from) InternalSwap(&from);
98  } else {
99  CopyFrom(from);
100  }
101  return *this;
102  }
103  #endif
104  static const ::google::protobuf::Descriptor* descriptor();
105  static const PID& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
108  static inline const PID* internal_default_instance() {
109  return reinterpret_cast<const PID*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(PID* other);
116  friend void swap(PID& a, PID& b) {
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline PID* New() const final {
123  return CreateMaybeMessage<PID>(NULL);
124  }
125 
126  PID* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<PID>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const PID& from);
132  void MergeFrom(const PID& from);
133  void Clear() final;
134  bool IsInitialized() const final;
135 
136  size_t ByteSizeLong() const final;
137  bool MergePartialFromCodedStream(
138  ::google::protobuf::io::CodedInputStream* input) final;
139  void SerializeWithCachedSizes(
140  ::google::protobuf::io::CodedOutputStream* output) const final;
141  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
142  bool deterministic, ::google::protobuf::uint8* target) const final;
143  int GetCachedSize() const final { return _cached_size_.Get(); }
144 
145  private:
146  void SharedCtor();
147  void SharedDtor();
148  void SetCachedSize(int size) const final;
149  void InternalSwap(PID* other);
150  private:
151  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
152  return NULL;
153  }
154  inline void* MaybeArenaPtr() const {
155  return NULL;
156  }
157  public:
158 
159  ::google::protobuf::Metadata GetMetadata() const final;
160 
161  // nested types ----------------------------------------------------
162 
163  // accessors -------------------------------------------------------
164 
165  // .ignition.msgs.Header header = 1;
166  bool has_header() const;
167  void clear_header();
168  static const int kHeaderFieldNumber = 1;
169  private:
170  const ::ignition::msgs::Header& _internal_header() const;
171  public:
172  const ::ignition::msgs::Header& header() const;
173  ::ignition::msgs::Header* release_header();
174  ::ignition::msgs::Header* mutable_header();
175  void set_allocated_header(::ignition::msgs::Header* header);
176 
177  // .ignition.msgs.Double target_optional = 2;
178  bool has_target_optional() const;
179  void clear_target_optional();
180  static const int kTargetOptionalFieldNumber = 2;
181  private:
182  const ::ignition::msgs::Double& _internal_target_optional() const;
183  public:
184  const ::ignition::msgs::Double& target_optional() const;
185  ::ignition::msgs::Double* release_target_optional();
186  ::ignition::msgs::Double* mutable_target_optional();
187  void set_allocated_target_optional(::ignition::msgs::Double* target_optional);
188 
189  // .ignition.msgs.Double p_gain_optional = 3;
190  bool has_p_gain_optional() const;
191  void clear_p_gain_optional();
192  static const int kPGainOptionalFieldNumber = 3;
193  private:
194  const ::ignition::msgs::Double& _internal_p_gain_optional() const;
195  public:
196  const ::ignition::msgs::Double& p_gain_optional() const;
197  ::ignition::msgs::Double* release_p_gain_optional();
198  ::ignition::msgs::Double* mutable_p_gain_optional();
199  void set_allocated_p_gain_optional(::ignition::msgs::Double* p_gain_optional);
200 
201  // .ignition.msgs.Double i_gain_optional = 4;
202  bool has_i_gain_optional() const;
203  void clear_i_gain_optional();
204  static const int kIGainOptionalFieldNumber = 4;
205  private:
206  const ::ignition::msgs::Double& _internal_i_gain_optional() const;
207  public:
208  const ::ignition::msgs::Double& i_gain_optional() const;
209  ::ignition::msgs::Double* release_i_gain_optional();
210  ::ignition::msgs::Double* mutable_i_gain_optional();
211  void set_allocated_i_gain_optional(::ignition::msgs::Double* i_gain_optional);
212 
213  // .ignition.msgs.Double d_gain_optional = 5;
214  bool has_d_gain_optional() const;
215  void clear_d_gain_optional();
216  static const int kDGainOptionalFieldNumber = 5;
217  private:
218  const ::ignition::msgs::Double& _internal_d_gain_optional() const;
219  public:
220  const ::ignition::msgs::Double& d_gain_optional() const;
221  ::ignition::msgs::Double* release_d_gain_optional();
222  ::ignition::msgs::Double* mutable_d_gain_optional();
223  void set_allocated_d_gain_optional(::ignition::msgs::Double* d_gain_optional);
224 
225  // .ignition.msgs.Double i_max_optional = 6;
226  bool has_i_max_optional() const;
227  void clear_i_max_optional();
228  static const int kIMaxOptionalFieldNumber = 6;
229  private:
230  const ::ignition::msgs::Double& _internal_i_max_optional() const;
231  public:
232  const ::ignition::msgs::Double& i_max_optional() const;
233  ::ignition::msgs::Double* release_i_max_optional();
234  ::ignition::msgs::Double* mutable_i_max_optional();
235  void set_allocated_i_max_optional(::ignition::msgs::Double* i_max_optional);
236 
237  // .ignition.msgs.Double i_min_optional = 7;
238  bool has_i_min_optional() const;
239  void clear_i_min_optional();
240  static const int kIMinOptionalFieldNumber = 7;
241  private:
242  const ::ignition::msgs::Double& _internal_i_min_optional() const;
243  public:
244  const ::ignition::msgs::Double& i_min_optional() const;
245  ::ignition::msgs::Double* release_i_min_optional();
246  ::ignition::msgs::Double* mutable_i_min_optional();
247  void set_allocated_i_min_optional(::ignition::msgs::Double* i_min_optional);
248 
249  // .ignition.msgs.Double limit_optional = 8;
250  bool has_limit_optional() const;
251  void clear_limit_optional();
252  static const int kLimitOptionalFieldNumber = 8;
253  private:
254  const ::ignition::msgs::Double& _internal_limit_optional() const;
255  public:
256  const ::ignition::msgs::Double& limit_optional() const;
257  ::ignition::msgs::Double* release_limit_optional();
258  ::ignition::msgs::Double* mutable_limit_optional();
259  void set_allocated_limit_optional(::ignition::msgs::Double* limit_optional);
260 
261  // @@protoc_insertion_point(class_scope:ignition.msgs.PID)
262  private:
263 
264  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
265  ::ignition::msgs::Header* header_;
266  ::ignition::msgs::Double* target_optional_;
267  ::ignition::msgs::Double* p_gain_optional_;
268  ::ignition::msgs::Double* i_gain_optional_;
269  ::ignition::msgs::Double* d_gain_optional_;
270  ::ignition::msgs::Double* i_max_optional_;
271  ::ignition::msgs::Double* i_min_optional_;
272  ::ignition::msgs::Double* limit_optional_;
273  mutable ::google::protobuf::internal::CachedSize _cached_size_;
274  friend struct ::protobuf_ignition_2fmsgs_2fpid_2eproto::TableStruct;
275 };
276 // ===================================================================
277 
278 
279 // ===================================================================
280 
281 #ifdef __GNUC__
282  #pragma GCC diagnostic push
283  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
284 #endif // __GNUC__
285 // PID
286 
287 // .ignition.msgs.Header header = 1;
288 inline bool PID::has_header() const {
289  return this != internal_default_instance() && header_ != NULL;
290 }
291 inline const ::ignition::msgs::Header& PID::_internal_header() const {
292  return *header_;
293 }
294 inline const ::ignition::msgs::Header& PID::header() const {
295  const ::ignition::msgs::Header* p = header_;
296  // @@protoc_insertion_point(field_get:ignition.msgs.PID.header)
297  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
299 }
300 inline ::ignition::msgs::Header* PID::release_header() {
301  // @@protoc_insertion_point(field_release:ignition.msgs.PID.header)
302 
303  ::ignition::msgs::Header* temp = header_;
304  header_ = NULL;
305  return temp;
306 }
307 inline ::ignition::msgs::Header* PID::mutable_header() {
308 
309  if (header_ == NULL) {
310  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
311  header_ = p;
312  }
313  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.header)
314  return header_;
315 }
317  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
318  if (message_arena == NULL) {
319  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
320  }
321  if (header) {
322  ::google::protobuf::Arena* submessage_arena = NULL;
323  if (message_arena != submessage_arena) {
324  header = ::google::protobuf::internal::GetOwnedMessage(
325  message_arena, header, submessage_arena);
326  }
327 
328  } else {
329 
330  }
331  header_ = header;
332  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.header)
333 }
334 
335 // .ignition.msgs.Double target_optional = 2;
336 inline bool PID::has_target_optional() const {
337  return this != internal_default_instance() && target_optional_ != NULL;
338 }
339 inline const ::ignition::msgs::Double& PID::_internal_target_optional() const {
340  return *target_optional_;
341 }
342 inline const ::ignition::msgs::Double& PID::target_optional() const {
343  const ::ignition::msgs::Double* p = target_optional_;
344  // @@protoc_insertion_point(field_get:ignition.msgs.PID.target_optional)
345  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
347 }
348 inline ::ignition::msgs::Double* PID::release_target_optional() {
349  // @@protoc_insertion_point(field_release:ignition.msgs.PID.target_optional)
350 
351  ::ignition::msgs::Double* temp = target_optional_;
352  target_optional_ = NULL;
353  return temp;
354 }
355 inline ::ignition::msgs::Double* PID::mutable_target_optional() {
356 
357  if (target_optional_ == NULL) {
358  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
359  target_optional_ = p;
360  }
361  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.target_optional)
362  return target_optional_;
363 }
365  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
366  if (message_arena == NULL) {
367  delete reinterpret_cast< ::google::protobuf::MessageLite*>(target_optional_);
368  }
369  if (target_optional) {
370  ::google::protobuf::Arena* submessage_arena = NULL;
371  if (message_arena != submessage_arena) {
372  target_optional = ::google::protobuf::internal::GetOwnedMessage(
373  message_arena, target_optional, submessage_arena);
374  }
375 
376  } else {
377 
378  }
379  target_optional_ = target_optional;
380  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.target_optional)
381 }
382 
383 // .ignition.msgs.Double p_gain_optional = 3;
384 inline bool PID::has_p_gain_optional() const {
385  return this != internal_default_instance() && p_gain_optional_ != NULL;
386 }
387 inline const ::ignition::msgs::Double& PID::_internal_p_gain_optional() const {
388  return *p_gain_optional_;
389 }
390 inline const ::ignition::msgs::Double& PID::p_gain_optional() const {
391  const ::ignition::msgs::Double* p = p_gain_optional_;
392  // @@protoc_insertion_point(field_get:ignition.msgs.PID.p_gain_optional)
393  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
395 }
396 inline ::ignition::msgs::Double* PID::release_p_gain_optional() {
397  // @@protoc_insertion_point(field_release:ignition.msgs.PID.p_gain_optional)
398 
399  ::ignition::msgs::Double* temp = p_gain_optional_;
400  p_gain_optional_ = NULL;
401  return temp;
402 }
403 inline ::ignition::msgs::Double* PID::mutable_p_gain_optional() {
404 
405  if (p_gain_optional_ == NULL) {
406  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
407  p_gain_optional_ = p;
408  }
409  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.p_gain_optional)
410  return p_gain_optional_;
411 }
413  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
414  if (message_arena == NULL) {
415  delete reinterpret_cast< ::google::protobuf::MessageLite*>(p_gain_optional_);
416  }
417  if (p_gain_optional) {
418  ::google::protobuf::Arena* submessage_arena = NULL;
419  if (message_arena != submessage_arena) {
420  p_gain_optional = ::google::protobuf::internal::GetOwnedMessage(
421  message_arena, p_gain_optional, submessage_arena);
422  }
423 
424  } else {
425 
426  }
427  p_gain_optional_ = p_gain_optional;
428  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.p_gain_optional)
429 }
430 
431 // .ignition.msgs.Double i_gain_optional = 4;
432 inline bool PID::has_i_gain_optional() const {
433  return this != internal_default_instance() && i_gain_optional_ != NULL;
434 }
435 inline const ::ignition::msgs::Double& PID::_internal_i_gain_optional() const {
436  return *i_gain_optional_;
437 }
438 inline const ::ignition::msgs::Double& PID::i_gain_optional() const {
439  const ::ignition::msgs::Double* p = i_gain_optional_;
440  // @@protoc_insertion_point(field_get:ignition.msgs.PID.i_gain_optional)
441  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
443 }
444 inline ::ignition::msgs::Double* PID::release_i_gain_optional() {
445  // @@protoc_insertion_point(field_release:ignition.msgs.PID.i_gain_optional)
446 
447  ::ignition::msgs::Double* temp = i_gain_optional_;
448  i_gain_optional_ = NULL;
449  return temp;
450 }
451 inline ::ignition::msgs::Double* PID::mutable_i_gain_optional() {
452 
453  if (i_gain_optional_ == NULL) {
454  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
455  i_gain_optional_ = p;
456  }
457  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.i_gain_optional)
458  return i_gain_optional_;
459 }
461  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
462  if (message_arena == NULL) {
463  delete reinterpret_cast< ::google::protobuf::MessageLite*>(i_gain_optional_);
464  }
465  if (i_gain_optional) {
466  ::google::protobuf::Arena* submessage_arena = NULL;
467  if (message_arena != submessage_arena) {
468  i_gain_optional = ::google::protobuf::internal::GetOwnedMessage(
469  message_arena, i_gain_optional, submessage_arena);
470  }
471 
472  } else {
473 
474  }
475  i_gain_optional_ = i_gain_optional;
476  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.i_gain_optional)
477 }
478 
479 // .ignition.msgs.Double d_gain_optional = 5;
480 inline bool PID::has_d_gain_optional() const {
481  return this != internal_default_instance() && d_gain_optional_ != NULL;
482 }
483 inline const ::ignition::msgs::Double& PID::_internal_d_gain_optional() const {
484  return *d_gain_optional_;
485 }
486 inline const ::ignition::msgs::Double& PID::d_gain_optional() const {
487  const ::ignition::msgs::Double* p = d_gain_optional_;
488  // @@protoc_insertion_point(field_get:ignition.msgs.PID.d_gain_optional)
489  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
491 }
492 inline ::ignition::msgs::Double* PID::release_d_gain_optional() {
493  // @@protoc_insertion_point(field_release:ignition.msgs.PID.d_gain_optional)
494 
495  ::ignition::msgs::Double* temp = d_gain_optional_;
496  d_gain_optional_ = NULL;
497  return temp;
498 }
499 inline ::ignition::msgs::Double* PID::mutable_d_gain_optional() {
500 
501  if (d_gain_optional_ == NULL) {
502  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
503  d_gain_optional_ = p;
504  }
505  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.d_gain_optional)
506  return d_gain_optional_;
507 }
509  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
510  if (message_arena == NULL) {
511  delete reinterpret_cast< ::google::protobuf::MessageLite*>(d_gain_optional_);
512  }
513  if (d_gain_optional) {
514  ::google::protobuf::Arena* submessage_arena = NULL;
515  if (message_arena != submessage_arena) {
516  d_gain_optional = ::google::protobuf::internal::GetOwnedMessage(
517  message_arena, d_gain_optional, submessage_arena);
518  }
519 
520  } else {
521 
522  }
523  d_gain_optional_ = d_gain_optional;
524  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.d_gain_optional)
525 }
526 
527 // .ignition.msgs.Double i_max_optional = 6;
528 inline bool PID::has_i_max_optional() const {
529  return this != internal_default_instance() && i_max_optional_ != NULL;
530 }
531 inline const ::ignition::msgs::Double& PID::_internal_i_max_optional() const {
532  return *i_max_optional_;
533 }
534 inline const ::ignition::msgs::Double& PID::i_max_optional() const {
535  const ::ignition::msgs::Double* p = i_max_optional_;
536  // @@protoc_insertion_point(field_get:ignition.msgs.PID.i_max_optional)
537  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
539 }
540 inline ::ignition::msgs::Double* PID::release_i_max_optional() {
541  // @@protoc_insertion_point(field_release:ignition.msgs.PID.i_max_optional)
542 
543  ::ignition::msgs::Double* temp = i_max_optional_;
544  i_max_optional_ = NULL;
545  return temp;
546 }
547 inline ::ignition::msgs::Double* PID::mutable_i_max_optional() {
548 
549  if (i_max_optional_ == NULL) {
550  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
551  i_max_optional_ = p;
552  }
553  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.i_max_optional)
554  return i_max_optional_;
555 }
557  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
558  if (message_arena == NULL) {
559  delete reinterpret_cast< ::google::protobuf::MessageLite*>(i_max_optional_);
560  }
561  if (i_max_optional) {
562  ::google::protobuf::Arena* submessage_arena = NULL;
563  if (message_arena != submessage_arena) {
564  i_max_optional = ::google::protobuf::internal::GetOwnedMessage(
565  message_arena, i_max_optional, submessage_arena);
566  }
567 
568  } else {
569 
570  }
571  i_max_optional_ = i_max_optional;
572  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.i_max_optional)
573 }
574 
575 // .ignition.msgs.Double i_min_optional = 7;
576 inline bool PID::has_i_min_optional() const {
577  return this != internal_default_instance() && i_min_optional_ != NULL;
578 }
579 inline const ::ignition::msgs::Double& PID::_internal_i_min_optional() const {
580  return *i_min_optional_;
581 }
582 inline const ::ignition::msgs::Double& PID::i_min_optional() const {
583  const ::ignition::msgs::Double* p = i_min_optional_;
584  // @@protoc_insertion_point(field_get:ignition.msgs.PID.i_min_optional)
585  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
587 }
588 inline ::ignition::msgs::Double* PID::release_i_min_optional() {
589  // @@protoc_insertion_point(field_release:ignition.msgs.PID.i_min_optional)
590 
591  ::ignition::msgs::Double* temp = i_min_optional_;
592  i_min_optional_ = NULL;
593  return temp;
594 }
595 inline ::ignition::msgs::Double* PID::mutable_i_min_optional() {
596 
597  if (i_min_optional_ == NULL) {
598  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
599  i_min_optional_ = p;
600  }
601  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.i_min_optional)
602  return i_min_optional_;
603 }
605  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
606  if (message_arena == NULL) {
607  delete reinterpret_cast< ::google::protobuf::MessageLite*>(i_min_optional_);
608  }
609  if (i_min_optional) {
610  ::google::protobuf::Arena* submessage_arena = NULL;
611  if (message_arena != submessage_arena) {
612  i_min_optional = ::google::protobuf::internal::GetOwnedMessage(
613  message_arena, i_min_optional, submessage_arena);
614  }
615 
616  } else {
617 
618  }
619  i_min_optional_ = i_min_optional;
620  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.i_min_optional)
621 }
622 
623 // .ignition.msgs.Double limit_optional = 8;
624 inline bool PID::has_limit_optional() const {
625  return this != internal_default_instance() && limit_optional_ != NULL;
626 }
627 inline const ::ignition::msgs::Double& PID::_internal_limit_optional() const {
628  return *limit_optional_;
629 }
630 inline const ::ignition::msgs::Double& PID::limit_optional() const {
631  const ::ignition::msgs::Double* p = limit_optional_;
632  // @@protoc_insertion_point(field_get:ignition.msgs.PID.limit_optional)
633  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
635 }
636 inline ::ignition::msgs::Double* PID::release_limit_optional() {
637  // @@protoc_insertion_point(field_release:ignition.msgs.PID.limit_optional)
638 
639  ::ignition::msgs::Double* temp = limit_optional_;
640  limit_optional_ = NULL;
641  return temp;
642 }
643 inline ::ignition::msgs::Double* PID::mutable_limit_optional() {
644 
645  if (limit_optional_ == NULL) {
646  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
647  limit_optional_ = p;
648  }
649  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.limit_optional)
650  return limit_optional_;
651 }
653  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
654  if (message_arena == NULL) {
655  delete reinterpret_cast< ::google::protobuf::MessageLite*>(limit_optional_);
656  }
657  if (limit_optional) {
658  ::google::protobuf::Arena* submessage_arena = NULL;
659  if (message_arena != submessage_arena) {
660  limit_optional = ::google::protobuf::internal::GetOwnedMessage(
661  message_arena, limit_optional, submessage_arena);
662  }
663 
664  } else {
665 
666  }
667  limit_optional_ = limit_optional;
668  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.limit_optional)
669 }
670 
671 #ifdef __GNUC__
672  #pragma GCC diagnostic pop
673 #endif // __GNUC__
674 
679 // @@protoc_insertion_point(namespace_scope)
680 
681 } // namespace msgs
682 } // namespace ignition
683 
684 #ifdef _MSC_VER
685 #pragma warning(pop)
686 #endif
687 // @@protoc_insertion_point(global_scope)
688 
689 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fpid_2eproto
void Swap(PID *other)
PID & operator=(const PID &from)
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:85
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:307
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:49
IGNITION_MSGS_VISIBLE PIDDefaultTypeInternal _PID_default_instance_
::ignition::msgs::Double * release_p_gain_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:396
friend void swap(PID &a, PID &b)
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:116
bool has_limit_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:624
STL class.
void set_allocated_d_gain_optional(::ignition::msgs::Double *d_gain_optional)
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:508
const ::ignition::msgs::Double & i_gain_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:438
::ignition::msgs::Double * mutable_target_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:355
::ignition::msgs::Double * mutable_limit_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:643
const ::ignition::msgs::Double & p_gain_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:390
void set_allocated_limit_optional(::ignition::msgs::Double *limit_optional)
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:652
void set_allocated_i_max_optional(::ignition::msgs::Double *i_max_optional)
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:556
::ignition::msgs::Double * release_i_gain_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:444
::ignition::msgs::Double * mutable_i_max_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:547
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:288
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:294
std::unique_ptr< const PID > ConstPIDUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:676
const ::ignition::msgs::Double & d_gain_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:486
::ignition::msgs::Double * release_target_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:348
const ::ignition::msgs::Double & target_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:342
std::unique_ptr< PID > PIDUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:675
::ignition::msgs::Double * release_i_min_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:588
const ::ignition::msgs::Double & limit_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:630
Definition: build/ignition-msgs8/include/ignition/msgs/double.pb.h:77
std::shared_ptr< PID > PIDSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:677
IGNITION_MSGS_VISIBLE DoubleDefaultTypeInternal _Double_default_instance_
void set_allocated_i_min_optional(::ignition::msgs::Double *i_min_optional)
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:604
PID * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:126
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:316
bool has_d_gain_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:480
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:51
bool has_i_max_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:528
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:78
::ignition::msgs::Double * mutable_p_gain_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:403
const ::ignition::msgs::Double & i_max_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:534
bool has_i_min_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:576
bool has_p_gain_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:384
bool has_target_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:336
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:300
std::shared_ptr< const PID > ConstPIDSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:678
void set_allocated_target_optional(::ignition::msgs::Double *target_optional)
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:364
::ignition::msgs::Double * mutable_d_gain_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:499
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const ::ignition::msgs::Double & i_min_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:582
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
void set_allocated_i_gain_optional(::ignition::msgs::Double *i_gain_optional)
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:460
PID * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:122
::ignition::msgs::Double * mutable_i_min_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:595
static const PID * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:108
::ignition::msgs::Double * mutable_i_gain_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:451
void set_allocated_p_gain_optional(::ignition::msgs::Double *p_gain_optional)
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:412
void IGNITION_MSGS_VISIBLE AddDescriptors()
::ignition::msgs::Double * release_i_max_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:540
STL class.
::ignition::msgs::Double * release_limit_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:636
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
bool has_i_gain_optional() const
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:432
::ignition::msgs::Double * release_d_gain_optional()
Definition: build/ignition-msgs8/include/ignition/msgs/pid.pb.h:492