Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/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 = 9;
178  bool has_target_optional() const;
179  void clear_target_optional();
180  static const int kTargetOptionalFieldNumber = 9;
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 = 10;
190  bool has_p_gain_optional() const;
191  void clear_p_gain_optional();
192  static const int kPGainOptionalFieldNumber = 10;
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 = 11;
202  bool has_i_gain_optional() const;
203  void clear_i_gain_optional();
204  static const int kIGainOptionalFieldNumber = 11;
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 = 12;
214  bool has_d_gain_optional() const;
215  void clear_d_gain_optional();
216  static const int kDGainOptionalFieldNumber = 12;
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 = 13;
226  bool has_i_max_optional() const;
227  void clear_i_max_optional();
228  static const int kIMaxOptionalFieldNumber = 13;
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 = 14;
238  bool has_i_min_optional() const;
239  void clear_i_min_optional();
240  static const int kIMinOptionalFieldNumber = 14;
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 = 15;
250  bool has_limit_optional() const;
251  void clear_limit_optional();
252  static const int kLimitOptionalFieldNumber = 15;
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  // double target = 2 [deprecated = true];
262  GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_target();
263  GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kTargetFieldNumber = 2;
264  GOOGLE_PROTOBUF_DEPRECATED_ATTR double target() const;
265  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_target(double value);
266 
267  // double p_gain = 3 [deprecated = true];
268  GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_p_gain();
269  GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kPGainFieldNumber = 3;
270  GOOGLE_PROTOBUF_DEPRECATED_ATTR double p_gain() const;
271  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_p_gain(double value);
272 
273  // double i_gain = 4 [deprecated = true];
274  GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_i_gain();
275  GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kIGainFieldNumber = 4;
276  GOOGLE_PROTOBUF_DEPRECATED_ATTR double i_gain() const;
277  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_i_gain(double value);
278 
279  // double d_gain = 5 [deprecated = true];
280  GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_d_gain();
281  GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kDGainFieldNumber = 5;
282  GOOGLE_PROTOBUF_DEPRECATED_ATTR double d_gain() const;
283  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_d_gain(double value);
284 
285  // double i_max = 6 [deprecated = true];
286  GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_i_max();
287  GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kIMaxFieldNumber = 6;
288  GOOGLE_PROTOBUF_DEPRECATED_ATTR double i_max() const;
289  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_i_max(double value);
290 
291  // double i_min = 7 [deprecated = true];
292  GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_i_min();
293  GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kIMinFieldNumber = 7;
294  GOOGLE_PROTOBUF_DEPRECATED_ATTR double i_min() const;
295  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_i_min(double value);
296 
297  // double limit = 8 [deprecated = true];
298  GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_limit();
299  GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kLimitFieldNumber = 8;
300  GOOGLE_PROTOBUF_DEPRECATED_ATTR double limit() const;
301  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_limit(double value);
302 
303  // @@protoc_insertion_point(class_scope:ignition.msgs.PID)
304  private:
305 
306  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
307  ::ignition::msgs::Header* header_;
308  ::ignition::msgs::Double* target_optional_;
309  ::ignition::msgs::Double* p_gain_optional_;
310  ::ignition::msgs::Double* i_gain_optional_;
311  ::ignition::msgs::Double* d_gain_optional_;
312  ::ignition::msgs::Double* i_max_optional_;
313  ::ignition::msgs::Double* i_min_optional_;
314  ::ignition::msgs::Double* limit_optional_;
315  double target_;
316  double p_gain_;
317  double i_gain_;
318  double d_gain_;
319  double i_max_;
320  double i_min_;
321  double limit_;
322  mutable ::google::protobuf::internal::CachedSize _cached_size_;
323  friend struct ::protobuf_ignition_2fmsgs_2fpid_2eproto::TableStruct;
324 };
325 // ===================================================================
326 
327 
328 // ===================================================================
329 
330 #ifdef __GNUC__
331  #pragma GCC diagnostic push
332  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
333 #endif // __GNUC__
334 // PID
335 
336 // .ignition.msgs.Header header = 1;
337 inline bool PID::has_header() const {
338  return this != internal_default_instance() && header_ != NULL;
339 }
340 inline const ::ignition::msgs::Header& PID::_internal_header() const {
341  return *header_;
342 }
343 inline const ::ignition::msgs::Header& PID::header() const {
344  const ::ignition::msgs::Header* p = header_;
345  // @@protoc_insertion_point(field_get:ignition.msgs.PID.header)
346  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
348 }
349 inline ::ignition::msgs::Header* PID::release_header() {
350  // @@protoc_insertion_point(field_release:ignition.msgs.PID.header)
351 
352  ::ignition::msgs::Header* temp = header_;
353  header_ = NULL;
354  return temp;
355 }
356 inline ::ignition::msgs::Header* PID::mutable_header() {
357 
358  if (header_ == NULL) {
359  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
360  header_ = p;
361  }
362  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.header)
363  return header_;
364 }
366  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
367  if (message_arena == NULL) {
368  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
369  }
370  if (header) {
371  ::google::protobuf::Arena* submessage_arena = NULL;
372  if (message_arena != submessage_arena) {
373  header = ::google::protobuf::internal::GetOwnedMessage(
374  message_arena, header, submessage_arena);
375  }
376 
377  } else {
378 
379  }
380  header_ = header;
381  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.header)
382 }
383 
384 // double target = 2 [deprecated = true];
385 inline void PID::clear_target() {
386  target_ = 0;
387 }
388 inline double PID::target() const {
389  // @@protoc_insertion_point(field_get:ignition.msgs.PID.target)
390  return target_;
391 }
392 inline void PID::set_target(double value) {
393 
394  target_ = value;
395  // @@protoc_insertion_point(field_set:ignition.msgs.PID.target)
396 }
397 
398 // double p_gain = 3 [deprecated = true];
399 inline void PID::clear_p_gain() {
400  p_gain_ = 0;
401 }
402 inline double PID::p_gain() const {
403  // @@protoc_insertion_point(field_get:ignition.msgs.PID.p_gain)
404  return p_gain_;
405 }
406 inline void PID::set_p_gain(double value) {
407 
408  p_gain_ = value;
409  // @@protoc_insertion_point(field_set:ignition.msgs.PID.p_gain)
410 }
411 
412 // double i_gain = 4 [deprecated = true];
413 inline void PID::clear_i_gain() {
414  i_gain_ = 0;
415 }
416 inline double PID::i_gain() const {
417  // @@protoc_insertion_point(field_get:ignition.msgs.PID.i_gain)
418  return i_gain_;
419 }
420 inline void PID::set_i_gain(double value) {
421 
422  i_gain_ = value;
423  // @@protoc_insertion_point(field_set:ignition.msgs.PID.i_gain)
424 }
425 
426 // double d_gain = 5 [deprecated = true];
427 inline void PID::clear_d_gain() {
428  d_gain_ = 0;
429 }
430 inline double PID::d_gain() const {
431  // @@protoc_insertion_point(field_get:ignition.msgs.PID.d_gain)
432  return d_gain_;
433 }
434 inline void PID::set_d_gain(double value) {
435 
436  d_gain_ = value;
437  // @@protoc_insertion_point(field_set:ignition.msgs.PID.d_gain)
438 }
439 
440 // double i_max = 6 [deprecated = true];
441 inline void PID::clear_i_max() {
442  i_max_ = 0;
443 }
444 inline double PID::i_max() const {
445  // @@protoc_insertion_point(field_get:ignition.msgs.PID.i_max)
446  return i_max_;
447 }
448 inline void PID::set_i_max(double value) {
449 
450  i_max_ = value;
451  // @@protoc_insertion_point(field_set:ignition.msgs.PID.i_max)
452 }
453 
454 // double i_min = 7 [deprecated = true];
455 inline void PID::clear_i_min() {
456  i_min_ = 0;
457 }
458 inline double PID::i_min() const {
459  // @@protoc_insertion_point(field_get:ignition.msgs.PID.i_min)
460  return i_min_;
461 }
462 inline void PID::set_i_min(double value) {
463 
464  i_min_ = value;
465  // @@protoc_insertion_point(field_set:ignition.msgs.PID.i_min)
466 }
467 
468 // double limit = 8 [deprecated = true];
469 inline void PID::clear_limit() {
470  limit_ = 0;
471 }
472 inline double PID::limit() const {
473  // @@protoc_insertion_point(field_get:ignition.msgs.PID.limit)
474  return limit_;
475 }
476 inline void PID::set_limit(double value) {
477 
478  limit_ = value;
479  // @@protoc_insertion_point(field_set:ignition.msgs.PID.limit)
480 }
481 
482 // .ignition.msgs.Double target_optional = 9;
483 inline bool PID::has_target_optional() const {
484  return this != internal_default_instance() && target_optional_ != NULL;
485 }
486 inline const ::ignition::msgs::Double& PID::_internal_target_optional() const {
487  return *target_optional_;
488 }
489 inline const ::ignition::msgs::Double& PID::target_optional() const {
490  const ::ignition::msgs::Double* p = target_optional_;
491  // @@protoc_insertion_point(field_get:ignition.msgs.PID.target_optional)
492  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
494 }
495 inline ::ignition::msgs::Double* PID::release_target_optional() {
496  // @@protoc_insertion_point(field_release:ignition.msgs.PID.target_optional)
497 
498  ::ignition::msgs::Double* temp = target_optional_;
499  target_optional_ = NULL;
500  return temp;
501 }
502 inline ::ignition::msgs::Double* PID::mutable_target_optional() {
503 
504  if (target_optional_ == NULL) {
505  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
506  target_optional_ = p;
507  }
508  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.target_optional)
509  return target_optional_;
510 }
512  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
513  if (message_arena == NULL) {
514  delete reinterpret_cast< ::google::protobuf::MessageLite*>(target_optional_);
515  }
516  if (target_optional) {
517  ::google::protobuf::Arena* submessage_arena = NULL;
518  if (message_arena != submessage_arena) {
519  target_optional = ::google::protobuf::internal::GetOwnedMessage(
520  message_arena, target_optional, submessage_arena);
521  }
522 
523  } else {
524 
525  }
526  target_optional_ = target_optional;
527  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.target_optional)
528 }
529 
530 // .ignition.msgs.Double p_gain_optional = 10;
531 inline bool PID::has_p_gain_optional() const {
532  return this != internal_default_instance() && p_gain_optional_ != NULL;
533 }
534 inline const ::ignition::msgs::Double& PID::_internal_p_gain_optional() const {
535  return *p_gain_optional_;
536 }
537 inline const ::ignition::msgs::Double& PID::p_gain_optional() const {
538  const ::ignition::msgs::Double* p = p_gain_optional_;
539  // @@protoc_insertion_point(field_get:ignition.msgs.PID.p_gain_optional)
540  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
542 }
543 inline ::ignition::msgs::Double* PID::release_p_gain_optional() {
544  // @@protoc_insertion_point(field_release:ignition.msgs.PID.p_gain_optional)
545 
546  ::ignition::msgs::Double* temp = p_gain_optional_;
547  p_gain_optional_ = NULL;
548  return temp;
549 }
550 inline ::ignition::msgs::Double* PID::mutable_p_gain_optional() {
551 
552  if (p_gain_optional_ == NULL) {
553  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
554  p_gain_optional_ = p;
555  }
556  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.p_gain_optional)
557  return p_gain_optional_;
558 }
560  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
561  if (message_arena == NULL) {
562  delete reinterpret_cast< ::google::protobuf::MessageLite*>(p_gain_optional_);
563  }
564  if (p_gain_optional) {
565  ::google::protobuf::Arena* submessage_arena = NULL;
566  if (message_arena != submessage_arena) {
567  p_gain_optional = ::google::protobuf::internal::GetOwnedMessage(
568  message_arena, p_gain_optional, submessage_arena);
569  }
570 
571  } else {
572 
573  }
574  p_gain_optional_ = p_gain_optional;
575  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.p_gain_optional)
576 }
577 
578 // .ignition.msgs.Double i_gain_optional = 11;
579 inline bool PID::has_i_gain_optional() const {
580  return this != internal_default_instance() && i_gain_optional_ != NULL;
581 }
582 inline const ::ignition::msgs::Double& PID::_internal_i_gain_optional() const {
583  return *i_gain_optional_;
584 }
585 inline const ::ignition::msgs::Double& PID::i_gain_optional() const {
586  const ::ignition::msgs::Double* p = i_gain_optional_;
587  // @@protoc_insertion_point(field_get:ignition.msgs.PID.i_gain_optional)
588  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
590 }
591 inline ::ignition::msgs::Double* PID::release_i_gain_optional() {
592  // @@protoc_insertion_point(field_release:ignition.msgs.PID.i_gain_optional)
593 
594  ::ignition::msgs::Double* temp = i_gain_optional_;
595  i_gain_optional_ = NULL;
596  return temp;
597 }
598 inline ::ignition::msgs::Double* PID::mutable_i_gain_optional() {
599 
600  if (i_gain_optional_ == NULL) {
601  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
602  i_gain_optional_ = p;
603  }
604  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.i_gain_optional)
605  return i_gain_optional_;
606 }
608  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
609  if (message_arena == NULL) {
610  delete reinterpret_cast< ::google::protobuf::MessageLite*>(i_gain_optional_);
611  }
612  if (i_gain_optional) {
613  ::google::protobuf::Arena* submessage_arena = NULL;
614  if (message_arena != submessage_arena) {
615  i_gain_optional = ::google::protobuf::internal::GetOwnedMessage(
616  message_arena, i_gain_optional, submessage_arena);
617  }
618 
619  } else {
620 
621  }
622  i_gain_optional_ = i_gain_optional;
623  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.i_gain_optional)
624 }
625 
626 // .ignition.msgs.Double d_gain_optional = 12;
627 inline bool PID::has_d_gain_optional() const {
628  return this != internal_default_instance() && d_gain_optional_ != NULL;
629 }
630 inline const ::ignition::msgs::Double& PID::_internal_d_gain_optional() const {
631  return *d_gain_optional_;
632 }
633 inline const ::ignition::msgs::Double& PID::d_gain_optional() const {
634  const ::ignition::msgs::Double* p = d_gain_optional_;
635  // @@protoc_insertion_point(field_get:ignition.msgs.PID.d_gain_optional)
636  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
638 }
639 inline ::ignition::msgs::Double* PID::release_d_gain_optional() {
640  // @@protoc_insertion_point(field_release:ignition.msgs.PID.d_gain_optional)
641 
642  ::ignition::msgs::Double* temp = d_gain_optional_;
643  d_gain_optional_ = NULL;
644  return temp;
645 }
646 inline ::ignition::msgs::Double* PID::mutable_d_gain_optional() {
647 
648  if (d_gain_optional_ == NULL) {
649  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
650  d_gain_optional_ = p;
651  }
652  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.d_gain_optional)
653  return d_gain_optional_;
654 }
656  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
657  if (message_arena == NULL) {
658  delete reinterpret_cast< ::google::protobuf::MessageLite*>(d_gain_optional_);
659  }
660  if (d_gain_optional) {
661  ::google::protobuf::Arena* submessage_arena = NULL;
662  if (message_arena != submessage_arena) {
663  d_gain_optional = ::google::protobuf::internal::GetOwnedMessage(
664  message_arena, d_gain_optional, submessage_arena);
665  }
666 
667  } else {
668 
669  }
670  d_gain_optional_ = d_gain_optional;
671  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.d_gain_optional)
672 }
673 
674 // .ignition.msgs.Double i_max_optional = 13;
675 inline bool PID::has_i_max_optional() const {
676  return this != internal_default_instance() && i_max_optional_ != NULL;
677 }
678 inline const ::ignition::msgs::Double& PID::_internal_i_max_optional() const {
679  return *i_max_optional_;
680 }
681 inline const ::ignition::msgs::Double& PID::i_max_optional() const {
682  const ::ignition::msgs::Double* p = i_max_optional_;
683  // @@protoc_insertion_point(field_get:ignition.msgs.PID.i_max_optional)
684  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
686 }
687 inline ::ignition::msgs::Double* PID::release_i_max_optional() {
688  // @@protoc_insertion_point(field_release:ignition.msgs.PID.i_max_optional)
689 
690  ::ignition::msgs::Double* temp = i_max_optional_;
691  i_max_optional_ = NULL;
692  return temp;
693 }
694 inline ::ignition::msgs::Double* PID::mutable_i_max_optional() {
695 
696  if (i_max_optional_ == NULL) {
697  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
698  i_max_optional_ = p;
699  }
700  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.i_max_optional)
701  return i_max_optional_;
702 }
704  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
705  if (message_arena == NULL) {
706  delete reinterpret_cast< ::google::protobuf::MessageLite*>(i_max_optional_);
707  }
708  if (i_max_optional) {
709  ::google::protobuf::Arena* submessage_arena = NULL;
710  if (message_arena != submessage_arena) {
711  i_max_optional = ::google::protobuf::internal::GetOwnedMessage(
712  message_arena, i_max_optional, submessage_arena);
713  }
714 
715  } else {
716 
717  }
718  i_max_optional_ = i_max_optional;
719  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.i_max_optional)
720 }
721 
722 // .ignition.msgs.Double i_min_optional = 14;
723 inline bool PID::has_i_min_optional() const {
724  return this != internal_default_instance() && i_min_optional_ != NULL;
725 }
726 inline const ::ignition::msgs::Double& PID::_internal_i_min_optional() const {
727  return *i_min_optional_;
728 }
729 inline const ::ignition::msgs::Double& PID::i_min_optional() const {
730  const ::ignition::msgs::Double* p = i_min_optional_;
731  // @@protoc_insertion_point(field_get:ignition.msgs.PID.i_min_optional)
732  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
734 }
735 inline ::ignition::msgs::Double* PID::release_i_min_optional() {
736  // @@protoc_insertion_point(field_release:ignition.msgs.PID.i_min_optional)
737 
738  ::ignition::msgs::Double* temp = i_min_optional_;
739  i_min_optional_ = NULL;
740  return temp;
741 }
742 inline ::ignition::msgs::Double* PID::mutable_i_min_optional() {
743 
744  if (i_min_optional_ == NULL) {
745  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
746  i_min_optional_ = p;
747  }
748  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.i_min_optional)
749  return i_min_optional_;
750 }
752  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
753  if (message_arena == NULL) {
754  delete reinterpret_cast< ::google::protobuf::MessageLite*>(i_min_optional_);
755  }
756  if (i_min_optional) {
757  ::google::protobuf::Arena* submessage_arena = NULL;
758  if (message_arena != submessage_arena) {
759  i_min_optional = ::google::protobuf::internal::GetOwnedMessage(
760  message_arena, i_min_optional, submessage_arena);
761  }
762 
763  } else {
764 
765  }
766  i_min_optional_ = i_min_optional;
767  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.i_min_optional)
768 }
769 
770 // .ignition.msgs.Double limit_optional = 15;
771 inline bool PID::has_limit_optional() const {
772  return this != internal_default_instance() && limit_optional_ != NULL;
773 }
774 inline const ::ignition::msgs::Double& PID::_internal_limit_optional() const {
775  return *limit_optional_;
776 }
777 inline const ::ignition::msgs::Double& PID::limit_optional() const {
778  const ::ignition::msgs::Double* p = limit_optional_;
779  // @@protoc_insertion_point(field_get:ignition.msgs.PID.limit_optional)
780  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Double*>(
782 }
783 inline ::ignition::msgs::Double* PID::release_limit_optional() {
784  // @@protoc_insertion_point(field_release:ignition.msgs.PID.limit_optional)
785 
786  ::ignition::msgs::Double* temp = limit_optional_;
787  limit_optional_ = NULL;
788  return temp;
789 }
790 inline ::ignition::msgs::Double* PID::mutable_limit_optional() {
791 
792  if (limit_optional_ == NULL) {
793  auto* p = CreateMaybeMessage<::ignition::msgs::Double>(GetArenaNoVirtual());
794  limit_optional_ = p;
795  }
796  // @@protoc_insertion_point(field_mutable:ignition.msgs.PID.limit_optional)
797  return limit_optional_;
798 }
800  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
801  if (message_arena == NULL) {
802  delete reinterpret_cast< ::google::protobuf::MessageLite*>(limit_optional_);
803  }
804  if (limit_optional) {
805  ::google::protobuf::Arena* submessage_arena = NULL;
806  if (message_arena != submessage_arena) {
807  limit_optional = ::google::protobuf::internal::GetOwnedMessage(
808  message_arena, limit_optional, submessage_arena);
809  }
810 
811  } else {
812 
813  }
814  limit_optional_ = limit_optional;
815  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PID.limit_optional)
816 }
817 
818 #ifdef __GNUC__
819  #pragma GCC diagnostic pop
820 #endif // __GNUC__
821 
826 // @@protoc_insertion_point(namespace_scope)
827 
828 } // namespace msgs
829 } // namespace ignition
830 
831 #ifdef _MSC_VER
832 #pragma warning(pop)
833 #endif
834 // @@protoc_insertion_point(global_scope)
835 
836 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fpid_2eproto
void Swap(PID *other)
PID & operator=(const PID &from)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:85
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:356
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:49
IGNITION_MSGS_VISIBLE PIDDefaultTypeInternal _PID_default_instance_
::ignition::msgs::Double * release_p_gain_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:543
friend void swap(PID &a, PID &b)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:116
bool has_limit_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:771
STL class.
void set_allocated_d_gain_optional(::ignition::msgs::Double *d_gain_optional)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:655
const ::ignition::msgs::Double & i_gain_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:585
GOOGLE_PROTOBUF_DEPRECATED_ATTR double d_gain() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:430
::ignition::msgs::Double * mutable_target_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:502
::ignition::msgs::Double * mutable_limit_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:790
const ::ignition::msgs::Double & p_gain_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:537
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_i_max()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:441
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_p_gain(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:406
void set_allocated_limit_optional(::ignition::msgs::Double *limit_optional)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:799
void set_allocated_i_max_optional(::ignition::msgs::Double *i_max_optional)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:703
::ignition::msgs::Double * release_i_gain_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:591
::ignition::msgs::Double * mutable_i_max_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:694
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:337
GOOGLE_PROTOBUF_DEPRECATED_ATTR double p_gain() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:402
GOOGLE_PROTOBUF_DEPRECATED_ATTR double i_max() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:444
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:343
std::unique_ptr< const PID > ConstPIDUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:823
const ::ignition::msgs::Double & d_gain_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:633
::ignition::msgs::Double * release_target_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:495
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_i_min()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:455
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_i_gain(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:420
const ::ignition::msgs::Double & target_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:489
std::unique_ptr< PID > PIDUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:822
::ignition::msgs::Double * release_i_min_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:735
const ::ignition::msgs::Double & limit_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:777
GOOGLE_PROTOBUF_DEPRECATED_ATTR double limit() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:472
GOOGLE_PROTOBUF_DEPRECATED_ATTR double i_gain() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:416
Definition: build/ignition-msgs5/include/ignition/msgs/double.pb.h:77
std::shared_ptr< PID > PIDSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:824
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_i_gain()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:413
IGNITION_MSGS_VISIBLE DoubleDefaultTypeInternal _Double_default_instance_
void set_allocated_i_min_optional(::ignition::msgs::Double *i_min_optional)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:751
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_target()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:385
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_d_gain()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:427
PID * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:126
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_p_gain()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:399
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:365
bool has_d_gain_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:627
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:51
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_target(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:392
bool has_i_max_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:675
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:78
::ignition::msgs::Double * mutable_p_gain_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:550
const ::ignition::msgs::Double & i_max_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:681
bool has_i_min_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:723
GOOGLE_PROTOBUF_DEPRECATED_ATTR double target() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:388
bool has_p_gain_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:531
bool has_target_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:483
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:349
std::shared_ptr< const PID > ConstPIDSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:825
GOOGLE_PROTOBUF_DEPRECATED_ATTR double i_min() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:458
void set_allocated_target_optional(::ignition::msgs::Double *target_optional)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:511
::ignition::msgs::Double * mutable_d_gain_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:646
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const ::ignition::msgs::Double & i_min_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:729
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
void set_allocated_i_gain_optional(::ignition::msgs::Double *i_gain_optional)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:607
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_d_gain(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:434
PID * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:122
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_limit(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:476
::ignition::msgs::Double * mutable_i_min_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:742
static const PID * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:108
::ignition::msgs::Double * mutable_i_gain_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:598
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_limit()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:469
void set_allocated_p_gain_optional(::ignition::msgs::Double *p_gain_optional)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:559
void IGNITION_MSGS_VISIBLE AddDescriptors()
::ignition::msgs::Double * release_i_max_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:687
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_i_max(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:448
STL class.
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_i_min(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:462
::ignition::msgs::Double * release_limit_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:783
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
bool has_i_gain_optional() const
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:579
::ignition::msgs::Double * release_d_gain_optional()
Definition: build/ignition-msgs5/include/ignition/msgs/pid.pb.h:639