Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fcessna_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fcessna_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>
35 #pragma GCC system_header
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #include <sys/sysmacros.h>
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fcessna_2eproto IGNITION_MSGS_VISIBLE
51 static const ::google::protobuf::internal::ParseTableField entries[];
52 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
53 static const ::google::protobuf::internal::ParseTable schema[1];
54 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
55 static const ::google::protobuf::internal::SerializationTable serialization_table[];
56 static const ::google::protobuf::uint32 offsets[];
63 class CessnaDefaultTypeInternal;
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Cessna* Arena::CreateMaybeMessage<::ignition::msgs::Cessna>(Arena*);
77 class IGNITION_MSGS_VISIBLE
Cessna :
public ::google::protobuf::Message {
91 *
this = ::std::move(from);
94 inline Cessna& operator=(Cessna&& from) noexcept {
95 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96 if (
this != &from) InternalSwap(&from);
103 static const ::google::protobuf::Descriptor* descriptor();
104 static const Cessna& default_instance();
106 static void InitAsDefaultInstance();
108 return reinterpret_cast<const Cessna*
>(
111 static constexpr
int kIndexInFileMessages =
122 return CreateMaybeMessage<Cessna>(NULL);
125 Cessna*
New(::google::protobuf::Arena* arena)
const final {
126 return CreateMaybeMessage<Cessna>(arena);
128 void CopyFrom(const ::google::protobuf::Message& from)
final;
129 void MergeFrom(const ::google::protobuf::Message& from)
final;
130 void CopyFrom(
const Cessna& from);
131 void MergeFrom(
const Cessna& from);
133 bool IsInitialized() const final;
135 size_t ByteSizeLong() const final;
136 bool MergePartialFromCodedStream(
137 ::
google::protobuf::io::CodedInputStream* input) final;
138 void SerializeWithCachedSizes(
139 ::
google::protobuf::io::CodedOutputStream* output) const final;
140 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
141 bool deterministic, ::
google::protobuf::uint8* target) const final;
142 int GetCachedSize() const final {
return _cached_size_.Get(); }
147 void SetCachedSize(
int size)
const final;
148 void InternalSwap(
Cessna* other);
150 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
153 inline void* MaybeArenaPtr()
const {
158 ::google::protobuf::Metadata GetMetadata() const final;
165 bool has_header() const;
167 static const
int kHeaderFieldNumber = 1;
177 void clear_propeller_speed();
178 static const
int kPropellerSpeedFieldNumber = 2;
179 float propeller_speed() const;
180 void set_propeller_speed(
float value);
183 void clear_left_aileron();
184 static const
int kLeftAileronFieldNumber = 3;
185 float left_aileron() const;
186 void set_left_aileron(
float value);
189 void clear_left_flap();
190 static const
int kLeftFlapFieldNumber = 4;
191 float left_flap() const;
192 void set_left_flap(
float value);
195 void clear_right_aileron();
196 static const
int kRightAileronFieldNumber = 5;
197 float right_aileron() const;
198 void set_right_aileron(
float value);
201 void clear_right_flap();
202 static const
int kRightFlapFieldNumber = 6;
203 float right_flap() const;
204 void set_right_flap(
float value);
207 void clear_elevators();
208 static const
int kElevatorsFieldNumber = 7;
209 float elevators() const;
210 void set_elevators(
float value);
214 static const
int kRudderFieldNumber = 8;
215 float rudder() const;
216 void set_rudder(
float value);
219 void clear_cmd_propeller_speed();
220 static const
int kCmdPropellerSpeedFieldNumber = 9;
221 float cmd_propeller_speed() const;
222 void set_cmd_propeller_speed(
float value);
225 void clear_cmd_left_aileron();
226 static const
int kCmdLeftAileronFieldNumber = 10;
227 float cmd_left_aileron() const;
228 void set_cmd_left_aileron(
float value);
231 void clear_cmd_left_flap();
232 static const
int kCmdLeftFlapFieldNumber = 11;
233 float cmd_left_flap() const;
234 void set_cmd_left_flap(
float value);
237 void clear_cmd_right_aileron();
238 static const
int kCmdRightAileronFieldNumber = 12;
239 float cmd_right_aileron() const;
240 void set_cmd_right_aileron(
float value);
243 void clear_cmd_right_flap();
244 static const
int kCmdRightFlapFieldNumber = 13;
245 float cmd_right_flap() const;
246 void set_cmd_right_flap(
float value);
249 void clear_cmd_elevators();
250 static const
int kCmdElevatorsFieldNumber = 14;
251 float cmd_elevators() const;
252 void set_cmd_elevators(
float value);
255 void clear_cmd_rudder();
256 static const
int kCmdRudderFieldNumber = 15;
257 float cmd_rudder() const;
258 void set_cmd_rudder(
float value);
263 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
265 float propeller_speed_;
268 float right_aileron_;
272 float cmd_propeller_speed_;
273 float cmd_left_aileron_;
274 float cmd_left_flap_;
275 float cmd_right_aileron_;
276 float cmd_right_flap_;
277 float cmd_elevators_;
279 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
288 #pragma GCC diagnostic push
289 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
295 return this != internal_default_instance() && header_ != NULL;
297 inline const ::ignition::msgs::Header& Cessna::_internal_header()
const {
301 const ::ignition::msgs::Header* p = header_;
315 if (header_ == NULL) {
316 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
323 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
324 if (message_arena == NULL) {
325 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
328 ::google::protobuf::Arena* submessage_arena = NULL;
329 if (message_arena != submessage_arena) {
330 header = ::google::protobuf::internal::GetOwnedMessage(
331 message_arena, header, submessage_arena);
343 propeller_speed_ = 0;
347 return propeller_speed_;
351 propeller_speed_ = value;
361 return left_aileron_;
365 left_aileron_ = value;
389 return right_aileron_;
393 right_aileron_ = value;
441 cmd_propeller_speed_ = 0;
445 return cmd_propeller_speed_;
449 cmd_propeller_speed_ = value;
455 cmd_left_aileron_ = 0;
459 return cmd_left_aileron_;
463 cmd_left_aileron_ = value;
473 return cmd_left_flap_;
477 cmd_left_flap_ = value;
483 cmd_right_aileron_ = 0;
487 return cmd_right_aileron_;
491 cmd_right_aileron_ = value;
501 return cmd_right_flap_;
505 cmd_right_flap_ = value;
515 return cmd_elevators_;
519 cmd_elevators_ = value;
538 #pragma GCC diagnostic pop
555 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fcessna_2eproto
float propeller_speed() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:345
void set_cmd_propeller_speed(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:447
float elevators() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:415
void set_cmd_left_aileron(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:461
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:50
void clear_propeller_speed()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:342
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:48
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:306
Cessna * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:125
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:294
void clear_cmd_rudder()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:524
static const Cessna * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:107
float right_aileron() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:387
std::unique_ptr< const Cessna > ConstCessnaUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:542
void clear_right_flap()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:398
void clear_elevators()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:412
void set_cmd_elevators(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:517
std::shared_ptr< const Cessna > ConstCessnaSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:544
void clear_cmd_propeller_speed()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:440
void set_cmd_left_flap(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:475
void set_left_flap(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:377
float cmd_right_aileron() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:485
void clear_left_flap()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:370
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:77
void set_propeller_speed(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:349
void IGNITION_MSGS_VISIBLE AddDescriptors()
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:300
void clear_cmd_elevators()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:510
float right_flap() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:401
float rudder() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:429
void set_rudder(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:433
Cessna * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:121
float cmd_elevators() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:513
void set_cmd_rudder(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:531
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:313
void set_cmd_right_flap(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:503
float cmd_rudder() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:527
Cessna & operator=(const Cessna &from)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:84
friend void swap(Cessna &a, Cessna &b)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:115
void set_right_aileron(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:391
void set_elevators(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:419
float cmd_left_flap() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:471
IGNITION_MSGS_VISIBLE CessnaDefaultTypeInternal _Cessna_default_instance_
void set_right_flap(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:405
void clear_cmd_left_aileron()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:454
void set_cmd_right_aileron(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:489
float cmd_right_flap() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:499
float left_aileron() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:359
void clear_cmd_right_aileron()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:482
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
void set_left_aileron(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:363
float cmd_propeller_speed() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:443
void clear_left_aileron()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:356
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:322
std::unique_ptr< Cessna > CessnaUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:541
float cmd_left_aileron() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:457
void clear_rudder()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:426
float left_flap() const
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:373
void clear_right_aileron()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:384
void clear_cmd_right_flap()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:496
std::shared_ptr< Cessna > CessnaSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:543
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
void clear_cmd_left_flap()
Definition: build/ignition-msgs5/include/ignition/msgs/cessna.pb.h:468