Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/world_stats.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fstats_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fstats_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>
34 #include "ignition/msgs/time.pb.h"
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fworld_5fstats_2eproto IGNITION_MSGS_VISIBLE
49 
51 // Internal implementation detail -- do not use these members.
52 struct IGNITION_MSGS_VISIBLE TableStruct {
53  static const ::google::protobuf::internal::ParseTableField entries[];
54  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55  static const ::google::protobuf::internal::ParseTable schema[1];
56  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57  static const ::google::protobuf::internal::SerializationTable serialization_table[];
58  static const ::google::protobuf::uint32 offsets[];
59 };
60 void IGNITION_MSGS_VISIBLE AddDescriptors();
61 } // namespace protobuf_ignition_2fmsgs_2fworld_5fstats_2eproto
62 namespace ignition {
63 namespace msgs {
64 class WorldStatistics;
65 class WorldStatisticsDefaultTypeInternal;
66 IGNITION_MSGS_VISIBLE extern WorldStatisticsDefaultTypeInternal _WorldStatistics_default_instance_;
67 } // namespace msgs
68 } // namespace ignition
69 namespace google {
70 namespace protobuf {
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::WorldStatistics* Arena::CreateMaybeMessage<::ignition::msgs::WorldStatistics>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace ignition {
75 namespace msgs {
76 
77 // ===================================================================
78 
79 class IGNITION_MSGS_VISIBLE WorldStatistics : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.WorldStatistics) */ {
80  public:
82  virtual ~WorldStatistics();
83 
84  WorldStatistics(const WorldStatistics& from);
85 
86  inline WorldStatistics& operator=(const WorldStatistics& from) {
87  CopyFrom(from);
88  return *this;
89  }
90  #if LANG_CXX11
91  WorldStatistics(WorldStatistics&& from) noexcept
92  : WorldStatistics() {
93  *this = ::std::move(from);
94  }
95 
96  inline WorldStatistics& operator=(WorldStatistics&& from) noexcept {
97  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
98  if (this != &from) InternalSwap(&from);
99  } else {
100  CopyFrom(from);
101  }
102  return *this;
103  }
104  #endif
105  static const ::google::protobuf::Descriptor* descriptor();
106  static const WorldStatistics& default_instance();
107 
108  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
110  return reinterpret_cast<const WorldStatistics*>(
112  }
113  static constexpr int kIndexInFileMessages =
114  0;
115 
116  void Swap(WorldStatistics* other);
117  friend void swap(WorldStatistics& a, WorldStatistics& b) {
118  a.Swap(&b);
119  }
120 
121  // implements Message ----------------------------------------------
122 
123  inline WorldStatistics* New() const final {
124  return CreateMaybeMessage<WorldStatistics>(NULL);
125  }
126 
127  WorldStatistics* New(::google::protobuf::Arena* arena) const final {
128  return CreateMaybeMessage<WorldStatistics>(arena);
129  }
130  void CopyFrom(const ::google::protobuf::Message& from) final;
131  void MergeFrom(const ::google::protobuf::Message& from) final;
132  void CopyFrom(const WorldStatistics& from);
133  void MergeFrom(const WorldStatistics& from);
134  void Clear() final;
135  bool IsInitialized() const final;
136 
137  size_t ByteSizeLong() const final;
138  bool MergePartialFromCodedStream(
139  ::google::protobuf::io::CodedInputStream* input) final;
140  void SerializeWithCachedSizes(
141  ::google::protobuf::io::CodedOutputStream* output) const final;
142  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
143  bool deterministic, ::google::protobuf::uint8* target) const final;
144  int GetCachedSize() const final { return _cached_size_.Get(); }
145 
146  private:
147  void SharedCtor();
148  void SharedDtor();
149  void SetCachedSize(int size) const final;
150  void InternalSwap(WorldStatistics* other);
151  private:
152  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
153  return NULL;
154  }
155  inline void* MaybeArenaPtr() const {
156  return NULL;
157  }
158  public:
159 
160  ::google::protobuf::Metadata GetMetadata() const final;
161 
162  // nested types ----------------------------------------------------
163 
164  // accessors -------------------------------------------------------
165 
166  // .ignition.msgs.Header header = 1;
167  bool has_header() const;
168  void clear_header();
169  static const int kHeaderFieldNumber = 1;
170  private:
171  const ::ignition::msgs::Header& _internal_header() const;
172  public:
173  const ::ignition::msgs::Header& header() const;
174  ::ignition::msgs::Header* release_header();
175  ::ignition::msgs::Header* mutable_header();
176  void set_allocated_header(::ignition::msgs::Header* header);
177 
178  // .ignition.msgs.Time sim_time = 2;
179  bool has_sim_time() const;
180  void clear_sim_time();
181  static const int kSimTimeFieldNumber = 2;
182  private:
183  const ::ignition::msgs::Time& _internal_sim_time() const;
184  public:
185  const ::ignition::msgs::Time& sim_time() const;
186  ::ignition::msgs::Time* release_sim_time();
187  ::ignition::msgs::Time* mutable_sim_time();
188  void set_allocated_sim_time(::ignition::msgs::Time* sim_time);
189 
190  // .ignition.msgs.Time pause_time = 3;
191  bool has_pause_time() const;
192  void clear_pause_time();
193  static const int kPauseTimeFieldNumber = 3;
194  private:
195  const ::ignition::msgs::Time& _internal_pause_time() const;
196  public:
197  const ::ignition::msgs::Time& pause_time() const;
198  ::ignition::msgs::Time* release_pause_time();
199  ::ignition::msgs::Time* mutable_pause_time();
200  void set_allocated_pause_time(::ignition::msgs::Time* pause_time);
201 
202  // .ignition.msgs.Time real_time = 4;
203  bool has_real_time() const;
204  void clear_real_time();
205  static const int kRealTimeFieldNumber = 4;
206  private:
207  const ::ignition::msgs::Time& _internal_real_time() const;
208  public:
209  const ::ignition::msgs::Time& real_time() const;
210  ::ignition::msgs::Time* release_real_time();
211  ::ignition::msgs::Time* mutable_real_time();
212  void set_allocated_real_time(::ignition::msgs::Time* real_time);
213 
214  // .ignition.msgs.LogPlaybackStatistics log_playback_stats = 8;
215  bool has_log_playback_stats() const;
216  void clear_log_playback_stats();
217  static const int kLogPlaybackStatsFieldNumber = 8;
218  private:
219  const ::ignition::msgs::LogPlaybackStatistics& _internal_log_playback_stats() const;
220  public:
221  const ::ignition::msgs::LogPlaybackStatistics& log_playback_stats() const;
222  ::ignition::msgs::LogPlaybackStatistics* release_log_playback_stats();
223  ::ignition::msgs::LogPlaybackStatistics* mutable_log_playback_stats();
224  void set_allocated_log_playback_stats(::ignition::msgs::LogPlaybackStatistics* log_playback_stats);
225 
226  // .ignition.msgs.Time step_size = 10;
227  bool has_step_size() const;
228  void clear_step_size();
229  static const int kStepSizeFieldNumber = 10;
230  private:
231  const ::ignition::msgs::Time& _internal_step_size() const;
232  public:
233  const ::ignition::msgs::Time& step_size() const;
234  ::ignition::msgs::Time* release_step_size();
235  ::ignition::msgs::Time* mutable_step_size();
236  void set_allocated_step_size(::ignition::msgs::Time* step_size);
237 
238  // uint64 iterations = 6;
239  void clear_iterations();
240  static const int kIterationsFieldNumber = 6;
241  ::google::protobuf::uint64 iterations() const;
242  void set_iterations(::google::protobuf::uint64 value);
243 
244  // bool paused = 5;
245  void clear_paused();
246  static const int kPausedFieldNumber = 5;
247  bool paused() const;
248  void set_paused(bool value);
249 
250  // int32 model_count = 7;
251  void clear_model_count();
252  static const int kModelCountFieldNumber = 7;
253  ::google::protobuf::int32 model_count() const;
254  void set_model_count(::google::protobuf::int32 value);
255 
256  // double real_time_factor = 9;
257  void clear_real_time_factor();
258  static const int kRealTimeFactorFieldNumber = 9;
259  double real_time_factor() const;
260  void set_real_time_factor(double value);
261 
262  // @@protoc_insertion_point(class_scope:ignition.msgs.WorldStatistics)
263  private:
264 
265  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
266  ::ignition::msgs::Header* header_;
267  ::ignition::msgs::Time* sim_time_;
268  ::ignition::msgs::Time* pause_time_;
269  ::ignition::msgs::Time* real_time_;
270  ::ignition::msgs::LogPlaybackStatistics* log_playback_stats_;
271  ::ignition::msgs::Time* step_size_;
272  ::google::protobuf::uint64 iterations_;
273  bool paused_;
274  ::google::protobuf::int32 model_count_;
275  double real_time_factor_;
276  mutable ::google::protobuf::internal::CachedSize _cached_size_;
278 };
279 // ===================================================================
280 
281 
282 // ===================================================================
283 
284 #ifdef __GNUC__
285  #pragma GCC diagnostic push
286  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
287 #endif // __GNUC__
288 // WorldStatistics
289 
290 // .ignition.msgs.Header header = 1;
291 inline bool WorldStatistics::has_header() const {
292  return this != internal_default_instance() && header_ != NULL;
293 }
294 inline const ::ignition::msgs::Header& WorldStatistics::_internal_header() const {
295  return *header_;
296 }
297 inline const ::ignition::msgs::Header& WorldStatistics::header() const {
298  const ::ignition::msgs::Header* p = header_;
299  // @@protoc_insertion_point(field_get:ignition.msgs.WorldStatistics.header)
300  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
302 }
303 inline ::ignition::msgs::Header* WorldStatistics::release_header() {
304  // @@protoc_insertion_point(field_release:ignition.msgs.WorldStatistics.header)
305 
306  ::ignition::msgs::Header* temp = header_;
307  header_ = NULL;
308  return temp;
309 }
310 inline ::ignition::msgs::Header* WorldStatistics::mutable_header() {
311 
312  if (header_ == NULL) {
313  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
314  header_ = p;
315  }
316  // @@protoc_insertion_point(field_mutable:ignition.msgs.WorldStatistics.header)
317  return header_;
318 }
320  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
321  if (message_arena == NULL) {
322  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
323  }
324  if (header) {
325  ::google::protobuf::Arena* submessage_arena = NULL;
326  if (message_arena != submessage_arena) {
327  header = ::google::protobuf::internal::GetOwnedMessage(
328  message_arena, header, submessage_arena);
329  }
330 
331  } else {
332 
333  }
334  header_ = header;
335  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WorldStatistics.header)
336 }
337 
338 // .ignition.msgs.Time sim_time = 2;
339 inline bool WorldStatistics::has_sim_time() const {
340  return this != internal_default_instance() && sim_time_ != NULL;
341 }
342 inline const ::ignition::msgs::Time& WorldStatistics::_internal_sim_time() const {
343  return *sim_time_;
344 }
345 inline const ::ignition::msgs::Time& WorldStatistics::sim_time() const {
346  const ::ignition::msgs::Time* p = sim_time_;
347  // @@protoc_insertion_point(field_get:ignition.msgs.WorldStatistics.sim_time)
348  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
350 }
351 inline ::ignition::msgs::Time* WorldStatistics::release_sim_time() {
352  // @@protoc_insertion_point(field_release:ignition.msgs.WorldStatistics.sim_time)
353 
354  ::ignition::msgs::Time* temp = sim_time_;
355  sim_time_ = NULL;
356  return temp;
357 }
358 inline ::ignition::msgs::Time* WorldStatistics::mutable_sim_time() {
359 
360  if (sim_time_ == NULL) {
361  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
362  sim_time_ = p;
363  }
364  // @@protoc_insertion_point(field_mutable:ignition.msgs.WorldStatistics.sim_time)
365  return sim_time_;
366 }
368  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
369  if (message_arena == NULL) {
370  delete reinterpret_cast< ::google::protobuf::MessageLite*>(sim_time_);
371  }
372  if (sim_time) {
373  ::google::protobuf::Arena* submessage_arena = NULL;
374  if (message_arena != submessage_arena) {
375  sim_time = ::google::protobuf::internal::GetOwnedMessage(
376  message_arena, sim_time, submessage_arena);
377  }
378 
379  } else {
380 
381  }
382  sim_time_ = sim_time;
383  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WorldStatistics.sim_time)
384 }
385 
386 // .ignition.msgs.Time pause_time = 3;
387 inline bool WorldStatistics::has_pause_time() const {
388  return this != internal_default_instance() && pause_time_ != NULL;
389 }
390 inline const ::ignition::msgs::Time& WorldStatistics::_internal_pause_time() const {
391  return *pause_time_;
392 }
393 inline const ::ignition::msgs::Time& WorldStatistics::pause_time() const {
394  const ::ignition::msgs::Time* p = pause_time_;
395  // @@protoc_insertion_point(field_get:ignition.msgs.WorldStatistics.pause_time)
396  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
398 }
399 inline ::ignition::msgs::Time* WorldStatistics::release_pause_time() {
400  // @@protoc_insertion_point(field_release:ignition.msgs.WorldStatistics.pause_time)
401 
402  ::ignition::msgs::Time* temp = pause_time_;
403  pause_time_ = NULL;
404  return temp;
405 }
406 inline ::ignition::msgs::Time* WorldStatistics::mutable_pause_time() {
407 
408  if (pause_time_ == NULL) {
409  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
410  pause_time_ = p;
411  }
412  // @@protoc_insertion_point(field_mutable:ignition.msgs.WorldStatistics.pause_time)
413  return pause_time_;
414 }
416  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
417  if (message_arena == NULL) {
418  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pause_time_);
419  }
420  if (pause_time) {
421  ::google::protobuf::Arena* submessage_arena = NULL;
422  if (message_arena != submessage_arena) {
423  pause_time = ::google::protobuf::internal::GetOwnedMessage(
424  message_arena, pause_time, submessage_arena);
425  }
426 
427  } else {
428 
429  }
430  pause_time_ = pause_time;
431  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WorldStatistics.pause_time)
432 }
433 
434 // .ignition.msgs.Time real_time = 4;
435 inline bool WorldStatistics::has_real_time() const {
436  return this != internal_default_instance() && real_time_ != NULL;
437 }
438 inline const ::ignition::msgs::Time& WorldStatistics::_internal_real_time() const {
439  return *real_time_;
440 }
441 inline const ::ignition::msgs::Time& WorldStatistics::real_time() const {
442  const ::ignition::msgs::Time* p = real_time_;
443  // @@protoc_insertion_point(field_get:ignition.msgs.WorldStatistics.real_time)
444  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
446 }
447 inline ::ignition::msgs::Time* WorldStatistics::release_real_time() {
448  // @@protoc_insertion_point(field_release:ignition.msgs.WorldStatistics.real_time)
449 
450  ::ignition::msgs::Time* temp = real_time_;
451  real_time_ = NULL;
452  return temp;
453 }
454 inline ::ignition::msgs::Time* WorldStatistics::mutable_real_time() {
455 
456  if (real_time_ == NULL) {
457  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
458  real_time_ = p;
459  }
460  // @@protoc_insertion_point(field_mutable:ignition.msgs.WorldStatistics.real_time)
461  return real_time_;
462 }
464  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
465  if (message_arena == NULL) {
466  delete reinterpret_cast< ::google::protobuf::MessageLite*>(real_time_);
467  }
468  if (real_time) {
469  ::google::protobuf::Arena* submessage_arena = NULL;
470  if (message_arena != submessage_arena) {
471  real_time = ::google::protobuf::internal::GetOwnedMessage(
472  message_arena, real_time, submessage_arena);
473  }
474 
475  } else {
476 
477  }
478  real_time_ = real_time;
479  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WorldStatistics.real_time)
480 }
481 
482 // bool paused = 5;
484  paused_ = false;
485 }
486 inline bool WorldStatistics::paused() const {
487  // @@protoc_insertion_point(field_get:ignition.msgs.WorldStatistics.paused)
488  return paused_;
489 }
490 inline void WorldStatistics::set_paused(bool value) {
491 
492  paused_ = value;
493  // @@protoc_insertion_point(field_set:ignition.msgs.WorldStatistics.paused)
494 }
495 
496 // uint64 iterations = 6;
498  iterations_ = GOOGLE_ULONGLONG(0);
499 }
500 inline ::google::protobuf::uint64 WorldStatistics::iterations() const {
501  // @@protoc_insertion_point(field_get:ignition.msgs.WorldStatistics.iterations)
502  return iterations_;
503 }
504 inline void WorldStatistics::set_iterations(::google::protobuf::uint64 value) {
505 
506  iterations_ = value;
507  // @@protoc_insertion_point(field_set:ignition.msgs.WorldStatistics.iterations)
508 }
509 
510 // int32 model_count = 7;
512  model_count_ = 0;
513 }
514 inline ::google::protobuf::int32 WorldStatistics::model_count() const {
515  // @@protoc_insertion_point(field_get:ignition.msgs.WorldStatistics.model_count)
516  return model_count_;
517 }
518 inline void WorldStatistics::set_model_count(::google::protobuf::int32 value) {
519 
520  model_count_ = value;
521  // @@protoc_insertion_point(field_set:ignition.msgs.WorldStatistics.model_count)
522 }
523 
524 // .ignition.msgs.LogPlaybackStatistics log_playback_stats = 8;
526  return this != internal_default_instance() && log_playback_stats_ != NULL;
527 }
528 inline const ::ignition::msgs::LogPlaybackStatistics& WorldStatistics::_internal_log_playback_stats() const {
529  return *log_playback_stats_;
530 }
531 inline const ::ignition::msgs::LogPlaybackStatistics& WorldStatistics::log_playback_stats() const {
532  const ::ignition::msgs::LogPlaybackStatistics* p = log_playback_stats_;
533  // @@protoc_insertion_point(field_get:ignition.msgs.WorldStatistics.log_playback_stats)
534  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::LogPlaybackStatistics*>(
536 }
537 inline ::ignition::msgs::LogPlaybackStatistics* WorldStatistics::release_log_playback_stats() {
538  // @@protoc_insertion_point(field_release:ignition.msgs.WorldStatistics.log_playback_stats)
539 
540  ::ignition::msgs::LogPlaybackStatistics* temp = log_playback_stats_;
541  log_playback_stats_ = NULL;
542  return temp;
543 }
544 inline ::ignition::msgs::LogPlaybackStatistics* WorldStatistics::mutable_log_playback_stats() {
545 
546  if (log_playback_stats_ == NULL) {
547  auto* p = CreateMaybeMessage<::ignition::msgs::LogPlaybackStatistics>(GetArenaNoVirtual());
548  log_playback_stats_ = p;
549  }
550  // @@protoc_insertion_point(field_mutable:ignition.msgs.WorldStatistics.log_playback_stats)
551  return log_playback_stats_;
552 }
554  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
555  if (message_arena == NULL) {
556  delete reinterpret_cast< ::google::protobuf::MessageLite*>(log_playback_stats_);
557  }
558  if (log_playback_stats) {
559  ::google::protobuf::Arena* submessage_arena = NULL;
560  if (message_arena != submessage_arena) {
561  log_playback_stats = ::google::protobuf::internal::GetOwnedMessage(
562  message_arena, log_playback_stats, submessage_arena);
563  }
564 
565  } else {
566 
567  }
568  log_playback_stats_ = log_playback_stats;
569  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WorldStatistics.log_playback_stats)
570 }
571 
572 // double real_time_factor = 9;
574  real_time_factor_ = 0;
575 }
576 inline double WorldStatistics::real_time_factor() const {
577  // @@protoc_insertion_point(field_get:ignition.msgs.WorldStatistics.real_time_factor)
578  return real_time_factor_;
579 }
580 inline void WorldStatistics::set_real_time_factor(double value) {
581 
582  real_time_factor_ = value;
583  // @@protoc_insertion_point(field_set:ignition.msgs.WorldStatistics.real_time_factor)
584 }
585 
586 // .ignition.msgs.Time step_size = 10;
587 inline bool WorldStatistics::has_step_size() const {
588  return this != internal_default_instance() && step_size_ != NULL;
589 }
590 inline const ::ignition::msgs::Time& WorldStatistics::_internal_step_size() const {
591  return *step_size_;
592 }
593 inline const ::ignition::msgs::Time& WorldStatistics::step_size() const {
594  const ::ignition::msgs::Time* p = step_size_;
595  // @@protoc_insertion_point(field_get:ignition.msgs.WorldStatistics.step_size)
596  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
598 }
599 inline ::ignition::msgs::Time* WorldStatistics::release_step_size() {
600  // @@protoc_insertion_point(field_release:ignition.msgs.WorldStatistics.step_size)
601 
602  ::ignition::msgs::Time* temp = step_size_;
603  step_size_ = NULL;
604  return temp;
605 }
606 inline ::ignition::msgs::Time* WorldStatistics::mutable_step_size() {
607 
608  if (step_size_ == NULL) {
609  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
610  step_size_ = p;
611  }
612  // @@protoc_insertion_point(field_mutable:ignition.msgs.WorldStatistics.step_size)
613  return step_size_;
614 }
616  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
617  if (message_arena == NULL) {
618  delete reinterpret_cast< ::google::protobuf::MessageLite*>(step_size_);
619  }
620  if (step_size) {
621  ::google::protobuf::Arena* submessage_arena = NULL;
622  if (message_arena != submessage_arena) {
623  step_size = ::google::protobuf::internal::GetOwnedMessage(
624  message_arena, step_size, submessage_arena);
625  }
626 
627  } else {
628 
629  }
630  step_size_ = step_size;
631  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WorldStatistics.step_size)
632 }
633 
634 #ifdef __GNUC__
635  #pragma GCC diagnostic pop
636 #endif // __GNUC__
637 
642 // @@protoc_insertion_point(namespace_scope)
643 
644 } // namespace msgs
645 } // namespace ignition
646 
647 #ifdef _MSC_VER
648 #pragma warning(pop)
649 #endif
650 // @@protoc_insertion_point(global_scope)
651 
652 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fstats_2eproto
const ::ignition::msgs::Time & sim_time() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:345
const ::ignition::msgs::Time & step_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:593
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:291
STL class.
Definition: build/ignition-msgs8/include/ignition/msgs/time.pb.h:76
double real_time_factor() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:576
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_stats.pb.h:78
const ::ignition::msgs::LogPlaybackStatistics & log_playback_stats() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:531
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:52
friend void swap(WorldStatistics &a, WorldStatistics &b)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:117
::ignition::msgs::Time * release_step_size()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:599
::ignition::msgs::Time * mutable_step_size()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:606
std::shared_ptr< const WorldStatistics > ConstWorldStatisticsSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:641
void clear_paused()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:483
IGNITION_MSGS_VISIBLE TimeDefaultTypeInternal _Time_default_instance_
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:310
::ignition::msgs::Time * mutable_pause_time()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:406
::ignition::msgs::LogPlaybackStatistics * release_log_playback_stats()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:537
void clear_real_time_factor()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:573
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:319
void IGNITION_MSGS_VISIBLE AddDescriptors()
::ignition::msgs::Time * release_real_time()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:447
void set_allocated_log_playback_stats(::ignition::msgs::LogPlaybackStatistics *log_playback_stats)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:553
::ignition::msgs::Time * mutable_sim_time()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:358
const ::ignition::msgs::Time & pause_time() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:393
WorldStatistics & operator=(const WorldStatistics &from)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:86
bool has_sim_time() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:339
::ignition::msgs::LogPlaybackStatistics * mutable_log_playback_stats()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:544
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:79
::ignition::msgs::Time * mutable_real_time()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:454
WorldStatistics * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:123
void set_allocated_step_size(::ignition::msgs::Time *step_size)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:615
bool paused() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:486
std::shared_ptr< WorldStatistics > WorldStatisticsSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:640
static const WorldStatistics * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:109
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:297
void set_allocated_sim_time(::ignition::msgs::Time *sim_time)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:367
void set_allocated_pause_time(::ignition::msgs::Time *pause_time)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:415
::google::protobuf::int32 model_count() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:514
void clear_model_count()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:511
std::unique_ptr< const WorldStatistics > ConstWorldStatisticsUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:639
void set_model_count(::google::protobuf::int32 value)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:518
IGNITION_MSGS_VISIBLE WorldStatisticsDefaultTypeInternal _WorldStatistics_default_instance_
bool has_step_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:587
bool has_real_time() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:435
std::unique_ptr< WorldStatistics > WorldStatisticsUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:638
void set_iterations(::google::protobuf::uint64 value)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:504
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const ::ignition::msgs::Time & real_time() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:441
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
void Swap(WorldStatistics *other)
void set_real_time_factor(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:580
::ignition::msgs::Time * release_pause_time()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:399
bool has_pause_time() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:387
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:303
void set_allocated_real_time(::ignition::msgs::Time *real_time)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:463
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:50
STL class.
bool has_log_playback_stats() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:525
IGNITION_MSGS_VISIBLE LogPlaybackStatisticsDefaultTypeInternal _LogPlaybackStatistics_default_instance_
void clear_iterations()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:497
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
void set_paused(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:490
WorldStatistics * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:127
::ignition::msgs::Time * release_sim_time()
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:351
::google::protobuf::uint64 iterations() const
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:500