Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/diagnostics.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiagnostics_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiagnostics_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>
33 #include "ignition/msgs/time.pb.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_2fdiagnostics_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[2];
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_2fdiagnostics_2eproto
61 namespace ignition {
62 namespace msgs {
63 class Diagnostics;
64 class DiagnosticsDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern DiagnosticsDefaultTypeInternal _Diagnostics_default_instance_;
66 class Diagnostics_DiagTime;
67 class Diagnostics_DiagTimeDefaultTypeInternal;
68 IGNITION_MSGS_VISIBLE extern Diagnostics_DiagTimeDefaultTypeInternal _Diagnostics_DiagTime_default_instance_;
69 } // namespace msgs
70 } // namespace ignition
71 namespace google {
72 namespace protobuf {
73 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Diagnostics* Arena::CreateMaybeMessage<::ignition::msgs::Diagnostics>(Arena*);
74 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Diagnostics_DiagTime* Arena::CreateMaybeMessage<::ignition::msgs::Diagnostics_DiagTime>(Arena*);
75 } // namespace protobuf
76 } // namespace google
77 namespace ignition {
78 namespace msgs {
79 
80 // ===================================================================
81 
82 class IGNITION_MSGS_VISIBLE Diagnostics_DiagTime : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Diagnostics.DiagTime) */ {
83  public:
85  virtual ~Diagnostics_DiagTime();
86 
88 
90  CopyFrom(from);
91  return *this;
92  }
93  #if LANG_CXX11
96  *this = ::std::move(from);
97  }
98 
99  inline Diagnostics_DiagTime& operator=(Diagnostics_DiagTime&& from) noexcept {
100  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
101  if (this != &from) InternalSwap(&from);
102  } else {
103  CopyFrom(from);
104  }
105  return *this;
106  }
107  #endif
108  static const ::google::protobuf::Descriptor* descriptor();
109  static const Diagnostics_DiagTime& default_instance();
110 
111  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
113  return reinterpret_cast<const Diagnostics_DiagTime*>(
115  }
116  static constexpr int kIndexInFileMessages =
117  0;
118 
119  void Swap(Diagnostics_DiagTime* other);
121  a.Swap(&b);
122  }
123 
124  // implements Message ----------------------------------------------
125 
126  inline Diagnostics_DiagTime* New() const final {
127  return CreateMaybeMessage<Diagnostics_DiagTime>(NULL);
128  }
129 
130  Diagnostics_DiagTime* New(::google::protobuf::Arena* arena) const final {
131  return CreateMaybeMessage<Diagnostics_DiagTime>(arena);
132  }
133  void CopyFrom(const ::google::protobuf::Message& from) final;
134  void MergeFrom(const ::google::protobuf::Message& from) final;
135  void CopyFrom(const Diagnostics_DiagTime& from);
136  void MergeFrom(const Diagnostics_DiagTime& from);
137  void Clear() final;
138  bool IsInitialized() const final;
139 
140  size_t ByteSizeLong() const final;
141  bool MergePartialFromCodedStream(
142  ::google::protobuf::io::CodedInputStream* input) final;
143  void SerializeWithCachedSizes(
144  ::google::protobuf::io::CodedOutputStream* output) const final;
145  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
146  bool deterministic, ::google::protobuf::uint8* target) const final;
147  int GetCachedSize() const final { return _cached_size_.Get(); }
148 
149  private:
150  void SharedCtor();
151  void SharedDtor();
152  void SetCachedSize(int size) const final;
153  void InternalSwap(Diagnostics_DiagTime* other);
154  private:
155  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
156  return NULL;
157  }
158  inline void* MaybeArenaPtr() const {
159  return NULL;
160  }
161  public:
162 
163  ::google::protobuf::Metadata GetMetadata() const final;
164 
165  // nested types ----------------------------------------------------
166 
167  // accessors -------------------------------------------------------
168 
169  // string name = 1;
170  void clear_name();
171  static const int kNameFieldNumber = 1;
172  const ::std::string& name() const;
173  void set_name(const ::std::string& value);
174  #if LANG_CXX11
175  void set_name(::std::string&& value);
176  #endif
177  void set_name(const char* value);
178  void set_name(const char* value, size_t size);
179  ::std::string* mutable_name();
180  ::std::string* release_name();
181  void set_allocated_name(::std::string* name);
182 
183  // .ignition.msgs.Time elapsed = 2;
184  bool has_elapsed() const;
185  void clear_elapsed();
186  static const int kElapsedFieldNumber = 2;
187  private:
188  const ::ignition::msgs::Time& _internal_elapsed() const;
189  public:
190  const ::ignition::msgs::Time& elapsed() const;
191  ::ignition::msgs::Time* release_elapsed();
192  ::ignition::msgs::Time* mutable_elapsed();
193  void set_allocated_elapsed(::ignition::msgs::Time* elapsed);
194 
195  // .ignition.msgs.Time wall = 3;
196  bool has_wall() const;
197  void clear_wall();
198  static const int kWallFieldNumber = 3;
199  private:
200  const ::ignition::msgs::Time& _internal_wall() const;
201  public:
202  const ::ignition::msgs::Time& wall() const;
203  ::ignition::msgs::Time* release_wall();
204  ::ignition::msgs::Time* mutable_wall();
205  void set_allocated_wall(::ignition::msgs::Time* wall);
206 
207  // @@protoc_insertion_point(class_scope:ignition.msgs.Diagnostics.DiagTime)
208  private:
209 
210  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
211  ::google::protobuf::internal::ArenaStringPtr name_;
212  ::ignition::msgs::Time* elapsed_;
213  ::ignition::msgs::Time* wall_;
214  mutable ::google::protobuf::internal::CachedSize _cached_size_;
215  friend struct ::protobuf_ignition_2fmsgs_2fdiagnostics_2eproto::TableStruct;
216 };
217 // -------------------------------------------------------------------
218 
219 class IGNITION_MSGS_VISIBLE Diagnostics : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Diagnostics) */ {
220  public:
221  Diagnostics();
222  virtual ~Diagnostics();
223 
224  Diagnostics(const Diagnostics& from);
225 
226  inline Diagnostics& operator=(const Diagnostics& from) {
227  CopyFrom(from);
228  return *this;
229  }
230  #if LANG_CXX11
231  Diagnostics(Diagnostics&& from) noexcept
232  : Diagnostics() {
233  *this = ::std::move(from);
234  }
235 
236  inline Diagnostics& operator=(Diagnostics&& from) noexcept {
237  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
238  if (this != &from) InternalSwap(&from);
239  } else {
240  CopyFrom(from);
241  }
242  return *this;
243  }
244  #endif
245  static const ::google::protobuf::Descriptor* descriptor();
246  static const Diagnostics& default_instance();
247 
248  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
249  static inline const Diagnostics* internal_default_instance() {
250  return reinterpret_cast<const Diagnostics*>(
252  }
253  static constexpr int kIndexInFileMessages =
254  1;
255 
256  void Swap(Diagnostics* other);
257  friend void swap(Diagnostics& a, Diagnostics& b) {
258  a.Swap(&b);
259  }
260 
261  // implements Message ----------------------------------------------
262 
263  inline Diagnostics* New() const final {
264  return CreateMaybeMessage<Diagnostics>(NULL);
265  }
266 
267  Diagnostics* New(::google::protobuf::Arena* arena) const final {
268  return CreateMaybeMessage<Diagnostics>(arena);
269  }
270  void CopyFrom(const ::google::protobuf::Message& from) final;
271  void MergeFrom(const ::google::protobuf::Message& from) final;
272  void CopyFrom(const Diagnostics& from);
273  void MergeFrom(const Diagnostics& from);
274  void Clear() final;
275  bool IsInitialized() const final;
276 
277  size_t ByteSizeLong() const final;
278  bool MergePartialFromCodedStream(
279  ::google::protobuf::io::CodedInputStream* input) final;
280  void SerializeWithCachedSizes(
281  ::google::protobuf::io::CodedOutputStream* output) const final;
282  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
283  bool deterministic, ::google::protobuf::uint8* target) const final;
284  int GetCachedSize() const final { return _cached_size_.Get(); }
285 
286  private:
287  void SharedCtor();
288  void SharedDtor();
289  void SetCachedSize(int size) const final;
290  void InternalSwap(Diagnostics* other);
291  private:
292  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
293  return NULL;
294  }
295  inline void* MaybeArenaPtr() const {
296  return NULL;
297  }
298  public:
299 
300  ::google::protobuf::Metadata GetMetadata() const final;
301 
302  // nested types ----------------------------------------------------
303 
305 
306  // accessors -------------------------------------------------------
307 
308  // repeated .ignition.msgs.Diagnostics.DiagTime time = 2;
309  int time_size() const;
310  void clear_time();
311  static const int kTimeFieldNumber = 2;
312  ::ignition::msgs::Diagnostics_DiagTime* mutable_time(int index);
313  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Diagnostics_DiagTime >*
314  mutable_time();
315  const ::ignition::msgs::Diagnostics_DiagTime& time(int index) const;
316  ::ignition::msgs::Diagnostics_DiagTime* add_time();
317  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Diagnostics_DiagTime >&
318  time() const;
319 
320  // .ignition.msgs.Header header = 1;
321  bool has_header() const;
322  void clear_header();
323  static const int kHeaderFieldNumber = 1;
324  private:
325  const ::ignition::msgs::Header& _internal_header() const;
326  public:
327  const ::ignition::msgs::Header& header() const;
328  ::ignition::msgs::Header* release_header();
329  ::ignition::msgs::Header* mutable_header();
330  void set_allocated_header(::ignition::msgs::Header* header);
331 
332  // .ignition.msgs.Time real_time = 3;
333  bool has_real_time() const;
334  void clear_real_time();
335  static const int kRealTimeFieldNumber = 3;
336  private:
337  const ::ignition::msgs::Time& _internal_real_time() const;
338  public:
339  const ::ignition::msgs::Time& real_time() const;
340  ::ignition::msgs::Time* release_real_time();
341  ::ignition::msgs::Time* mutable_real_time();
342  void set_allocated_real_time(::ignition::msgs::Time* real_time);
343 
344  // .ignition.msgs.Time sim_time = 4;
345  bool has_sim_time() const;
346  void clear_sim_time();
347  static const int kSimTimeFieldNumber = 4;
348  private:
349  const ::ignition::msgs::Time& _internal_sim_time() const;
350  public:
351  const ::ignition::msgs::Time& sim_time() const;
352  ::ignition::msgs::Time* release_sim_time();
353  ::ignition::msgs::Time* mutable_sim_time();
354  void set_allocated_sim_time(::ignition::msgs::Time* sim_time);
355 
356  // double real_time_factor = 5;
357  void clear_real_time_factor();
358  static const int kRealTimeFactorFieldNumber = 5;
359  double real_time_factor() const;
360  void set_real_time_factor(double value);
361 
362  // @@protoc_insertion_point(class_scope:ignition.msgs.Diagnostics)
363  private:
364 
365  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
366  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Diagnostics_DiagTime > time_;
367  ::ignition::msgs::Header* header_;
368  ::ignition::msgs::Time* real_time_;
369  ::ignition::msgs::Time* sim_time_;
370  double real_time_factor_;
371  mutable ::google::protobuf::internal::CachedSize _cached_size_;
373 };
374 // ===================================================================
375 
376 
377 // ===================================================================
378 
379 #ifdef __GNUC__
380  #pragma GCC diagnostic push
381  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
382 #endif // __GNUC__
383 // Diagnostics_DiagTime
384 
385 // string name = 1;
387  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
388 }
389 inline const ::std::string& Diagnostics_DiagTime::name() const {
390  // @@protoc_insertion_point(field_get:ignition.msgs.Diagnostics.DiagTime.name)
391  return name_.GetNoArena();
392 }
393 inline void Diagnostics_DiagTime::set_name(const ::std::string& value) {
394 
395  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
396  // @@protoc_insertion_point(field_set:ignition.msgs.Diagnostics.DiagTime.name)
397 }
398 #if LANG_CXX11
399 inline void Diagnostics_DiagTime::set_name(::std::string&& value) {
400 
401  name_.SetNoArena(
402  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
403  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Diagnostics.DiagTime.name)
404 }
405 #endif
406 inline void Diagnostics_DiagTime::set_name(const char* value) {
407  GOOGLE_DCHECK(value != NULL);
408 
409  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
410  // @@protoc_insertion_point(field_set_char:ignition.msgs.Diagnostics.DiagTime.name)
411 }
412 inline void Diagnostics_DiagTime::set_name(const char* value, size_t size) {
413 
414  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
415  ::std::string(reinterpret_cast<const char*>(value), size));
416  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Diagnostics.DiagTime.name)
417 }
418 inline ::std::string* Diagnostics_DiagTime::mutable_name() {
419 
420  // @@protoc_insertion_point(field_mutable:ignition.msgs.Diagnostics.DiagTime.name)
421  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
422 }
423 inline ::std::string* Diagnostics_DiagTime::release_name() {
424  // @@protoc_insertion_point(field_release:ignition.msgs.Diagnostics.DiagTime.name)
425 
426  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
427 }
429  if (name != NULL) {
430 
431  } else {
432 
433  }
434  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
435  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Diagnostics.DiagTime.name)
436 }
437 
438 // .ignition.msgs.Time elapsed = 2;
440  return this != internal_default_instance() && elapsed_ != NULL;
441 }
442 inline const ::ignition::msgs::Time& Diagnostics_DiagTime::_internal_elapsed() const {
443  return *elapsed_;
444 }
445 inline const ::ignition::msgs::Time& Diagnostics_DiagTime::elapsed() const {
446  const ::ignition::msgs::Time* p = elapsed_;
447  // @@protoc_insertion_point(field_get:ignition.msgs.Diagnostics.DiagTime.elapsed)
448  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
450 }
451 inline ::ignition::msgs::Time* Diagnostics_DiagTime::release_elapsed() {
452  // @@protoc_insertion_point(field_release:ignition.msgs.Diagnostics.DiagTime.elapsed)
453 
454  ::ignition::msgs::Time* temp = elapsed_;
455  elapsed_ = NULL;
456  return temp;
457 }
458 inline ::ignition::msgs::Time* Diagnostics_DiagTime::mutable_elapsed() {
459 
460  if (elapsed_ == NULL) {
461  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
462  elapsed_ = p;
463  }
464  // @@protoc_insertion_point(field_mutable:ignition.msgs.Diagnostics.DiagTime.elapsed)
465  return elapsed_;
466 }
468  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
469  if (message_arena == NULL) {
470  delete reinterpret_cast< ::google::protobuf::MessageLite*>(elapsed_);
471  }
472  if (elapsed) {
473  ::google::protobuf::Arena* submessage_arena = NULL;
474  if (message_arena != submessage_arena) {
475  elapsed = ::google::protobuf::internal::GetOwnedMessage(
476  message_arena, elapsed, submessage_arena);
477  }
478 
479  } else {
480 
481  }
482  elapsed_ = elapsed;
483  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Diagnostics.DiagTime.elapsed)
484 }
485 
486 // .ignition.msgs.Time wall = 3;
487 inline bool Diagnostics_DiagTime::has_wall() const {
488  return this != internal_default_instance() && wall_ != NULL;
489 }
490 inline const ::ignition::msgs::Time& Diagnostics_DiagTime::_internal_wall() const {
491  return *wall_;
492 }
493 inline const ::ignition::msgs::Time& Diagnostics_DiagTime::wall() const {
494  const ::ignition::msgs::Time* p = wall_;
495  // @@protoc_insertion_point(field_get:ignition.msgs.Diagnostics.DiagTime.wall)
496  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
498 }
499 inline ::ignition::msgs::Time* Diagnostics_DiagTime::release_wall() {
500  // @@protoc_insertion_point(field_release:ignition.msgs.Diagnostics.DiagTime.wall)
501 
502  ::ignition::msgs::Time* temp = wall_;
503  wall_ = NULL;
504  return temp;
505 }
506 inline ::ignition::msgs::Time* Diagnostics_DiagTime::mutable_wall() {
507 
508  if (wall_ == NULL) {
509  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
510  wall_ = p;
511  }
512  // @@protoc_insertion_point(field_mutable:ignition.msgs.Diagnostics.DiagTime.wall)
513  return wall_;
514 }
516  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
517  if (message_arena == NULL) {
518  delete reinterpret_cast< ::google::protobuf::MessageLite*>(wall_);
519  }
520  if (wall) {
521  ::google::protobuf::Arena* submessage_arena = NULL;
522  if (message_arena != submessage_arena) {
523  wall = ::google::protobuf::internal::GetOwnedMessage(
524  message_arena, wall, submessage_arena);
525  }
526 
527  } else {
528 
529  }
530  wall_ = wall;
531  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Diagnostics.DiagTime.wall)
532 }
533 
534 // -------------------------------------------------------------------
535 
536 // Diagnostics
537 
538 // .ignition.msgs.Header header = 1;
539 inline bool Diagnostics::has_header() const {
540  return this != internal_default_instance() && header_ != NULL;
541 }
542 inline const ::ignition::msgs::Header& Diagnostics::_internal_header() const {
543  return *header_;
544 }
545 inline const ::ignition::msgs::Header& Diagnostics::header() const {
546  const ::ignition::msgs::Header* p = header_;
547  // @@protoc_insertion_point(field_get:ignition.msgs.Diagnostics.header)
548  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
550 }
551 inline ::ignition::msgs::Header* Diagnostics::release_header() {
552  // @@protoc_insertion_point(field_release:ignition.msgs.Diagnostics.header)
553 
554  ::ignition::msgs::Header* temp = header_;
555  header_ = NULL;
556  return temp;
557 }
558 inline ::ignition::msgs::Header* Diagnostics::mutable_header() {
559 
560  if (header_ == NULL) {
561  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
562  header_ = p;
563  }
564  // @@protoc_insertion_point(field_mutable:ignition.msgs.Diagnostics.header)
565  return header_;
566 }
568  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
569  if (message_arena == NULL) {
570  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
571  }
572  if (header) {
573  ::google::protobuf::Arena* submessage_arena = NULL;
574  if (message_arena != submessage_arena) {
575  header = ::google::protobuf::internal::GetOwnedMessage(
576  message_arena, header, submessage_arena);
577  }
578 
579  } else {
580 
581  }
582  header_ = header;
583  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Diagnostics.header)
584 }
585 
586 // repeated .ignition.msgs.Diagnostics.DiagTime time = 2;
587 inline int Diagnostics::time_size() const {
588  return time_.size();
589 }
590 inline void Diagnostics::clear_time() {
591  time_.Clear();
592 }
593 inline ::ignition::msgs::Diagnostics_DiagTime* Diagnostics::mutable_time(int index) {
594  // @@protoc_insertion_point(field_mutable:ignition.msgs.Diagnostics.time)
595  return time_.Mutable(index);
596 }
597 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Diagnostics_DiagTime >*
599  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Diagnostics.time)
600  return &time_;
601 }
602 inline const ::ignition::msgs::Diagnostics_DiagTime& Diagnostics::time(int index) const {
603  // @@protoc_insertion_point(field_get:ignition.msgs.Diagnostics.time)
604  return time_.Get(index);
605 }
606 inline ::ignition::msgs::Diagnostics_DiagTime* Diagnostics::add_time() {
607  // @@protoc_insertion_point(field_add:ignition.msgs.Diagnostics.time)
608  return time_.Add();
609 }
610 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Diagnostics_DiagTime >&
612  // @@protoc_insertion_point(field_list:ignition.msgs.Diagnostics.time)
613  return time_;
614 }
615 
616 // .ignition.msgs.Time real_time = 3;
617 inline bool Diagnostics::has_real_time() const {
618  return this != internal_default_instance() && real_time_ != NULL;
619 }
620 inline const ::ignition::msgs::Time& Diagnostics::_internal_real_time() const {
621  return *real_time_;
622 }
623 inline const ::ignition::msgs::Time& Diagnostics::real_time() const {
624  const ::ignition::msgs::Time* p = real_time_;
625  // @@protoc_insertion_point(field_get:ignition.msgs.Diagnostics.real_time)
626  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
628 }
629 inline ::ignition::msgs::Time* Diagnostics::release_real_time() {
630  // @@protoc_insertion_point(field_release:ignition.msgs.Diagnostics.real_time)
631 
632  ::ignition::msgs::Time* temp = real_time_;
633  real_time_ = NULL;
634  return temp;
635 }
636 inline ::ignition::msgs::Time* Diagnostics::mutable_real_time() {
637 
638  if (real_time_ == NULL) {
639  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
640  real_time_ = p;
641  }
642  // @@protoc_insertion_point(field_mutable:ignition.msgs.Diagnostics.real_time)
643  return real_time_;
644 }
646  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
647  if (message_arena == NULL) {
648  delete reinterpret_cast< ::google::protobuf::MessageLite*>(real_time_);
649  }
650  if (real_time) {
651  ::google::protobuf::Arena* submessage_arena = NULL;
652  if (message_arena != submessage_arena) {
653  real_time = ::google::protobuf::internal::GetOwnedMessage(
654  message_arena, real_time, submessage_arena);
655  }
656 
657  } else {
658 
659  }
660  real_time_ = real_time;
661  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Diagnostics.real_time)
662 }
663 
664 // .ignition.msgs.Time sim_time = 4;
665 inline bool Diagnostics::has_sim_time() const {
666  return this != internal_default_instance() && sim_time_ != NULL;
667 }
668 inline const ::ignition::msgs::Time& Diagnostics::_internal_sim_time() const {
669  return *sim_time_;
670 }
671 inline const ::ignition::msgs::Time& Diagnostics::sim_time() const {
672  const ::ignition::msgs::Time* p = sim_time_;
673  // @@protoc_insertion_point(field_get:ignition.msgs.Diagnostics.sim_time)
674  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
676 }
677 inline ::ignition::msgs::Time* Diagnostics::release_sim_time() {
678  // @@protoc_insertion_point(field_release:ignition.msgs.Diagnostics.sim_time)
679 
680  ::ignition::msgs::Time* temp = sim_time_;
681  sim_time_ = NULL;
682  return temp;
683 }
684 inline ::ignition::msgs::Time* Diagnostics::mutable_sim_time() {
685 
686  if (sim_time_ == NULL) {
687  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
688  sim_time_ = p;
689  }
690  // @@protoc_insertion_point(field_mutable:ignition.msgs.Diagnostics.sim_time)
691  return sim_time_;
692 }
694  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
695  if (message_arena == NULL) {
696  delete reinterpret_cast< ::google::protobuf::MessageLite*>(sim_time_);
697  }
698  if (sim_time) {
699  ::google::protobuf::Arena* submessage_arena = NULL;
700  if (message_arena != submessage_arena) {
701  sim_time = ::google::protobuf::internal::GetOwnedMessage(
702  message_arena, sim_time, submessage_arena);
703  }
704 
705  } else {
706 
707  }
708  sim_time_ = sim_time;
709  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Diagnostics.sim_time)
710 }
711 
712 // double real_time_factor = 5;
714  real_time_factor_ = 0;
715 }
716 inline double Diagnostics::real_time_factor() const {
717  // @@protoc_insertion_point(field_get:ignition.msgs.Diagnostics.real_time_factor)
718  return real_time_factor_;
719 }
720 inline void Diagnostics::set_real_time_factor(double value) {
721 
722  real_time_factor_ = value;
723  // @@protoc_insertion_point(field_set:ignition.msgs.Diagnostics.real_time_factor)
724 }
725 
726 #ifdef __GNUC__
727  #pragma GCC diagnostic pop
728 #endif // __GNUC__
729 // -------------------------------------------------------------------
730 
731 
736 // @@protoc_insertion_point(namespace_scope)
737 
738 } // namespace msgs
739 } // namespace ignition
740 
741 #ifdef _MSC_VER
742 #pragma warning(pop)
743 #endif
744 // @@protoc_insertion_point(global_scope)
745 
746 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiagnostics_2eproto
void Swap(Diagnostics *other)
bool has_real_time() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:617
::std::string * release_name()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:423
STL class.
STL class.
Definition: build/ignition-msgs8/include/ignition/msgs/time.pb.h:76
::ignition::msgs::Diagnostics_DiagTime * add_time()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:606
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:82
T move(T... args)
Diagnostics_DiagTime & operator=(const Diagnostics_DiagTime &from)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:89
static const Diagnostics_DiagTime * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:112
IGNITION_MSGS_VISIBLE Diagnostics_DiagTimeDefaultTypeInternal _Diagnostics_DiagTime_default_instance_
void set_allocated_sim_time(::ignition::msgs::Time *sim_time)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:693
::ignition::msgs::Time * mutable_wall()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:506
IGNITION_MSGS_VISIBLE TimeDefaultTypeInternal _Time_default_instance_
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Diagnostics_DiagTime > & time() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:611
int time_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:587
::ignition::msgs::Time * release_sim_time()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:677
::ignition::msgs::Time * mutable_sim_time()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:684
void set_real_time_factor(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:720
const ::std::string & name() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:389
static const Diagnostics * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:249
void IGNITION_MSGS_VISIBLE AddDescriptors()
IGNITION_MSGS_VISIBLE DiagnosticsDefaultTypeInternal _Diagnostics_default_instance_
bool has_wall() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:487
::ignition::msgs::Time * release_wall()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:499
::ignition::msgs::Time * mutable_elapsed()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:458
const ::ignition::msgs::Time & wall() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:493
void set_name(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:393
void set_allocated_wall(::ignition::msgs::Time *wall)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:515
Diagnostics_DiagTime * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:130
std::shared_ptr< const Diagnostics > ConstDiagnosticsSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:735
::std::string * mutable_name()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:418
const ::ignition::msgs::Time & real_time() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:623
void set_allocated_elapsed(::ignition::msgs::Time *elapsed)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:467
::ignition::msgs::Time * mutable_real_time()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:636
bool has_sim_time() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:665
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:539
void clear_time()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:590
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:51
Diagnostics * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:267
const ::ignition::msgs::Time & sim_time() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:671
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Diagnostics_DiagTime > * mutable_time()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:598
void Swap(Diagnostics_DiagTime *other)
double real_time_factor() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:716
Diagnostics * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:263
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:219
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:49
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:545
void set_allocated_real_time(::ignition::msgs::Time *real_time)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:645
friend void swap(Diagnostics &a, Diagnostics &b)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:257
void set_allocated_name(::std::string *name)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:428
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
bool has_elapsed() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:439
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:551
Diagnostics_DiagTime * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:126
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:558
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:567
std::unique_ptr< Diagnostics > DiagnosticsUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:732
::ignition::msgs::Time * release_elapsed()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:451
std::shared_ptr< Diagnostics > DiagnosticsSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:734
void clear_name()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:386
STL class.
const ::ignition::msgs::Time & elapsed() const
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:445
Diagnostics & operator=(const Diagnostics &from)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:226
friend void swap(Diagnostics_DiagTime &a, Diagnostics_DiagTime &b)
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:120
void clear_real_time_factor()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:713
::ignition::msgs::Time * release_real_time()
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:629
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
std::unique_ptr< const Diagnostics > ConstDiagnosticsUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/diagnostics.pb.h:733