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> 33 #pragma GCC system_header 36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 39 #include <sys/sysmacros.h> 57 class IGNITION_MSGS_VISIBLE
WorldControl :
public ::google::protobuf::Message {
69 static const ::google::protobuf::Descriptor* descriptor();
78 WorldControl* New(::google::protobuf::Arena* arena)
const;
79 void CopyFrom(const ::google::protobuf::Message& from);
80 void MergeFrom(const ::google::protobuf::Message& from);
84 bool IsInitialized()
const;
87 bool MergePartialFromCodedStream(
88 ::google::protobuf::io::CodedInputStream* input);
89 void SerializeWithCachedSizes(
90 ::google::protobuf::io::CodedOutputStream* output)
const;
91 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
92 bool deterministic, ::google::protobuf::uint8* output)
const;
94 return InternalSerializeWithCachedSizesToArray(
false, output);
100 void SetCachedSize(
int size)
const;
103 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
104 return _internal_metadata_.arena();
106 inline void* MaybeArenaPtr()
const {
107 return _internal_metadata_.raw_arena_ptr();
111 ::google::protobuf::Metadata GetMetadata()
const;
118 bool has_header()
const;
120 static const int kHeaderFieldNumber = 1;
121 const ::ignition::msgs::Header& header()
const;
128 static const int kPauseFieldNumber = 2;
130 void set_pause(
bool value);
134 static const int kStepFieldNumber = 3;
136 void set_step(
bool value);
139 void clear_multi_step();
140 static const int kMultiStepFieldNumber = 4;
141 ::google::protobuf::uint32 multi_step()
const;
142 void set_multi_step(::google::protobuf::uint32 value);
145 bool has_reset()
const;
147 static const int kResetFieldNumber = 5;
148 const ::ignition::msgs::WorldReset& reset()
const;
155 static const int kSeedFieldNumber = 6;
156 ::google::protobuf::uint32 seed()
const;
157 void set_seed(::google::protobuf::uint32 value);
162 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
163 bool _is_default_instance_;
167 ::google::protobuf::uint32 multi_step_;
169 ::google::protobuf::uint32 seed_;
170 mutable int _cached_size_;
175 void InitAsDefaultInstance();
183 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 188 return !_is_default_instance_ && header_ != NULL;
191 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
196 return header_ != NULL ? *header_ : *default_instance_->header_;
200 if (header_ == NULL) {
201 header_ = new ::ignition::msgs::Header;
268 return !_is_default_instance_ && reset_ != NULL;
271 if (GetArenaNoVirtual() == NULL && reset_ != NULL)
delete reset_;
276 return reset_ != NULL ? *reset_ : *default_instance_->reset_;
280 if (reset_ == NULL) {
281 reset_ = new ::ignition::msgs::WorldReset;
318 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 334 #endif // PROTOBUF_ignition_2fmsgs_2fworld_5fcontrol_2eproto__INCLUDED bool has_header() const
Definition: world_control.pb.h:187
void clear_pause()
Definition: world_control.pb.h:225
std::shared_ptr< WorldControl > WorldControlSharedPtr
Definition: world_control.pb.h:322
void set_multi_step(::google::protobuf::uint32 value)
Definition: world_control.pb.h:260
::google::protobuf::uint32 seed() const
Definition: world_control.pb.h:308
::ignition::msgs::WorldReset * release_reset()
Definition: world_control.pb.h:286
::ignition::msgs::Header * release_header()
Definition: world_control.pb.h:206
void protobuf_ShutdownFile_ignition_2fmsgs_2fworld_5fcontrol_2eproto()
void clear_step()
Definition: world_control.pb.h:239
::google::protobuf::uint32 multi_step() const
Definition: world_control.pb.h:256
WorldControl * New() const
Definition: world_control.pb.h:76
bool pause() const
Definition: world_control.pb.h:228
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: world_control.pb.h:93
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fworld_5fcontrol_2eproto()
void set_seed(::google::protobuf::uint32 value)
Definition: world_control.pb.h:312
Definition: world_reset.pb.h:56
void set_pause(bool value)
Definition: world_control.pb.h:232
void set_allocated_reset(::ignition::msgs::WorldReset *reset)
Definition: world_control.pb.h:293
::ignition::msgs::WorldReset * mutable_reset()
Definition: world_control.pb.h:278
const ::ignition::msgs::Header & header() const
Definition: world_control.pb.h:194
void protobuf_AssignDesc_ignition_2fmsgs_2fworld_5fcontrol_2eproto()
bool step() const
Definition: world_control.pb.h:242
void clear_seed()
Definition: world_control.pb.h:305
std::unique_ptr< const WorldControl > ConstWorldControlUniquePtr
Definition: world_control.pb.h:321
Definition: world_control.pb.h:57
WorldControl & operator=(const WorldControl &from)
Definition: world_control.pb.h:64
void clear_header()
Definition: world_control.pb.h:190
int GetCachedSize() const
Definition: world_control.pb.h:96
::ignition::msgs::Header * mutable_header()
Definition: world_control.pb.h:198
bool has_reset() const
Definition: world_control.pb.h:267
std::unique_ptr< WorldControl > WorldControlUniquePtr
Definition: world_control.pb.h:320
void set_allocated_header(::ignition::msgs::Header *header)
Definition: world_control.pb.h:213
void set_step(bool value)
Definition: world_control.pb.h:246
void clear_reset()
Definition: world_control.pb.h:270
void clear_multi_step()
Definition: world_control.pb.h:253
const ::ignition::msgs::WorldReset & reset() const
Definition: world_control.pb.h:274
std::shared_ptr< const WorldControl > ConstWorldControlSharedPtr
Definition: world_control.pb.h:323