4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2factuators_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2factuators_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
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 3014000 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #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 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2factuators_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
71 class ActuatorsDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Actuators* Arena::CreateMaybeMessage<::ignition::msgs::Actuators>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
83 class IGNITION_MSGS_VISIBLE Actuators PROTOBUF_FINAL :
84 public ::PROTOBUF_NAMESPACE_ID::Message {
92 *
this = ::std::move(from);
95 inline Actuators&
operator=(
const Actuators& from) {
99 inline Actuators&
operator=(Actuators&& from) noexcept {
100 if (GetArena() == from.GetArena()) {
101 if (
this != &from) InternalSwap(&from);
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
109 return GetDescriptor();
112 return GetMetadataStatic().descriptor;
115 return GetMetadataStatic().reflection;
120 return reinterpret_cast<const Actuators*
>(
123 static constexpr
int kIndexInFileMessages =
126 friend void swap(Actuators& a, Actuators& b) {
129 inline void Swap(Actuators* other) {
130 if (other ==
this)
return;
131 if (GetArena() == other->GetArena()) {
134 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
138 if (other ==
this)
return;
139 GOOGLE_DCHECK(GetArena() == other->GetArena());
145 inline Actuators*
New() const final {
146 return CreateMaybeMessage<Actuators>(
nullptr);
149 Actuators*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
150 return CreateMaybeMessage<Actuators>(arena);
152 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
153 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
156 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
157 bool IsInitialized() const final;
159 size_t ByteSizeLong() const final;
160 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
161 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
162 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
163 int GetCachedSize() const final {
return _cached_size_.Get(); }
166 inline void SharedCtor();
167 inline void SharedDtor();
168 void SetCachedSize(
int size)
const final;
169 void InternalSwap(Actuators* other);
170 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172 return "ignition.msgs.Actuators";
175 explicit Actuators(::PROTOBUF_NAMESPACE_ID::Arena* arena);
177 static void ArenaDtor(
void*
object);
178 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195 kPositionFieldNumber = 2,
196 kVelocityFieldNumber = 3,
197 kNormalizedFieldNumber = 4,
198 kHeaderFieldNumber = 1,
203 int _internal_position_size()
const;
207 double _internal_position(
int index)
const;
208 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
209 _internal_position()
const;
210 void _internal_add_position(
double value);
211 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
212 _internal_mutable_position();
217 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
219 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
225 int _internal_velocity_size()
const;
229 double _internal_velocity(
int index)
const;
230 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
231 _internal_velocity()
const;
232 void _internal_add_velocity(
double value);
233 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
234 _internal_mutable_velocity();
239 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
241 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
247 int _internal_normalized_size()
const;
251 double _internal_normalized(
int index)
const;
252 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
253 _internal_normalized()
const;
254 void _internal_add_normalized(
double value);
255 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
256 _internal_mutable_normalized();
261 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
263 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
269 bool _internal_has_header()
const;
272 const ::ignition::msgs::Header&
header()
const;
277 const ::ignition::msgs::Header& _internal_header()
const;
278 ::ignition::msgs::Header* _internal_mutable_header();
281 ::ignition::msgs::Header* header);
288 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
289 typedef void InternalArenaConstructable_;
290 typedef void DestructorSkippable_;
291 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > position_;
293 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > velocity_;
295 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > normalized_;
297 ::ignition::msgs::Header* header_;
298 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
299 friend struct ::TableStruct_ignition_2fmsgs_2factuators_2eproto;
307 #pragma GCC diagnostic push
308 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
313 inline bool Actuators::_internal_has_header()
const {
314 return this != internal_default_instance() && header_ !=
nullptr;
316 inline bool Actuators::has_header()
const {
317 return _internal_has_header();
319 inline const ::ignition::msgs::Header& Actuators::_internal_header()
const {
320 const ::ignition::msgs::Header* p = header_;
321 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
324 inline const ::ignition::msgs::Header& Actuators::header()
const {
326 return _internal_header();
328 inline void Actuators::unsafe_arena_set_allocated_header(
329 ::ignition::msgs::Header* header) {
330 if (GetArena() ==
nullptr) {
331 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
341 inline ::ignition::msgs::Header* Actuators::release_header() {
343 ::ignition::msgs::Header* temp = header_;
345 if (GetArena() !=
nullptr) {
346 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
350 inline ::ignition::msgs::Header* Actuators::unsafe_arena_release_header() {
353 ::ignition::msgs::Header* temp = header_;
357 inline ::ignition::msgs::Header* Actuators::_internal_mutable_header() {
359 if (header_ ==
nullptr) {
360 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
365 inline ::ignition::msgs::Header* Actuators::mutable_header() {
367 return _internal_mutable_header();
369 inline void Actuators::set_allocated_header(::ignition::msgs::Header* header) {
370 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
371 if (message_arena ==
nullptr) {
372 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
375 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
376 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
377 if (message_arena != submessage_arena) {
378 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
379 message_arena, header, submessage_arena);
390 inline int Actuators::_internal_position_size()
const {
391 return position_.size();
393 inline int Actuators::position_size()
const {
394 return _internal_position_size();
396 inline void Actuators::clear_position() {
399 inline double Actuators::_internal_position(
int index)
const {
400 return position_.Get(index);
402 inline double Actuators::position(
int index)
const {
404 return _internal_position(index);
406 inline void Actuators::set_position(
int index,
double value) {
407 position_.Set(index, value);
410 inline void Actuators::_internal_add_position(
double value) {
411 position_.Add(value);
413 inline void Actuators::add_position(
double value) {
414 _internal_add_position(value);
417 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
418 Actuators::_internal_position()
const {
421 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
422 Actuators::position()
const {
424 return _internal_position();
426 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
427 Actuators::_internal_mutable_position() {
430 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
431 Actuators::mutable_position() {
433 return _internal_mutable_position();
437 inline int Actuators::_internal_velocity_size()
const {
438 return velocity_.size();
440 inline int Actuators::velocity_size()
const {
441 return _internal_velocity_size();
443 inline void Actuators::clear_velocity() {
446 inline double Actuators::_internal_velocity(
int index)
const {
447 return velocity_.Get(index);
449 inline double Actuators::velocity(
int index)
const {
451 return _internal_velocity(index);
453 inline void Actuators::set_velocity(
int index,
double value) {
454 velocity_.Set(index, value);
457 inline void Actuators::_internal_add_velocity(
double value) {
458 velocity_.Add(value);
460 inline void Actuators::add_velocity(
double value) {
461 _internal_add_velocity(value);
464 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
465 Actuators::_internal_velocity()
const {
468 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
469 Actuators::velocity()
const {
471 return _internal_velocity();
473 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
474 Actuators::_internal_mutable_velocity() {
477 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
478 Actuators::mutable_velocity() {
480 return _internal_mutable_velocity();
484 inline int Actuators::_internal_normalized_size()
const {
485 return normalized_.size();
487 inline int Actuators::normalized_size()
const {
488 return _internal_normalized_size();
490 inline void Actuators::clear_normalized() {
493 inline double Actuators::_internal_normalized(
int index)
const {
494 return normalized_.Get(index);
496 inline double Actuators::normalized(
int index)
const {
498 return _internal_normalized(index);
500 inline void Actuators::set_normalized(
int index,
double value) {
501 normalized_.Set(index, value);
504 inline void Actuators::_internal_add_normalized(
double value) {
505 normalized_.Add(value);
507 inline void Actuators::add_normalized(
double value) {
508 _internal_add_normalized(value);
511 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
512 Actuators::_internal_normalized()
const {
515 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
516 Actuators::normalized()
const {
518 return _internal_normalized();
520 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
521 Actuators::_internal_mutable_normalized() {
524 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
525 Actuators::mutable_normalized() {
527 return _internal_mutable_normalized();
531 #pragma GCC diagnostic pop
548 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2factuators_2eproto
int normalized_size() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: actuators.pb.h:114
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_position()
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: actuators.pb.h:108
Actuators(Actuators &&from) noexcept
Definition: actuators.pb.h:90
void Swap(Actuators *other)
Definition: actuators.pb.h:129
int velocity_size() const
friend void swap(Actuators &a, Actuators &b)
Definition: actuators.pb.h:126
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const Actuators & default_instance()
double position(int index) const
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void UnsafeArenaSwap(Actuators *other)
Definition: actuators.pb.h:137
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & velocity() const
void add_normalized(double value)
void MergeFrom(const Actuators &from)
Actuators(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Actuators()
Definition: actuators.pb.h:86
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const Actuators * internal_default_instance()
Definition: actuators.pb.h:119
Actuators(const Actuators &from)
Actuators * New() const final
Definition: actuators.pb.h:145
void set_allocated_header(::ignition::msgs::Header *header)
double normalized(int index) const
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & normalized() const
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_velocity()
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_normalized()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Actuators * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: actuators.pb.h:149
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: actuators.pb.h:111
double velocity(int index) const
void add_position(double value)
void set_velocity(int index, double value)
Actuators & operator=(Actuators &&from) noexcept
Definition: actuators.pb.h:99
Actuators & operator=(const Actuators &from)
Definition: actuators.pb.h:95
void add_velocity(double value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & position() const
const ::ignition::msgs::Header & header() const
void CopyFrom(const Actuators &from)
int position_size() const
void set_position(int index, double value)
void set_normalized(int index, double value)
IGNITION_MSGS_VISIBLE ActuatorsDefaultTypeInternal _Actuators_default_instance_
std::shared_ptr< Actuators > ActuatorsSharedPtr
Definition: actuators.pb.h:536
std::shared_ptr< const Actuators > ConstActuatorsSharedPtr
Definition: actuators.pb.h:537
std::unique_ptr< Actuators > ActuatorsUniquePtr
Definition: actuators.pb.h:534
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< const Actuators > ConstActuatorsUniquePtr
Definition: actuators.pb.h:535
Definition: actor.pb.h:52
Definition: actuators.pb.h:56
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)