Ignition Msgs

API Reference

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