4 #ifndef PROTOBUF_ignition_2fmsgs_2fworld_5fcontrol_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fworld_5fcontrol_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 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 3000000 < 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/arena.h> 23 #include <google/protobuf/arenastring.h> 24 #include <google/protobuf/generated_message_util.h> 25 #include <google/protobuf/metadata.h> 26 #include <google/protobuf/message.h> 27 #include <google/protobuf/repeated_field.h> 28 #include <google/protobuf/extension_set.h> 29 #include <google/protobuf/unknown_field_set.h> 34 #pragma GCC system_header 37 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 40 #include <sys/sysmacros.h> 58 class IGNITION_MSGS_VISIBLE
WorldControl :
public ::google::protobuf::Message {
70 static const ::google::protobuf::Descriptor* descriptor();
79 WorldControl* New(::google::protobuf::Arena* arena)
const;
80 void CopyFrom(const ::google::protobuf::Message& from);
81 void MergeFrom(const ::google::protobuf::Message& from);
85 bool IsInitialized()
const;
88 bool MergePartialFromCodedStream(
89 ::google::protobuf::io::CodedInputStream* input);
90 void SerializeWithCachedSizes(
91 ::google::protobuf::io::CodedOutputStream* output)
const;
92 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
93 bool deterministic, ::google::protobuf::uint8* output)
const;
95 return InternalSerializeWithCachedSizesToArray(
false, output);
101 void SetCachedSize(
int size)
const;
104 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
105 return _internal_metadata_.arena();
107 inline void* MaybeArenaPtr()
const {
108 return _internal_metadata_.raw_arena_ptr();
112 ::google::protobuf::Metadata GetMetadata()
const;
119 bool has_header()
const;
121 static const int kHeaderFieldNumber = 1;
122 const ::ignition::msgs::Header& header()
const;
129 static const int kPauseFieldNumber = 2;
131 void set_pause(
bool value);
135 static const int kStepFieldNumber = 3;
137 void set_step(
bool value);
140 void clear_multi_step();
141 static const int kMultiStepFieldNumber = 4;
142 ::google::protobuf::uint32 multi_step()
const;
143 void set_multi_step(::google::protobuf::uint32 value);
146 bool has_reset()
const;
148 static const int kResetFieldNumber = 5;
149 const ::ignition::msgs::WorldReset& reset()
const;
156 static const int kSeedFieldNumber = 6;
157 ::google::protobuf::uint32 seed()
const;
158 void set_seed(::google::protobuf::uint32 value);
161 bool has_run_to_sim_time()
const;
162 void clear_run_to_sim_time();
163 static const int kRunToSimTimeFieldNumber = 7;
164 const ::ignition::msgs::Time& run_to_sim_time()
const;
172 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
173 bool _is_default_instance_;
177 ::google::protobuf::uint32 multi_step_;
180 ::google::protobuf::uint32 seed_;
181 mutable int _cached_size_;
186 void InitAsDefaultInstance();
194 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 199 return !_is_default_instance_ && header_ != NULL;
202 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
207 return header_ != NULL ? *header_ : *default_instance_->header_;
211 if (header_ == NULL) {
212 header_ = new ::ignition::msgs::Header;
279 return !_is_default_instance_ && reset_ != NULL;
282 if (GetArenaNoVirtual() == NULL && reset_ != NULL)
delete reset_;
287 return reset_ != NULL ? *reset_ : *default_instance_->reset_;
291 if (reset_ == NULL) {
292 reset_ = new ::ignition::msgs::WorldReset;
331 return !_is_default_instance_ && run_to_sim_time_ != NULL;
334 if (GetArenaNoVirtual() == NULL && run_to_sim_time_ != NULL)
delete run_to_sim_time_;
335 run_to_sim_time_ = NULL;
339 return run_to_sim_time_ != NULL ? *run_to_sim_time_ : *default_instance_->run_to_sim_time_;
343 if (run_to_sim_time_ == NULL) {
344 run_to_sim_time_ = new ::ignition::msgs::Time;
347 return run_to_sim_time_;
353 run_to_sim_time_ = NULL;
357 delete run_to_sim_time_;
358 run_to_sim_time_ = run_to_sim_time;
359 if (run_to_sim_time) {
367 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 383 #endif // PROTOBUF_ignition_2fmsgs_2fworld_5fcontrol_2eproto__INCLUDED bool has_header() const
Definition: world_control.pb.h:198
void clear_pause()
Definition: world_control.pb.h:236
std::shared_ptr< WorldControl > WorldControlSharedPtr
Definition: world_control.pb.h:371
void clear_run_to_sim_time()
Definition: world_control.pb.h:333
void set_multi_step(::google::protobuf::uint32 value)
Definition: world_control.pb.h:271
::google::protobuf::uint32 seed() const
Definition: world_control.pb.h:319
::ignition::msgs::WorldReset * release_reset()
Definition: world_control.pb.h:297
::ignition::msgs::Header * release_header()
Definition: world_control.pb.h:217
void protobuf_ShutdownFile_ignition_2fmsgs_2fworld_5fcontrol_2eproto()
void clear_step()
Definition: world_control.pb.h:250
::google::protobuf::uint32 multi_step() const
Definition: world_control.pb.h:267
WorldControl * New() const
Definition: world_control.pb.h:77
void set_allocated_run_to_sim_time(::ignition::msgs::Time *run_to_sim_time)
Definition: world_control.pb.h:356
bool pause() const
Definition: world_control.pb.h:239
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: world_control.pb.h:94
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fworld_5fcontrol_2eproto()
void set_seed(::google::protobuf::uint32 value)
Definition: world_control.pb.h:323
Definition: world_reset.pb.h:56
::ignition::msgs::Time * mutable_run_to_sim_time()
Definition: world_control.pb.h:341
void set_pause(bool value)
Definition: world_control.pb.h:243
void set_allocated_reset(::ignition::msgs::WorldReset *reset)
Definition: world_control.pb.h:304
::ignition::msgs::WorldReset * mutable_reset()
Definition: world_control.pb.h:289
const ::ignition::msgs::Header & header() const
Definition: world_control.pb.h:205
void protobuf_AssignDesc_ignition_2fmsgs_2fworld_5fcontrol_2eproto()
::ignition::msgs::Time * release_run_to_sim_time()
Definition: world_control.pb.h:349
bool step() const
Definition: world_control.pb.h:253
void clear_seed()
Definition: world_control.pb.h:316
std::unique_ptr< const WorldControl > ConstWorldControlUniquePtr
Definition: world_control.pb.h:370
const ::ignition::msgs::Time & run_to_sim_time() const
Definition: world_control.pb.h:337
Definition: world_control.pb.h:58
WorldControl & operator=(const WorldControl &from)
Definition: world_control.pb.h:65
void clear_header()
Definition: world_control.pb.h:201
int GetCachedSize() const
Definition: world_control.pb.h:97
::ignition::msgs::Header * mutable_header()
Definition: world_control.pb.h:209
bool has_reset() const
Definition: world_control.pb.h:278
std::unique_ptr< WorldControl > WorldControlUniquePtr
Definition: world_control.pb.h:369
void set_allocated_header(::ignition::msgs::Header *header)
Definition: world_control.pb.h:224
void set_step(bool value)
Definition: world_control.pb.h:257
void clear_reset()
Definition: world_control.pb.h:281
void clear_multi_step()
Definition: world_control.pb.h:264
const ::ignition::msgs::WorldReset & reset() const
Definition: world_control.pb.h:285
bool has_run_to_sim_time() const
Definition: world_control.pb.h:330
std::shared_ptr< const WorldControl > ConstWorldControlSharedPtr
Definition: world_control.pb.h:372