Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/world_control.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/world_control.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fcontrol_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fcontrol_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fworld_5fcontrol_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_2fworld_5fcontrol_2eproto
61 namespace ignition {
62 namespace msgs {
63 class WorldControl;
64 class WorldControlDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern WorldControlDefaultTypeInternal _WorldControl_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::WorldControl* Arena::CreateMaybeMessage<::ignition::msgs::WorldControl>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE WorldControl : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.WorldControl) */ {
79  public:
80  WorldControl();
81  virtual ~WorldControl();
82 
83  WorldControl(const WorldControl& from);
84 
85  inline WorldControl& operator=(const WorldControl& from) {
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
90  WorldControl(WorldControl&& from) noexcept
91  : WorldControl() {
92  *this = ::std::move(from);
93  }
94 
95  inline WorldControl& operator=(WorldControl&& 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 WorldControl& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
108  static inline const WorldControl* internal_default_instance() {
109  return reinterpret_cast<const WorldControl*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(WorldControl* other);
116  friend void swap(WorldControl& a, WorldControl& b) {
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline WorldControl* New() const final {
123  return CreateMaybeMessage<WorldControl>(NULL);
124  }
125 
126  WorldControl* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<WorldControl>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const WorldControl& from);
132  void MergeFrom(const WorldControl& 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(WorldControl* 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.WorldReset reset = 5;
178  bool has_reset() const;
179  void clear_reset();
180  static const int kResetFieldNumber = 5;
181  private:
182  const ::ignition::msgs::WorldReset& _internal_reset() const;
183  public:
184  const ::ignition::msgs::WorldReset& reset() const;
185  ::ignition::msgs::WorldReset* release_reset();
186  ::ignition::msgs::WorldReset* mutable_reset();
187  void set_allocated_reset(::ignition::msgs::WorldReset* reset);
188 
189  // bool pause = 2;
190  void clear_pause();
191  static const int kPauseFieldNumber = 2;
192  bool pause() const;
193  void set_pause(bool value);
194 
195  // bool step = 3;
196  void clear_step();
197  static const int kStepFieldNumber = 3;
198  bool step() const;
199  void set_step(bool value);
200 
201  // uint32 multi_step = 4;
202  void clear_multi_step();
203  static const int kMultiStepFieldNumber = 4;
204  ::google::protobuf::uint32 multi_step() const;
205  void set_multi_step(::google::protobuf::uint32 value);
206 
207  // uint32 seed = 6;
208  void clear_seed();
209  static const int kSeedFieldNumber = 6;
210  ::google::protobuf::uint32 seed() const;
211  void set_seed(::google::protobuf::uint32 value);
212 
213  // @@protoc_insertion_point(class_scope:ignition.msgs.WorldControl)
214  private:
215 
216  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
217  ::ignition::msgs::Header* header_;
218  ::ignition::msgs::WorldReset* reset_;
219  bool pause_;
220  bool step_;
221  ::google::protobuf::uint32 multi_step_;
222  ::google::protobuf::uint32 seed_;
223  mutable ::google::protobuf::internal::CachedSize _cached_size_;
225 };
226 // ===================================================================
227 
228 
229 // ===================================================================
230 
231 #ifdef __GNUC__
232  #pragma GCC diagnostic push
233  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
234 #endif // __GNUC__
235 // WorldControl
236 
237 // .ignition.msgs.Header header = 1;
238 inline bool WorldControl::has_header() const {
239  return this != internal_default_instance() && header_ != NULL;
240 }
241 inline const ::ignition::msgs::Header& WorldControl::_internal_header() const {
242  return *header_;
243 }
244 inline const ::ignition::msgs::Header& WorldControl::header() const {
245  const ::ignition::msgs::Header* p = header_;
246  // @@protoc_insertion_point(field_get:ignition.msgs.WorldControl.header)
247  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
249 }
250 inline ::ignition::msgs::Header* WorldControl::release_header() {
251  // @@protoc_insertion_point(field_release:ignition.msgs.WorldControl.header)
252 
253  ::ignition::msgs::Header* temp = header_;
254  header_ = NULL;
255  return temp;
256 }
257 inline ::ignition::msgs::Header* WorldControl::mutable_header() {
258 
259  if (header_ == NULL) {
260  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
261  header_ = p;
262  }
263  // @@protoc_insertion_point(field_mutable:ignition.msgs.WorldControl.header)
264  return header_;
265 }
267  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
268  if (message_arena == NULL) {
269  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
270  }
271  if (header) {
272  ::google::protobuf::Arena* submessage_arena = NULL;
273  if (message_arena != submessage_arena) {
274  header = ::google::protobuf::internal::GetOwnedMessage(
275  message_arena, header, submessage_arena);
276  }
277 
278  } else {
279 
280  }
281  header_ = header;
282  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WorldControl.header)
283 }
284 
285 // bool pause = 2;
287  pause_ = false;
288 }
289 inline bool WorldControl::pause() const {
290  // @@protoc_insertion_point(field_get:ignition.msgs.WorldControl.pause)
291  return pause_;
292 }
293 inline void WorldControl::set_pause(bool value) {
294 
295  pause_ = value;
296  // @@protoc_insertion_point(field_set:ignition.msgs.WorldControl.pause)
297 }
298 
299 // bool step = 3;
301  step_ = false;
302 }
303 inline bool WorldControl::step() const {
304  // @@protoc_insertion_point(field_get:ignition.msgs.WorldControl.step)
305  return step_;
306 }
307 inline void WorldControl::set_step(bool value) {
308 
309  step_ = value;
310  // @@protoc_insertion_point(field_set:ignition.msgs.WorldControl.step)
311 }
312 
313 // uint32 multi_step = 4;
315  multi_step_ = 0u;
316 }
317 inline ::google::protobuf::uint32 WorldControl::multi_step() const {
318  // @@protoc_insertion_point(field_get:ignition.msgs.WorldControl.multi_step)
319  return multi_step_;
320 }
321 inline void WorldControl::set_multi_step(::google::protobuf::uint32 value) {
322 
323  multi_step_ = value;
324  // @@protoc_insertion_point(field_set:ignition.msgs.WorldControl.multi_step)
325 }
326 
327 // .ignition.msgs.WorldReset reset = 5;
328 inline bool WorldControl::has_reset() const {
329  return this != internal_default_instance() && reset_ != NULL;
330 }
331 inline const ::ignition::msgs::WorldReset& WorldControl::_internal_reset() const {
332  return *reset_;
333 }
334 inline const ::ignition::msgs::WorldReset& WorldControl::reset() const {
335  const ::ignition::msgs::WorldReset* p = reset_;
336  // @@protoc_insertion_point(field_get:ignition.msgs.WorldControl.reset)
337  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::WorldReset*>(
339 }
340 inline ::ignition::msgs::WorldReset* WorldControl::release_reset() {
341  // @@protoc_insertion_point(field_release:ignition.msgs.WorldControl.reset)
342 
343  ::ignition::msgs::WorldReset* temp = reset_;
344  reset_ = NULL;
345  return temp;
346 }
347 inline ::ignition::msgs::WorldReset* WorldControl::mutable_reset() {
348 
349  if (reset_ == NULL) {
350  auto* p = CreateMaybeMessage<::ignition::msgs::WorldReset>(GetArenaNoVirtual());
351  reset_ = p;
352  }
353  // @@protoc_insertion_point(field_mutable:ignition.msgs.WorldControl.reset)
354  return reset_;
355 }
357  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
358  if (message_arena == NULL) {
359  delete reinterpret_cast< ::google::protobuf::MessageLite*>(reset_);
360  }
361  if (reset) {
362  ::google::protobuf::Arena* submessage_arena = NULL;
363  if (message_arena != submessage_arena) {
364  reset = ::google::protobuf::internal::GetOwnedMessage(
365  message_arena, reset, submessage_arena);
366  }
367 
368  } else {
369 
370  }
371  reset_ = reset;
372  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WorldControl.reset)
373 }
374 
375 // uint32 seed = 6;
377  seed_ = 0u;
378 }
379 inline ::google::protobuf::uint32 WorldControl::seed() const {
380  // @@protoc_insertion_point(field_get:ignition.msgs.WorldControl.seed)
381  return seed_;
382 }
383 inline void WorldControl::set_seed(::google::protobuf::uint32 value) {
384 
385  seed_ = value;
386  // @@protoc_insertion_point(field_set:ignition.msgs.WorldControl.seed)
387 }
388 
389 #ifdef __GNUC__
390  #pragma GCC diagnostic pop
391 #endif // __GNUC__
392 
397 // @@protoc_insertion_point(namespace_scope)
398 
399 } // namespace msgs
400 } // namespace ignition
401 
402 #ifdef _MSC_VER
403 #pragma warning(pop)
404 #endif
405 // @@protoc_insertion_point(global_scope)
406 
407 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fcontrol_2eproto
bool has_reset() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:328
IGNITION_MSGS_VISIBLE WorldResetDefaultTypeInternal _WorldReset_default_instance_
void set_step(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:307
STL class.
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:78
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:238
std::unique_ptr< const WorldControl > ConstWorldControlUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:394
static const WorldControl * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:108
void Swap(WorldControl *other)
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:266
std::unique_ptr< WorldControl > WorldControlUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:393
::google::protobuf::uint32 seed() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:379
::ignition::msgs::WorldReset * release_reset()
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:340
WorldControl * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:126
bool step() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:303
void set_allocated_reset(::ignition::msgs::WorldReset *reset)
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:356
IGNITION_MSGS_VISIBLE WorldControlDefaultTypeInternal _WorldControl_default_instance_
friend void swap(WorldControl &a, WorldControl &b)
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:116
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:49
void clear_pause()
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:286
::ignition::msgs::WorldReset * mutable_reset()
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:347
Definition: build/ignition-msgs5/include/ignition/msgs/world_reset.pb.h:77
void set_pause(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:293
void clear_multi_step()
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:314
void set_multi_step(::google::protobuf::uint32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:321
std::shared_ptr< WorldControl > WorldControlSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:395
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:244
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:257
const ::ignition::msgs::WorldReset & reset() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:334
::google::protobuf::uint32 multi_step() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:317
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:250
void clear_step()
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:300
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:51
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
WorldControl & operator=(const WorldControl &from)
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:85
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
bool pause() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:289
std::shared_ptr< const WorldControl > ConstWorldControlSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:396
void clear_seed()
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:376
STL class.
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
WorldControl * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:122
void set_seed(::google::protobuf::uint32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/world_control.pb.h:383