Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/clock.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/clock.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fclock_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fclock_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_2fclock_2eproto IGNITION_MSGS_VISIBLE
48 
50 // Internal implementation detail -- do not use these members.
51 struct IGNITION_MSGS_VISIBLE TableStruct {
52  static const ::google::protobuf::internal::ParseTableField entries[];
53  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54  static const ::google::protobuf::internal::ParseTable schema[1];
55  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56  static const ::google::protobuf::internal::SerializationTable serialization_table[];
57  static const ::google::protobuf::uint32 offsets[];
58 };
59 void IGNITION_MSGS_VISIBLE AddDescriptors();
60 } // namespace protobuf_ignition_2fmsgs_2fclock_2eproto
61 namespace ignition {
62 namespace msgs {
63 class Clock;
64 class ClockDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern ClockDefaultTypeInternal _Clock_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Clock* Arena::CreateMaybeMessage<::ignition::msgs::Clock>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE Clock : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Clock) */ {
79  public:
80  Clock();
81  virtual ~Clock();
82 
83  Clock(const Clock& from);
84 
85  inline Clock& operator=(const Clock& from) {
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
90  Clock(Clock&& from) noexcept
91  : Clock() {
92  *this = ::std::move(from);
93  }
94 
95  inline Clock& operator=(Clock&& from) noexcept {
96  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97  if (this != &from) InternalSwap(&from);
98  } else {
99  CopyFrom(from);
100  }
101  return *this;
102  }
103  #endif
104  static const ::google::protobuf::Descriptor* descriptor();
105  static const Clock& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
108  static inline const Clock* internal_default_instance() {
109  return reinterpret_cast<const Clock*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(Clock* other);
116  friend void swap(Clock& a, Clock& b) {
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline Clock* New() const final {
123  return CreateMaybeMessage<Clock>(NULL);
124  }
125 
126  Clock* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<Clock>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const Clock& from);
132  void MergeFrom(const Clock& from);
133  void Clear() final;
134  bool IsInitialized() const final;
135 
136  size_t ByteSizeLong() const final;
137  bool MergePartialFromCodedStream(
138  ::google::protobuf::io::CodedInputStream* input) final;
139  void SerializeWithCachedSizes(
140  ::google::protobuf::io::CodedOutputStream* output) const final;
141  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
142  bool deterministic, ::google::protobuf::uint8* target) const final;
143  int GetCachedSize() const final { return _cached_size_.Get(); }
144 
145  private:
146  void SharedCtor();
147  void SharedDtor();
148  void SetCachedSize(int size) const final;
149  void InternalSwap(Clock* other);
150  private:
151  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
152  return NULL;
153  }
154  inline void* MaybeArenaPtr() const {
155  return NULL;
156  }
157  public:
158 
159  ::google::protobuf::Metadata GetMetadata() const final;
160 
161  // nested types ----------------------------------------------------
162 
163  // accessors -------------------------------------------------------
164 
165  // .ignition.msgs.Header header = 1;
166  bool has_header() const;
167  void clear_header();
168  static const int kHeaderFieldNumber = 1;
169  private:
170  const ::ignition::msgs::Header& _internal_header() const;
171  public:
172  const ::ignition::msgs::Header& header() const;
173  ::ignition::msgs::Header* release_header();
174  ::ignition::msgs::Header* mutable_header();
175  void set_allocated_header(::ignition::msgs::Header* header);
176 
177  // .ignition.msgs.Time system = 2;
178  bool has_system() const;
179  void clear_system();
180  static const int kSystemFieldNumber = 2;
181  private:
182  const ::ignition::msgs::Time& _internal_system() const;
183  public:
184  const ::ignition::msgs::Time& system() const;
185  ::ignition::msgs::Time* release_system();
186  ::ignition::msgs::Time* mutable_system();
187  void set_allocated_system(::ignition::msgs::Time* system);
188 
189  // .ignition.msgs.Time real = 3;
190  bool has_real() const;
191  void clear_real();
192  static const int kRealFieldNumber = 3;
193  private:
194  const ::ignition::msgs::Time& _internal_real() const;
195  public:
196  const ::ignition::msgs::Time& real() const;
197  ::ignition::msgs::Time* release_real();
198  ::ignition::msgs::Time* mutable_real();
199  void set_allocated_real(::ignition::msgs::Time* real);
200 
201  // .ignition.msgs.Time sim = 4;
202  bool has_sim() const;
203  void clear_sim();
204  static const int kSimFieldNumber = 4;
205  private:
206  const ::ignition::msgs::Time& _internal_sim() const;
207  public:
208  const ::ignition::msgs::Time& sim() const;
209  ::ignition::msgs::Time* release_sim();
210  ::ignition::msgs::Time* mutable_sim();
211  void set_allocated_sim(::ignition::msgs::Time* sim);
212 
213  // @@protoc_insertion_point(class_scope:ignition.msgs.Clock)
214  private:
215 
216  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
217  ::ignition::msgs::Header* header_;
218  ::ignition::msgs::Time* system_;
219  ::ignition::msgs::Time* real_;
220  ::ignition::msgs::Time* sim_;
221  mutable ::google::protobuf::internal::CachedSize _cached_size_;
222  friend struct ::protobuf_ignition_2fmsgs_2fclock_2eproto::TableStruct;
223 };
224 // ===================================================================
225 
226 
227 // ===================================================================
228 
229 #ifdef __GNUC__
230  #pragma GCC diagnostic push
231  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
232 #endif // __GNUC__
233 // Clock
234 
235 // .ignition.msgs.Header header = 1;
236 inline bool Clock::has_header() const {
237  return this != internal_default_instance() && header_ != NULL;
238 }
239 inline const ::ignition::msgs::Header& Clock::_internal_header() const {
240  return *header_;
241 }
242 inline const ::ignition::msgs::Header& Clock::header() const {
243  const ::ignition::msgs::Header* p = header_;
244  // @@protoc_insertion_point(field_get:ignition.msgs.Clock.header)
245  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
247 }
248 inline ::ignition::msgs::Header* Clock::release_header() {
249  // @@protoc_insertion_point(field_release:ignition.msgs.Clock.header)
250 
251  ::ignition::msgs::Header* temp = header_;
252  header_ = NULL;
253  return temp;
254 }
255 inline ::ignition::msgs::Header* Clock::mutable_header() {
256 
257  if (header_ == NULL) {
258  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
259  header_ = p;
260  }
261  // @@protoc_insertion_point(field_mutable:ignition.msgs.Clock.header)
262  return header_;
263 }
265  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
266  if (message_arena == NULL) {
267  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
268  }
269  if (header) {
270  ::google::protobuf::Arena* submessage_arena = NULL;
271  if (message_arena != submessage_arena) {
272  header = ::google::protobuf::internal::GetOwnedMessage(
273  message_arena, header, submessage_arena);
274  }
275 
276  } else {
277 
278  }
279  header_ = header;
280  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Clock.header)
281 }
282 
283 // .ignition.msgs.Time system = 2;
284 inline bool Clock::has_system() const {
285  return this != internal_default_instance() && system_ != NULL;
286 }
287 inline const ::ignition::msgs::Time& Clock::_internal_system() const {
288  return *system_;
289 }
290 inline const ::ignition::msgs::Time& Clock::system() const {
291  const ::ignition::msgs::Time* p = system_;
292  // @@protoc_insertion_point(field_get:ignition.msgs.Clock.system)
293  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
295 }
296 inline ::ignition::msgs::Time* Clock::release_system() {
297  // @@protoc_insertion_point(field_release:ignition.msgs.Clock.system)
298 
299  ::ignition::msgs::Time* temp = system_;
300  system_ = NULL;
301  return temp;
302 }
303 inline ::ignition::msgs::Time* Clock::mutable_system() {
304 
305  if (system_ == NULL) {
306  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
307  system_ = p;
308  }
309  // @@protoc_insertion_point(field_mutable:ignition.msgs.Clock.system)
310  return system_;
311 }
313  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
314  if (message_arena == NULL) {
315  delete reinterpret_cast< ::google::protobuf::MessageLite*>(system_);
316  }
317  if (system) {
318  ::google::protobuf::Arena* submessage_arena = NULL;
319  if (message_arena != submessage_arena) {
320  system = ::google::protobuf::internal::GetOwnedMessage(
321  message_arena, system, submessage_arena);
322  }
323 
324  } else {
325 
326  }
327  system_ = system;
328  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Clock.system)
329 }
330 
331 // .ignition.msgs.Time real = 3;
332 inline bool Clock::has_real() const {
333  return this != internal_default_instance() && real_ != NULL;
334 }
335 inline const ::ignition::msgs::Time& Clock::_internal_real() const {
336  return *real_;
337 }
338 inline const ::ignition::msgs::Time& Clock::real() const {
339  const ::ignition::msgs::Time* p = real_;
340  // @@protoc_insertion_point(field_get:ignition.msgs.Clock.real)
341  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
343 }
344 inline ::ignition::msgs::Time* Clock::release_real() {
345  // @@protoc_insertion_point(field_release:ignition.msgs.Clock.real)
346 
347  ::ignition::msgs::Time* temp = real_;
348  real_ = NULL;
349  return temp;
350 }
351 inline ::ignition::msgs::Time* Clock::mutable_real() {
352 
353  if (real_ == NULL) {
354  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
355  real_ = p;
356  }
357  // @@protoc_insertion_point(field_mutable:ignition.msgs.Clock.real)
358  return real_;
359 }
361  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
362  if (message_arena == NULL) {
363  delete reinterpret_cast< ::google::protobuf::MessageLite*>(real_);
364  }
365  if (real) {
366  ::google::protobuf::Arena* submessage_arena = NULL;
367  if (message_arena != submessage_arena) {
368  real = ::google::protobuf::internal::GetOwnedMessage(
369  message_arena, real, submessage_arena);
370  }
371 
372  } else {
373 
374  }
375  real_ = real;
376  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Clock.real)
377 }
378 
379 // .ignition.msgs.Time sim = 4;
380 inline bool Clock::has_sim() const {
381  return this != internal_default_instance() && sim_ != NULL;
382 }
383 inline const ::ignition::msgs::Time& Clock::_internal_sim() const {
384  return *sim_;
385 }
386 inline const ::ignition::msgs::Time& Clock::sim() const {
387  const ::ignition::msgs::Time* p = sim_;
388  // @@protoc_insertion_point(field_get:ignition.msgs.Clock.sim)
389  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
391 }
392 inline ::ignition::msgs::Time* Clock::release_sim() {
393  // @@protoc_insertion_point(field_release:ignition.msgs.Clock.sim)
394 
395  ::ignition::msgs::Time* temp = sim_;
396  sim_ = NULL;
397  return temp;
398 }
399 inline ::ignition::msgs::Time* Clock::mutable_sim() {
400 
401  if (sim_ == NULL) {
402  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
403  sim_ = p;
404  }
405  // @@protoc_insertion_point(field_mutable:ignition.msgs.Clock.sim)
406  return sim_;
407 }
409  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
410  if (message_arena == NULL) {
411  delete reinterpret_cast< ::google::protobuf::MessageLite*>(sim_);
412  }
413  if (sim) {
414  ::google::protobuf::Arena* submessage_arena = NULL;
415  if (message_arena != submessage_arena) {
416  sim = ::google::protobuf::internal::GetOwnedMessage(
417  message_arena, sim, submessage_arena);
418  }
419 
420  } else {
421 
422  }
423  sim_ = sim;
424  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Clock.sim)
425 }
426 
427 #ifdef __GNUC__
428  #pragma GCC diagnostic pop
429 #endif // __GNUC__
430 
435 // @@protoc_insertion_point(namespace_scope)
436 
437 } // namespace msgs
438 } // namespace ignition
439 
440 #ifdef _MSC_VER
441 #pragma warning(pop)
442 #endif
443 // @@protoc_insertion_point(global_scope)
444 
445 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fclock_2eproto
std::shared_ptr< const Clock > ConstClockSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:434
static const Clock * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:108
void IGNITION_MSGS_VISIBLE AddDescriptors()
std::unique_ptr< const Clock > ConstClockUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:432
STL class.
Definition: build/ignition-msgs5/include/ignition/msgs/time.pb.h:76
bool has_system() const
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:284
const ::ignition::msgs::Time & system() const
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:290
Clock & operator=(const Clock &from)
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:85
::ignition::msgs::Time * release_system()
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:296
void set_allocated_sim(::ignition::msgs::Time *sim)
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:408
::ignition::msgs::Time * mutable_real()
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:351
IGNITION_MSGS_VISIBLE TimeDefaultTypeInternal _Time_default_instance_
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:236
bool has_sim() const
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:380
void set_allocated_real(::ignition::msgs::Time *real)
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:360
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:78
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:51
Clock * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:122
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:264
std::shared_ptr< Clock > ClockSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:433
::ignition::msgs::Time * release_real()
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:344
::ignition::msgs::Time * mutable_system()
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:303
const ::ignition::msgs::Time & real() const
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:338
IGNITION_MSGS_VISIBLE ClockDefaultTypeInternal _Clock_default_instance_
const ::ignition::msgs::Time & sim() const
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:386
::ignition::msgs::Time * release_sim()
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:392
bool has_real() const
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:332
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:49
Clock * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:126
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:248
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:242
friend void swap(Clock &a, Clock &b)
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:116
void Swap(Clock *other)
void set_allocated_system(::ignition::msgs::Time *system)
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:312
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:255
STL class.
std::unique_ptr< Clock > ClockUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:431
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
::ignition::msgs::Time * mutable_sim()
Definition: build/ignition-msgs5/include/ignition/msgs/clock.pb.h:399