Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/log_playback_control.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2flog_5fplayback_5fcontrol_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2flog_5fplayback_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>
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_2flog_5fplayback_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_2flog_5fplayback_5fcontrol_2eproto
61 namespace ignition {
62 namespace msgs {
63 class LogPlaybackControl;
64 class LogPlaybackControlDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern LogPlaybackControlDefaultTypeInternal _LogPlaybackControl_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::LogPlaybackControl* Arena::CreateMaybeMessage<::ignition::msgs::LogPlaybackControl>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE LogPlaybackControl : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.LogPlaybackControl) */ {
79  public:
81  virtual ~LogPlaybackControl();
82 
84 
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
90  LogPlaybackControl(LogPlaybackControl&& from) noexcept
91  : LogPlaybackControl() {
92  *this = ::std::move(from);
93  }
94 
95  inline LogPlaybackControl& operator=(LogPlaybackControl&& 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 LogPlaybackControl& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
109  return reinterpret_cast<const LogPlaybackControl*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(LogPlaybackControl* other);
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline LogPlaybackControl* New() const final {
123  return CreateMaybeMessage<LogPlaybackControl>(NULL);
124  }
125 
126  LogPlaybackControl* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<LogPlaybackControl>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const LogPlaybackControl& from);
132  void MergeFrom(const LogPlaybackControl& 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(LogPlaybackControl* 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 seek = 6;
178  bool has_seek() const;
179  void clear_seek();
180  static const int kSeekFieldNumber = 6;
181  private:
182  const ::ignition::msgs::Time& _internal_seek() const;
183  public:
184  const ::ignition::msgs::Time& seek() const;
185  ::ignition::msgs::Time* release_seek();
186  ::ignition::msgs::Time* mutable_seek();
187  void set_allocated_seek(::ignition::msgs::Time* seek);
188 
189  // sint32 multi_step = 3;
190  void clear_multi_step();
191  static const int kMultiStepFieldNumber = 3;
192  ::google::protobuf::int32 multi_step() const;
193  void set_multi_step(::google::protobuf::int32 value);
194 
195  // bool pause = 2;
196  void clear_pause();
197  static const int kPauseFieldNumber = 2;
198  bool pause() const;
199  void set_pause(bool value);
200 
201  // bool rewind = 4;
202  void clear_rewind();
203  static const int kRewindFieldNumber = 4;
204  bool rewind() const;
205  void set_rewind(bool value);
206 
207  // bool forward = 5;
208  void clear_forward();
209  static const int kForwardFieldNumber = 5;
210  bool forward() const;
211  void set_forward(bool value);
212 
213  // @@protoc_insertion_point(class_scope:ignition.msgs.LogPlaybackControl)
214  private:
215 
216  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
217  ::ignition::msgs::Header* header_;
218  ::ignition::msgs::Time* seek_;
219  ::google::protobuf::int32 multi_step_;
220  bool pause_;
221  bool rewind_;
222  bool forward_;
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 // LogPlaybackControl
236 
237 // .ignition.msgs.Header header = 1;
238 inline bool LogPlaybackControl::has_header() const {
239  return this != internal_default_instance() && header_ != NULL;
240 }
241 inline const ::ignition::msgs::Header& LogPlaybackControl::_internal_header() const {
242  return *header_;
243 }
244 inline const ::ignition::msgs::Header& LogPlaybackControl::header() const {
245  const ::ignition::msgs::Header* p = header_;
246  // @@protoc_insertion_point(field_get:ignition.msgs.LogPlaybackControl.header)
247  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
249 }
250 inline ::ignition::msgs::Header* LogPlaybackControl::release_header() {
251  // @@protoc_insertion_point(field_release:ignition.msgs.LogPlaybackControl.header)
252 
253  ::ignition::msgs::Header* temp = header_;
254  header_ = NULL;
255  return temp;
256 }
257 inline ::ignition::msgs::Header* LogPlaybackControl::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.LogPlaybackControl.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.LogPlaybackControl.header)
283 }
284 
285 // bool pause = 2;
287  pause_ = false;
288 }
289 inline bool LogPlaybackControl::pause() const {
290  // @@protoc_insertion_point(field_get:ignition.msgs.LogPlaybackControl.pause)
291  return pause_;
292 }
293 inline void LogPlaybackControl::set_pause(bool value) {
294 
295  pause_ = value;
296  // @@protoc_insertion_point(field_set:ignition.msgs.LogPlaybackControl.pause)
297 }
298 
299 // sint32 multi_step = 3;
301  multi_step_ = 0;
302 }
303 inline ::google::protobuf::int32 LogPlaybackControl::multi_step() const {
304  // @@protoc_insertion_point(field_get:ignition.msgs.LogPlaybackControl.multi_step)
305  return multi_step_;
306 }
307 inline void LogPlaybackControl::set_multi_step(::google::protobuf::int32 value) {
308 
309  multi_step_ = value;
310  // @@protoc_insertion_point(field_set:ignition.msgs.LogPlaybackControl.multi_step)
311 }
312 
313 // bool rewind = 4;
315  rewind_ = false;
316 }
317 inline bool LogPlaybackControl::rewind() const {
318  // @@protoc_insertion_point(field_get:ignition.msgs.LogPlaybackControl.rewind)
319  return rewind_;
320 }
321 inline void LogPlaybackControl::set_rewind(bool value) {
322 
323  rewind_ = value;
324  // @@protoc_insertion_point(field_set:ignition.msgs.LogPlaybackControl.rewind)
325 }
326 
327 // bool forward = 5;
329  forward_ = false;
330 }
331 inline bool LogPlaybackControl::forward() const {
332  // @@protoc_insertion_point(field_get:ignition.msgs.LogPlaybackControl.forward)
333  return forward_;
334 }
335 inline void LogPlaybackControl::set_forward(bool value) {
336 
337  forward_ = value;
338  // @@protoc_insertion_point(field_set:ignition.msgs.LogPlaybackControl.forward)
339 }
340 
341 // .ignition.msgs.Time seek = 6;
342 inline bool LogPlaybackControl::has_seek() const {
343  return this != internal_default_instance() && seek_ != NULL;
344 }
345 inline const ::ignition::msgs::Time& LogPlaybackControl::_internal_seek() const {
346  return *seek_;
347 }
348 inline const ::ignition::msgs::Time& LogPlaybackControl::seek() const {
349  const ::ignition::msgs::Time* p = seek_;
350  // @@protoc_insertion_point(field_get:ignition.msgs.LogPlaybackControl.seek)
351  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
353 }
354 inline ::ignition::msgs::Time* LogPlaybackControl::release_seek() {
355  // @@protoc_insertion_point(field_release:ignition.msgs.LogPlaybackControl.seek)
356 
357  ::ignition::msgs::Time* temp = seek_;
358  seek_ = NULL;
359  return temp;
360 }
361 inline ::ignition::msgs::Time* LogPlaybackControl::mutable_seek() {
362 
363  if (seek_ == NULL) {
364  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
365  seek_ = p;
366  }
367  // @@protoc_insertion_point(field_mutable:ignition.msgs.LogPlaybackControl.seek)
368  return seek_;
369 }
371  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
372  if (message_arena == NULL) {
373  delete reinterpret_cast< ::google::protobuf::MessageLite*>(seek_);
374  }
375  if (seek) {
376  ::google::protobuf::Arena* submessage_arena = NULL;
377  if (message_arena != submessage_arena) {
378  seek = ::google::protobuf::internal::GetOwnedMessage(
379  message_arena, seek, submessage_arena);
380  }
381 
382  } else {
383 
384  }
385  seek_ = seek;
386  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.LogPlaybackControl.seek)
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_2flog_5fplayback_5fcontrol_2eproto
bool forward() const
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:331
void set_pause(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:293
const ::ignition::msgs::Time & seek() const
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:348
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:250
void clear_pause()
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:286
void Swap(LogPlaybackControl *other)
STL class.
Definition: build/ignition-msgs8/include/ignition/msgs/time.pb.h:76
std::unique_ptr< LogPlaybackControl > LogPlaybackControlUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:393
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:266
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:49
void clear_multi_step()
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:300
IGNITION_MSGS_VISIBLE TimeDefaultTypeInternal _Time_default_instance_
void clear_rewind()
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:314
::ignition::msgs::Time * mutable_seek()
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:361
void set_multi_step(::google::protobuf::int32 value)
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:307
LogPlaybackControl * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:122
void set_rewind(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:321
::ignition::msgs::Time * release_seek()
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:354
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:238
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:51
::google::protobuf::int32 multi_step() const
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:303
std::unique_ptr< const LogPlaybackControl > ConstLogPlaybackControlUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:394
bool pause() const
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:289
static const LogPlaybackControl * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:108
bool has_seek() const
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:342
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:257
LogPlaybackControl * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:126
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:244
void clear_forward()
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:328
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const LogPlaybackControl > ConstLogPlaybackControlSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:396
void set_forward(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:335
IGNITION_MSGS_VISIBLE LogPlaybackControlDefaultTypeInternal _LogPlaybackControl_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
bool rewind() const
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:317
void set_allocated_seek(::ignition::msgs::Time *seek)
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:370
friend void swap(LogPlaybackControl &a, LogPlaybackControl &b)
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:116
STL class.
LogPlaybackControl & operator=(const LogPlaybackControl &from)
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:85
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:78
std::shared_ptr< LogPlaybackControl > LogPlaybackControlSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/log_playback_control.pb.h:395