Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2flog_5fplayback_5fcontrol_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2flog_5fplayback_5fcontrol_2eproto
9 #include <google/protobuf/stubs/common.h>
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
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.
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>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
36 #pragma GCC system_header
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #include <sys/sysmacros.h>
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2flog_5fplayback_5fcontrol_2eproto IGNITION_MSGS_VISIBLE
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[];
63 class LogPlaybackControl;
64 class LogPlaybackControlDefaultTypeInternal;
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::LogPlaybackControl* Arena::CreateMaybeMessage<::ignition::msgs::LogPlaybackControl>(Arena*);
92 *
this = ::std::move(from);
95 inline LogPlaybackControl& operator=(LogPlaybackControl&& from) noexcept {
96 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97 if (
this != &from) InternalSwap(&from);
104 static const ::google::protobuf::Descriptor* descriptor();
105 static const LogPlaybackControl& default_instance();
107 static void InitAsDefaultInstance();
112 static constexpr
int kIndexInFileMessages =
123 return CreateMaybeMessage<LogPlaybackControl>(NULL);
127 return CreateMaybeMessage<LogPlaybackControl>(arena);
129 void CopyFrom(const ::google::protobuf::Message& from)
final;
130 void MergeFrom(const ::google::protobuf::Message& from)
final;
134 bool IsInitialized() const final;
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(); }
148 void SetCachedSize(
int size)
const final;
151 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
154 inline void* MaybeArenaPtr()
const {
159 ::google::protobuf::Metadata GetMetadata() const final;
166 bool has_header() const;
168 static const
int kHeaderFieldNumber = 1;
178 bool has_seek() const;
180 static const
int kSeekFieldNumber = 6;
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);
197 static const
int kPauseFieldNumber = 2;
199 void set_pause(
bool value);
203 static const
int kRewindFieldNumber = 4;
205 void set_rewind(
bool value);
208 void clear_forward();
209 static const
int kForwardFieldNumber = 5;
210 bool forward() const;
211 void set_forward(
bool value);
216 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
219 ::
google::protobuf::int32 multi_step_;
223 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
232 #pragma GCC diagnostic push
233 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
239 return this != internal_default_instance() && header_ != NULL;
241 inline const ::ignition::msgs::Header& LogPlaybackControl::_internal_header()
const {
245 const ::ignition::msgs::Header* p = header_;
259 if (header_ == NULL) {
260 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
267 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
268 if (message_arena == NULL) {
269 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(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);
343 return this != internal_default_instance() && seek_ != NULL;
345 inline const ::ignition::msgs::Time& LogPlaybackControl::_internal_seek()
const {
349 const ::ignition::msgs::Time* p = seek_;
364 auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
371 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
372 if (message_arena == NULL) {
373 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(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);
390 #pragma GCC diagnostic pop
407 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2flog_5fplayback_5fcontrol_2eproto
bool forward() const
Definition: log_playback_control.pb.h:331
void set_pause(bool value)
Definition: log_playback_control.pb.h:293
const ::ignition::msgs::Time & seek() const
Definition: log_playback_control.pb.h:348
::ignition::msgs::Header * release_header()
Definition: log_playback_control.pb.h:250
void clear_pause()
Definition: log_playback_control.pb.h:286
void Swap(LogPlaybackControl *other)
std::unique_ptr< LogPlaybackControl > LogPlaybackControlUniquePtr
Definition: log_playback_control.pb.h:393
void set_allocated_header(::ignition::msgs::Header *header)
Definition: log_playback_control.pb.h:266
Definition: log_playback_control.pb.h:49
void clear_multi_step()
Definition: log_playback_control.pb.h:300
IGNITION_MSGS_VISIBLE TimeDefaultTypeInternal _Time_default_instance_
void clear_rewind()
Definition: log_playback_control.pb.h:314
::ignition::msgs::Time * mutable_seek()
Definition: log_playback_control.pb.h:361
void set_multi_step(::google::protobuf::int32 value)
Definition: log_playback_control.pb.h:307
LogPlaybackControl * New() const final
Definition: log_playback_control.pb.h:122
void set_rewind(bool value)
Definition: log_playback_control.pb.h:321
::ignition::msgs::Time * release_seek()
Definition: log_playback_control.pb.h:354
bool has_header() const
Definition: log_playback_control.pb.h:238
Definition: log_playback_control.pb.h:51
::google::protobuf::int32 multi_step() const
Definition: log_playback_control.pb.h:303
std::unique_ptr< const LogPlaybackControl > ConstLogPlaybackControlUniquePtr
Definition: log_playback_control.pb.h:394
bool pause() const
Definition: log_playback_control.pb.h:289
static const LogPlaybackControl * internal_default_instance()
Definition: log_playback_control.pb.h:108
bool has_seek() const
Definition: log_playback_control.pb.h:342
::ignition::msgs::Header * mutable_header()
Definition: log_playback_control.pb.h:257
LogPlaybackControl * New(::google::protobuf::Arena *arena) const final
Definition: log_playback_control.pb.h:126
const ::ignition::msgs::Header & header() const
Definition: log_playback_control.pb.h:244
void clear_forward()
Definition: log_playback_control.pb.h:328
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const LogPlaybackControl > ConstLogPlaybackControlSharedPtr
Definition: log_playback_control.pb.h:396
void set_forward(bool value)
Definition: log_playback_control.pb.h:335
IGNITION_MSGS_VISIBLE LogPlaybackControlDefaultTypeInternal _LogPlaybackControl_default_instance_
bool rewind() const
Definition: log_playback_control.pb.h:317
void set_allocated_seek(::ignition::msgs::Time *seek)
Definition: log_playback_control.pb.h:370
friend void swap(LogPlaybackControl &a, LogPlaybackControl &b)
Definition: log_playback_control.pb.h:116
void IGNITION_MSGS_VISIBLE AddDescriptors()
LogPlaybackControl & operator=(const LogPlaybackControl &from)
Definition: log_playback_control.pb.h:85
Definition: actor.pb.h:78
Definition: log_playback_control.pb.h:78
std::shared_ptr< LogPlaybackControl > LogPlaybackControlSharedPtr
Definition: log_playback_control.pb.h:395